Jump to content
Server Maintenance This Week. ×

Time Trial on Standalone solution


This topic is 5409 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Link to comment
Share on other sites

This topic is 5409 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.