Jump to content

Can one script read what line another script is on?


Recommended Posts

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.

Link to comment
Share on other sites

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 by vollyman
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...