locutus243 Posted October 11, 2005 Share Posted October 11, 2005 I have a script that opens up a number of programs when it is first run, e.g. Microsoft Excel etc... But because I am constantly testing my script and doing other things I am stopping it quite a lot. And everytime I restart it, it annoys me by asking for the title of the excel file etc... whihc are already open from the first time I started my script. Therefore I was wondering if there was a way of having a part of my script which triggers the first time that the script is used but then not each time I restart it. Or even better, if I could specify which times to use it, so every five times it would show the input box (that asks which Excel file) but not the others???? Thanks Mark P.S. If this doesn't make sense then let me know and I'll try and make things clearer, I really appreciate all your help!! Link to comment Share on other sites More sharing options...
BigDod Posted October 11, 2005 Share Posted October 11, 2005 I have a script that opens up a number of programs when it is first run, e.g. Microsoft Excel etc...But because I am constantly testing my script and doing other things I am stopping it quite a lot. And everytime I restart it, it annoys me by asking for the title of the excel file etc... whihc are already open from the first time I started my script.Therefore I was wondering if there was a way of having a part of my script which triggers the first time that the script is used but then not each time I restart it. Or even better, if I could specify which times to use it, so every five times it would show the input box (that asks which Excel file) but not the others????ThanksMarkP.S. If this doesn't make sense then let me know and I'll try and make things clearer, I really appreciate all your help!!Before starting Excel it could check to see if it is already active and if it is do not start it. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother 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