Search found 24 matches
- Tue Jan 20, 2009 3:32 pm
- Forum: General Discussion
- Topic: Building an application around MacroScheduler?
- Replies: 4
- Views: 6975
I wrote a number of applications for a large bank in the UK a couple of years ago. I was a problem solver for a large roll out, and I used MS to extract security certificates (the problem in the testimonials section), remote into machines to audit data volumes and a number of other wee tasks. I foun...
- Mon Aug 07, 2006 9:44 am
- Forum: Technical / Scripting
- Topic: Identical code giving errors...
- Replies: 3
- Views: 5672
- Fri Aug 04, 2006 12:05 pm
- Forum: Technical / Scripting
- Topic: Identical code giving errors...
- Replies: 3
- Views: 5672
- Fri Aug 04, 2006 9:10 am
- Forum: Technical / Scripting
- Topic: Identical code giving errors...
- Replies: 3
- Views: 5672
Identical code giving errors...
Hi all, I have to say I'm scoobied with this one. I've revisited some code from a year ago, and two identical loops are giving very different results... Loop one is this: let>clear1=1 repeat>clear1 let>extcount[%clear1%]=0 let>size[%clear1%]=0 add>clear1,1 writeln>c:\datacheck\progress.txt,null,Clea...
- Mon May 08, 2006 3:21 pm
- Forum: Technical / Scripting
- Topic: INvoking Run As in XP
- Replies: 2
- Views: 4152
INvoking Run As in XP
Hello all, Quick question; has anyone had any luck invoking Run As from a command line? I need to open a control panel applet (.cpl) with elevated privileges. I know that you cannot pass the password directly, and have to enter that into a dialogue box, but I'm looking for a way to start the journey...
- Tue Mar 07, 2006 9:38 am
- Forum: Technical / Scripting
- Topic: How can I detect an inactive (grey-ed out) menu?
- Replies: 10
- Views: 12054
It will depend on how fast your window will usually open (I've had the same problem in the past). Let's say your ALT+V window pops up very quickly - you would only need a timeout of one second to spot whether nothing happened; if the button was not greyed out the window will pop up and the script co...
- Fri Feb 03, 2006 9:20 am
- Forum: General Discussion
- Topic: How to defeat Shift-Esc
- Replies: 10
- Views: 16329
Morning Dick, Fair point :) However, the users only know about Shift+Escape if they hover the mouse over the flashing cog and wait. If they have the nous to do that, they probably have the knowledge to bring up task manager and kill it that way. Take care, Ian (In Devil's Advocate mode, it would app...
- Thu Feb 02, 2006 10:31 am
- Forum: General Discussion
- Topic: How to defeat Shift-Esc
- Replies: 10
- Views: 16329
- Mon Jan 23, 2006 5:04 pm
- Forum: Beginners
- Topic: How to close window using GetWindowText
- Replies: 5
- Views: 8258
Bob, is Finished the name of the window, or the text he's looking for? If it's just the text wwo won't help (although I defer to your greater knowledge...) Things to think about; is the cursor an hourglass when the app is running? If so, you could use the WaitCursorChanged (wcc) command to test for ...
- Thu Jan 19, 2006 9:55 am
- Forum: Enhancement Suggestions
- Topic: Error trapping
- Replies: 5
- Views: 12212
Yay! The second request was a follow on from the first. At the moment, my current script is a nudge under 600 lines, and I got an error. In order to find the line that caused the error I had to step through many of those hundreds of lines to get to the nasty bit (which is a tad tedious, and even wor...
- Wed Jan 18, 2006 4:20 pm
- Forum: Enhancement Suggestions
- Topic: Error trapping
- Replies: 5
- Views: 12212
Error trapping
Morning all, I'm not sure if this has been covered, but today's coding expedition popped these suggestions into my head: Error messages give the line number of the error. It's fun and games stepping through several hundred lines of code to find the bit that fell over. If the error message had giving...
- Fri Jan 06, 2006 10:48 am
- Forum: Enhancement Suggestions
- Topic: Debugging Ideas
- Replies: 6
- Views: 11920
- Tue Dec 13, 2005 9:28 am
- Forum: Technical / Scripting
- Topic: if soundwave.wav plays then send character/test>
- Replies: 10
- Views: 12945
- Mon Dec 12, 2005 3:13 pm
- Forum: Technical / Scripting
- Topic: if soundwave.wav plays then send character/test>
- Replies: 10
- Views: 12945
The crudest way to do this would be to monitor the last access time of the wav file - but be aware that this has an accuracy of one minute...if you are trying to get a script to play a game for you it might be better to learn to play the game! Anyway, you could try this is a loop: Run>cmd.exe /c dir...
- Wed Nov 23, 2005 11:01 am
- Forum: Technical / Scripting
- Topic: Minimise all windows
- Replies: 5
- Views: 6882