Bert Posted May 22, 2006 Share Posted May 22, 2006 I have a script that controls an application I use. Works great. I have a second script that works with the first script that works as a toolbar. What I'm asking is when an action is in progress on the first script, and a button is clicked on the toolbar is clicked, the toolbar script will check the first script to make sure the requested action can be performed. If the action can't be performed, it will do nothing. I was thinking it could do this by seeing what line the first script was on, or am I reaching here? I'm hopeing I'm making myself clear on this. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
w0uter Posted May 22, 2006 Share Posted May 22, 2006 i would comunicate thru a registry key. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Bert Posted May 22, 2006 Author Share Posted May 22, 2006 my script doesn't work with the registry. I think what I was asking is it possible for one script to "read" where another script is, in htat what line it is on in it's process. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
w0uter Posted May 22, 2006 Share Posted May 22, 2006 have script 1 WRITE to the registry where he is have script 2 READ the registry key to know where script 1 is My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Valuater Posted May 22, 2006 Share Posted May 22, 2006 if this involves the SciTE toolbar... just have one script write to the ini in a new sectiojn... that section can be deleted or used at different times 8) Link to comment Share on other sites More sharing options...
Bert Posted May 22, 2006 Author Share Posted May 22, 2006 (edited) no, this involves my script that wiorks with ServiceDesk. I have to toolbar send keystrokes to simulate the hotsetkeys I have hot while the UNPlus script runs. I thought of a possible bug, and was thinking of a workaround. I thought if I could monitor what the UNPlus script was doing, I could make the toolbar script not send the command if the unplus script was processing a command. @Wouter: I do like the idea, and it would take some work. If it is the best way to handle it, I will go with that, but if there is a easier way.....I'm all ears. Edited May 22, 2006 by vollyman The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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