zFrank Posted July 3, 2008 Share Posted July 3, 2008 i have read about Trialware Wrapper and XProTec but these are not usefull how can i run my script only for one time and never start again on any other computer? is it possible or not? [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk" Link to comment Share on other sites More sharing options...
tlokz Posted July 3, 2008 Share Posted July 3, 2008 (edited) i have read about Trialware Wrapper and XProTec but these are not usefull how can i run my script only for one time and never start again on any other computer? is it possible or not? Possiblity isn't the answer its how you wanna do it You cannot store something within the application to be used later.. it has to be stored somewhere... what u can do is have it download an ini that has [Program] NumberOfUses=0 Then wen used have it change NumberOfUses=1 then upload it and then in your application at the top have it read that after download and if it >= 1 Then Exit with a MsgBox to let them know it expired or such? Other then that I don't know Edited July 3, 2008 by tlokz Link to comment Share on other sites More sharing options...
ChrisL Posted July 3, 2008 Share Posted July 3, 2008 How about making it delete itself once ran?See FAQ http://www.autoitscript.com/forum/index.php?showtopic=37289 Question 12!Remember to keep a copy of your script though if testing! [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
zFrank Posted July 3, 2008 Author Share Posted July 3, 2008 hey! thanks man.... i was also thinking like this but was not sure. thanks again for the information. [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk" Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 3, 2008 Share Posted July 3, 2008 That's ... How do you provide the script? If you send it via email than a autodelete after work is useless cause I got the script in my mail. One possibility would be a check against a webserver or you need to specitfy the time and date or something. Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
zFrank Posted July 3, 2008 Author Share Posted July 3, 2008 @ Xenobiologist yes, you are right but checking against a webserver... i dont know about it. [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk" Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 3, 2008 Share Posted July 3, 2008 @ Xenobiologistyes, you are right but checking against a webserver... i dont know about it.Hi,easy put a file on a webserver. When your script starts, it reads the file and then you can react on that. E.g.: You've sent your script your friend MartinServerfile looks like this:Martin=0After one start you set the value to 1. Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
ChrisL Posted July 3, 2008 Share Posted July 3, 2008 Hi,easy put a file on a webserver. When your script starts, it reads the file and then you can react on that. E.g.: You've sent your script your friend MartinServerfile looks like this:Martin=0After one start you set the value to 1. MegaThe thing is you can't directly edit the ini file on the webserver, so you'd have to download it and then FTP it back up to the webserver modified.You'd have to use the FTP udfs to do it, search the Examples section if you want to use this method [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
tlokz Posted July 3, 2008 Share Posted July 3, 2008 Exactly like I said Link to comment Share on other sites More sharing options...
zFrank Posted July 3, 2008 Author Share Posted July 3, 2008 Thanks to you all guys Xenobiologist , ChrisL , tlokz for helping me. [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk" Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 3, 2008 Share Posted July 3, 2008 The thing is you can't directly edit the ini file on the webserver, so you'd have to download it and then FTP it back up to the webserver modified.You'd have to use the FTP udfs to do it, search the Examples section if you want to use this methodHi,you can let the webserver do the work. Servlet or something.Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now