I am a newbie but have put together a following script by reading and asking. The following script works for me most of the time but sometmes (randomly) it does not. Here is more detail.
SCRIPT:
Code: Select all
#Singleinstance, Force
Gui, Destroy
Gui,+AlwaysOnTop
Gui,+ToolWindow
Gui,+Border
Gui, Add, Button, y5 w60, &Copy
Gui, Show, y0
Return
#Singleinstance, Force
ButtonCopy:
#Singleinstance, Force
Send, !{Esc} ; Changed from Alt+Tab
Sleep, 20
Send ^a^c!{f4}
Winactivate, Powerscribe
Send ^{End}
^v
Return
End:
Reload
Return
WHAT IT IS USED FOR:
1) I activate the script and get a small GUI button "Copy" at the top of the desktop.
2) I also have programs Agfa and Poerscribe open.
3) I look at the study on Agfa which has a "notes" box.
4) I open the notes box and click on it.
5) I then click on the GUI "Copy" button.
6) That automatically copies all contents in the notes, closes the notes box, activates porscribe window, puts the cursor at the end of the window's contents and pastes the contents from the notes box in the powerscribe.
7) The "COPY" GUI button remains open at the top of the desktop and I repeat steps #4,5 and 6 for another study, which has different txt in the notes box.
PROBLEM:
90% of the time it works really well. However, 10% of the time it pastes in the powerscribe window something which was copied from the previous study. Most often, when I click on the "Copy" button, it pastes the correct content.
SOLUTION:
DON't have any and seeking from you.
? Role fro clipboard =
Many thanks in advance.