Reliably confirming a successful file save in Windows
st.king42 at ntlworld.com
Sat Jan 19 13:53:02 EST 2008
Nothing clever, started with simply "Save this stack.." and test the result,
then added a 5 second wait to see if this helped, but even this is not
reliable in testing the result (certainly not in the case of the trying to
save over a file with read-only attribute set).
--Insert script for Save menu item here
Save this stack as "Form.rev"
-- commented out as not reliable
--set the visible of field "Saving" on Card "Main" to True
--wait 5 seconds
--if the result is not empty then
--answer "Save Error" with "OK"
--answer "Save OK" with "OK"
--set the visible of field "Saving" on Card "Main" to false
I'll have a go at migrating to 2.8.1. I just installed it this afternoon.
>Post the relevant part of your script!
>Version 2.8.1 is MUCH more reliable than 2.5.1! Switch before you
>release your project, even if this means you need to invest few more
>hours to adjust your project to new and changed Revolution features.
More information about the use-livecode