Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Script and Trial Period

New Here ,
Aug 25, 2013 Aug 25, 2013

Hello,

A friend asked me a question. Is it possible to make a script being used for a certain period of time ? Like a trial Version ?

He writes script and shares them but he would like those scripts being used only a certain duration.

I don't think it is possible but who knows...

Best Regards

TOPICS
Actions and scripting
826
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Aug 26, 2013 Aug 26, 2013

Yes, you can add a function that checks the current time and it it exceeds a set time it will bypass the script.  The only issue with this is that the scripts can't store the time the trial started, so it would have to be coded in when the script is distrubuted, or you would have to have the script create some sort of file CSV, xml, or txt file that could store that value, but the user could most likely modify that file too.  If you don't save as a binary file, it would also be extremely easy to bypass this.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Aug 26, 2013 Aug 26, 2013

Similar questions about securing a script come up from time to time. I have never seen anyone post a solution that could not be broken with very little effort.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 26, 2013 Aug 26, 2013

I think perhaps it could be done if you required an Internet connection during the trial period.  The script could retrieve the trial start time from the script writers web server. If its not found it would created the start date record for the current machine on the server and the local machine if no local recording. If the record get recorded  run if not don't run.  If found on the server compare the current date time. The question is something like that worth doing.

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 27, 2013 Aug 27, 2013
LATEST

Thank Guys for your help. This is very Helpful.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines