partially inedible Posted January 9, 2008 Share Posted January 9, 2008 (edited) Hi, I was wondering if there was a feature to dereference a pointer so that two separate scripts could share values with each other? The first script could pass Ptr($var) to the second script using the $cmdlines feature, and then the second script could read the value of $var by dereferencing that pointer. Another way I can think of is having one script write the value to a file and then have the other one read it, but that is probably a lot slower if done multiple times. I searched for "dereference" and did not find an answer in any of the threads that came up. Thanks Edited January 9, 2008 by partially inedible Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 9, 2008 Share Posted January 9, 2008 Hi,I was wondering if there was a feature to dereference a pointer so that two separate scripts could share values with each other? The first script could pass Ptr($var) to the second script using the $cmdlines feature, and then the second script could read the value of $var by dereferencing that pointer. Another way I can think of is having one script write the value to a file and then have the other one read it, but that is probably a lot slower if done multiple times.I searched for "dereference" and did not find an answer in any of the threads that came up.ThanksSearch around the forums a bit. There have been numerous discussions on passing messages between separate scripts. I don't recall anything about "dereferencing a ptr", but there are many other options. 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...
partially inedible Posted February 5, 2008 Author Share Posted February 5, 2008 (edited) Search around the forums a bit. There have been numerous discussions on passing messages between separate scripts. I don't recall anything about "dereferencing a ptr", but there are many other options. I am not trying to complain but the purpose of the post was to ask about a dereference operator or function Edited February 5, 2008 by partially inedible Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 5, 2008 Share Posted February 5, 2008 I am not trying to complain but the purpose of the post was to ask about a dereference operator or functionFree bump.No offense taken, if that's what you mean, as I know that was not a cluefull response. Just pointing out that two scripts sharing values is a common topic, with various other solutions already posted. Some of the people on this forum (obviously not me) are hard core C++ types who probably know exactly what you mean by a dereference operator, and if it can be used within the context of AutoIt. 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