Highlighted

How to provide script a functioning "Check for update" Button?

Participant ,
May 20, 2020

Copy link to clipboard

Copied

How to make a button that let users to check, If we've released the newer version of the script?

 

Adobe Community Professional
Correct answer by Mathias Moehl | Adobe Community Professional

If you distribute your script via aescripts & aeplugins (see https://aescripts.com/knowledgebase/index/view/faq/how-to-become-an-author/ ), their licensing system will take care of that for you.

If you want to implement such a functionality yourself, you need to have a webserver where you store a json file, for example, which includes the version number of the current version of your script. Then the script needs to download this file and compare the version in the json file with its own version. If it is older, it needs to notify the user that an update is available.

Then when you have a new version, all you need to do it updating the json file on your server and all users are notified.

Topics

How to, Scripting

Views

517

Likes

Translate

Translate

Report

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

How to provide script a functioning "Check for update" Button?

Participant ,
May 20, 2020

Copy link to clipboard

Copied

How to make a button that let users to check, If we've released the newer version of the script?

 

Adobe Community Professional
Correct answer by Mathias Moehl | Adobe Community Professional

If you distribute your script via aescripts & aeplugins (see https://aescripts.com/knowledgebase/index/view/faq/how-to-become-an-author/ ), their licensing system will take care of that for you.

If you want to implement such a functionality yourself, you need to have a webserver where you store a json file, for example, which includes the version number of the current version of your script. Then the script needs to download this file and compare the version in the json file with its own version. If it is older, it needs to notify the user that an update is available.

Then when you have a new version, all you need to do it updating the json file on your server and all users are notified.

Topics

How to, Scripting

Views

518

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
May 20, 2020

Copy link to clipboard

Copied

Entirely up to your own versioning and establishing a connection to an external server.

 

Mylenium

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
May 22, 2020

Copy link to clipboard

Copied

If you distribute your script via aescripts & aeplugins (see https://aescripts.com/knowledgebase/index/view/faq/how-to-become-an-author/ ), their licensing system will take care of that for you.

If you want to implement such a functionality yourself, you need to have a webserver where you store a json file, for example, which includes the version number of the current version of your script. Then the script needs to download this file and compare the version in the json file with its own version. If it is older, it needs to notify the user that an update is available.

Then when you have a new version, all you need to do it updating the json file on your server and all users are notified.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...