Search found 3455 matches

by JRL
Mon Jun 13, 2005 4:45 pm
Forum: Technical / Scripting
Topic: Timeout for WaitKeyDown?
Replies: 2
Views: 4491

Thanks Bob, you're right, I can just as easily use input or ask since I must have some window open anyway. I tend to fall back on DOS when I don't see a solution. Your response also gives me more confidence that I wasn't missing something obvious regarding a way to wait for a keypress. I will submit...
by JRL
Mon Jun 13, 2005 2:29 pm
Forum: Beginners
Topic: Holding right key down
Replies: 15
Views: 30076

Try:

http://www.dependencywalker.com/

This free util lets you view the inner workings of a DLL. After you find what might appear to be the function you need, click on it and the appropriate MSDN web page will be opened for you providing the details of how to use it.

Good luck,
Dick
by JRL
Mon Jun 13, 2005 5:29 am
Forum: Technical / Scripting
Topic: Timeout for WaitKeyDown?
Replies: 2
Views: 4491

Timeout for WaitKeyDown?

Hello, Is there a way to create a timeout for WaitKeyDown? WW_TIMEOUT works for window wait functions but does not seem to effect WaiKeyDown. I would like to wait for a keypress and if it occurs perform one action and if it does not occur after a predefined time, perform a different action. For now ...
by JRL
Fri Jun 10, 2005 4:53 pm
Forum: Beginners
Topic: Making the script wait 'til a file exists
Replies: 3
Views: 6245

I think you're on the right track.

Label>WaitForFile
Wait>1
IfFileExists>[file path and name],Continue,WaitForFile
Label>Continue

Hope this helps,
Dick
by JRL
Fri Jun 10, 2005 4:46 pm
Forum: Beginners
Topic: Macro not adhering to wait commands...
Replies: 12
Views: 16026

Macrunning, If the telnet is occuring in a DOS screen you can retreive the screen info with something like this: SetFocus>WindowName* MouseMoveRelative>10,10 LClick Wait>1 Send>e Wait>1 Send>s Wait>1 Press Enter Wait>1 GetClipBoard>result MDL>%result% If it is some sort of message window you might t...
by JRL
Fri Jun 10, 2005 3:54 pm
Forum: Beginners
Topic: PowerPoint presentations
Replies: 1
Views: 4483

Luigi, Try something like this: SetFocus>PowerPoint* Label>start GetPixelColor>200,200,result If>result=0 Wait>1 Press ESC EndIf Wait>2 Goto>start This will loop continuously. To stop it you will have to press Shift + Esc. Make sure the SetFocus line is set to the name of your window I'm guessing th...
by JRL
Fri Jun 10, 2005 1:37 pm
Forum: Beginners
Topic: Macro not adhering to wait commands...
Replies: 12
Views: 16026

DaveKofo, It looks to me like you are opening an application, then answering questions within that application, if that is the case RP_WAIT=1 will not work. Having RP_WAIT set to 1 will cause the macro to pause until the application is closed. What will work is to use WaitWindowOpen and maybe a shor...
by JRL
Thu Jun 09, 2005 7:29 pm
Forum: General Discussion
Topic: Local Users Group
Replies: 12
Views: 14454

I agree, New England is a bit far for me to travel also. As for hosting in this area (Iowa and surrounding states) could be a possibility. I'll wait to see the responses to the concept.

Dick
by JRL
Thu Jun 09, 2005 7:24 pm
Forum: General Discussion
Topic: Variable window names
Replies: 2
Views: 4434

by JRL
Wed Jun 08, 2005 10:45 pm
Forum: General Discussion
Topic: Subroutine
Replies: 4
Views: 6461

You have to make a loop to increment "GetCount" Let>GetCount=0 Let>GetMax=8 Label>GetCountLoop Let>GetCount=%GetCount% + 1 Wait>1 If>%GetCount%GetCountLoop Label>continue ///The rest of your macro the "continue" label gets you out of the loop when you reach %GetMax%. Hope this helps, Dick
by JRL
Wed Jun 08, 2005 2:09 pm
Forum: Technical / Scripting
Topic: How to write comma delimited text file
Replies: 6
Views: 7873

Have you tried:

Let>comma=,
WriteLn>c:\temp\logs\test.txt,result,%value1%%comma%%value2%%comma%%filename%

Hope this helps,
Dick
by JRL
Wed Jun 08, 2005 4:35 am
Forum: Technical / Scripting
Topic: Issue With Macro Scheduler Pro v7.3.10.4 & Alt+Tab
Replies: 21
Views: 23563

This Does Not Really Help When I Create Standalone EXE's I've not experienced the problem with compiled scripts only when running macros. Also noticed that running a MS exe after running a macro clears the Alt + Tab icon left behind by the macro. My computer here at home is relatively new and clean...
by JRL
Tue Jun 07, 2005 8:41 pm
Forum: Technical / Scripting
Topic: Copy value from Excel
Replies: 3
Views: 6587

Press CTRL Send>g //WaitWindowOpen>Microsoft Excel - *.xls //You said you already have it open Release CTRL //added the next wait and changed some of your others to suit my machine //yours may be different Wait>0.5 Send>z1 Wait>0.5 Press Enter Wait>0.5 Press CTRL //Send Character/Text>C //Per Suppor...
by JRL
Tue Jun 07, 2005 7:28 pm
Forum: Technical / Scripting
Topic: Issue With Macro Scheduler Pro v7.3.10.4 & Alt+Tab
Replies: 21
Views: 23563

Mike, This is not a perfect solution but it does the job on my computer. ////Stuff Goto>exit ////More stuff Label>exit WindowAction>0,Macro Scheduler* Run Program>"C:\Program Files\MJT Net Ltd\Macro Scheduler\msched.exe" WindowAction>3,Macro Scheduler* Basically, the last lines of your macro open a ...
by JRL
Wed May 25, 2005 3:14 pm
Forum: General Discussion
Topic: designer window to navigate between 2 applications
Replies: 1
Views: 4580

You have a PM

======================Edit=======================
cron
Sign up to our newsletter for free automation tips, tricks & discounts