July 21, 200916 yr Is it possible to add a time trial feature to a standalone app that I have generated? Mika
July 21, 200916 yr You could use a basic script to be run at start up. pseudo code for a time limit of 30 days could be: Allow User Abort [Off] If IsEmpty[gExpired] Set Field ["gExpired, Get[CurrentDate] + 30 End if If gLastOpened > Get [CurrentDate] Show dialog "System date has been changed" Close file End if Set Field gLastOpened; Get [CurrentDate] If Get [Account name] does not equal "Admin" and Get[CurrentDate] > gExpired Show dialog "The time limit has expired, and the file will close" Close file End if Fields used - all global date fields: The file will close if the system date has been changed or if it is not opened by the admin account after the date that was set in the date field gExpired. Make sure that this gExpired field is empty before the file is used. This is just a start - it can be improved to stop hacking attempts.
Create an account or sign in to comment