matumbo Posted October 10, 2007 Share Posted October 10, 2007 I have read the help files but I still can't find information about this. If I create a script and creates a variable for an example, $BankAmount = 1000 Can I somehow make it to work in another script that is running at the same time? Thx in advance. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 10, 2007 Moderators Share Posted October 10, 2007 I have read the help files but I still can't find information about this.If I create a script and creates a variable for an example,$BankAmount = 1000Can I somehow make it to work in another script that is running at the same time?Thx in advance.The negative influence from the moon will shift today, lightening your mood nicely. The only problem is that you might be inclined to take on too much, which could turn out to be counter-productive! Pace yourself and you will have a better and faster rate of success! Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Xenobiologist Posted October 10, 2007 Share Posted October 10, 2007 Hi, wirte it down to a file and read it with the other script, or send the info via tcp. So long, 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...
PsaltyDS Posted October 10, 2007 Share Posted October 10, 2007 I have read the help files but I still can't find information about this.If I create a script and creates a variable for an example,$BankAmount = 1000Can I somehow make it to work in another script that is running at the same time?Thx in advance.You could send it by writing to a (possibly hidden) control in the other GUI, or since it is numeric data, via WM_COPYDATA. You could also put it to a registry key. Or use an intermediate file or TCP connection as Xenobiologist pointed out already. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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