Newbie Keyboard Press problems
Moderators: Dorian (MJT support), JRL
Newbie Keyboard Press problems
I have been trialling Macro Scheduler all day but no way can I get it to recognise the Arrow keys or the Number Pad keys or the Function keys?
It works OK on Press Enter and Press Enter*3 but not on Press Down or Press NP3 or Press Page Down? I can't even fool it by going NumOff and the Press NP2 etc.
Any suggestions?
It works OK on Press Enter and Press Enter*3 but not on Press Down or Press NP3 or Press Page Down? I can't even fool it by going NumOff and the Press NP2 etc.
Any suggestions?
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
It is always helpful to provide an example of your script so we can help.
But it is important the Focus is set properly for the Press and Send and MouseMove functions to work properly
You should enter something like this:
But it is important the Focus is set properly for the Press and Send and MouseMove functions to work properly
You should enter something like this:
You should end up with something like this:SetFocus>Untitled - NotePad*
Press CTRL
Press HOME
Release CTRL
Send Character/Text>Hello World
Press ENTER
Press TAB*2
Send Character/Text>Goodbye World
Press ENTER
Send Character/Text>This is the end.
Press ENTER
Press UP*2
Send Character/Text Now is time to say
Press CTRL
Press END
Release CTRL
If you cut and paste from this forum be sure to remove all trailing spaces.Hello World
Now is time to say......................Goodbye World
This is the end.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
Many thanks Bob
I can get it to work in Notepad & Editpad by first pressing Enter on the worksheet but I still can't get it to work in my program called TK-TOOLS
Would this be because it is a Dos based program running in Windows?
When I run the script below the Cursor is supposed to Move DOWN*4 and the ENTER activates but what happens is the cursor does not move but ENTER activates OK? I think I need a Macro Scheduler that follows the actual keystrokes. BTW the Number Pad keys don't activate the Cursor either?
Mike.
// C:\PROGRAM FILES\MJT NET LTD\MACRO SCHEDULER\Hello World.scp
// Recorded on Monday, March 22, 2004, at 08:15 PM
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>314,347
Wait>0.01
SetFocus>TK-TOOLS
Press CTRL
Press HOME
Release CTRL
Press DOWN*4
Press ENTER
I can get it to work in Notepad & Editpad by first pressing Enter on the worksheet but I still can't get it to work in my program called TK-TOOLS
Would this be because it is a Dos based program running in Windows?
When I run the script below the Cursor is supposed to Move DOWN*4 and the ENTER activates but what happens is the cursor does not move but ENTER activates OK? I think I need a Macro Scheduler that follows the actual keystrokes. BTW the Number Pad keys don't activate the Cursor either?
Mike.
// C:\PROGRAM FILES\MJT NET LTD\MACRO SCHEDULER\Hello World.scp
// Recorded on Monday, March 22, 2004, at 08:15 PM
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>314,347
Wait>0.01
SetFocus>TK-TOOLS
Press CTRL
Press HOME
Release CTRL
Press DOWN*4
Press ENTER
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Have you tried to insert some Wait> commands, and make the Down keys discrete, like this:
Press CTRL
Wait>1
Press HOME
Wait>1
Release CTRL
Wait>1
Press DOWN
Wait>1
Press DOWN
Wait>1
Press DOWN
Wait>1
Press DOWN
Wait>1
Press ENTER
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Thanks, still looking for clues. Wrong answer, though. I have no problems using those commands in other DOS programs running in Windows, was hoping that Full Screen might make a difference.......
Hmmmm, someone will come up with a solution......hang in there.....
Hmmmm, someone will come up with a solution......hang in there.....
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!