Can anyone see what is wrong with this bit of coding. The text copied into Open office is refusing to be selected with a CTRL A. Unfortunately I am also having trouble with running the program with the debugger. It seems to focus on the script window and copy the text into it.
Robin
SetFocus>Pegasus Mail - [Folders*
remark>copy selected text
Press CTRL
send>c
Release CTRL
Run Program>D:\Program Files\OpenOffice.org1.1.2\program\soffice.exe
WaitWindowOpen>Untitled1*
setfocus>Untitled1*
Remark>copy into OOo
Press ALT
send>EP
Release ALT
Press CTRL
send>A
Release CTRL
Remark>apply default format
Press ALT
send>OD
Release ALT
CTRL A apparently not working
Moderators: Dorian (MJT support), JRL
Try this version:
SetFocus>Pegasus Mail - [Folders*
remark>copy selected text
Press CTRL
send>c
Release CTRL
Run Program>D:\Program Files\OpenOffice.org1.1.2\program\soffice.exe
WaitWindowOpen>Untitled1*
setfocus>Untitled1*
Remark>copy into OOo
Press ALT
send>ep
Release ALT
Press CTRL
send>a
Release CTRL
Remark>apply default format
Press ALT
send>od
Release ALT
SetFocus>Pegasus Mail - [Folders*
remark>copy selected text
Press CTRL
send>c
Release CTRL
Run Program>D:\Program Files\OpenOffice.org1.1.2\program\soffice.exe
WaitWindowOpen>Untitled1*
setfocus>Untitled1*
Remark>copy into OOo
Press ALT
send>ep
Release ALT
Press CTRL
send>a
Release CTRL
Remark>apply default format
Press ALT
send>od
Release ALT
MJT Net Support
[email protected]
[email protected]
The reduction to lower case allowed it to work.
This part of the code is still not working. I wrote a macro in oOO to remove the short lines. It is called by F4. When I run the following manually it does work. Macro scheduler does run my macro properly but will not accept the command to go to the top of the doc. Do you suggest that I write the oOO commands direct into the macro scheduler macro rather than try to run a macro from within MSch.
Robin
Remark>run macro to Remove short lines
Press F4
Remark>go to top of doc
Press CTRL
Press Home
Release CTRL
release Home
This part of the code is still not working. I wrote a macro in oOO to remove the short lines. It is called by F4. When I run the following manually it does work. Macro scheduler does run my macro properly but will not accept the command to go to the top of the doc. Do you suggest that I write the oOO commands direct into the macro scheduler macro rather than try to run a macro from within MSch.
Robin
Remark>run macro to Remove short lines
Press F4
Remark>go to top of doc
Press CTRL
Press Home
Release CTRL
release Home