Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance force
- ;-----------------------------------------
- ;functions
- ;-----------------------------------------
- copyAllAndReturn()
- {
- send ^a^c
- return RegExReplace(Clipboard, "\R", "`n")
- }
- goToWERSSelectBar() ; assumes WERS is connected, in focus, and on a CR screen
- {
- send {home}+{tab}
- }
- ;-----------------------------------------
- ;hotkey functions
- ;-----------------------------------------
- !c::send_test()
- !j::extract_data()
- !h::goToWERSSelectBar()
- send_test()
- {
- send This is good {enter}
- }
- extract_data() ; assumes WERS is connected, in focus, and on a CR front screen
- {
- SEP = `n--------------------------------------------------------------------------`n
- fullExtract :=
- goToWERSSelectBar()
- send 1{enter}
- curData := copyAllAndReturn()
- fullExtract=%fullExtract%%curData%%SEP%
- send {enter}
- curData := copyAllAndReturn()
- fullExtract=%fullExtract%%curData%%SEP%
- Clipboard := fullExtract
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement