I wanna transfer text that is placed into the clipboard into a variable. then be able to send it from the variable back to notepad or some other word processor. i currently am using something of the sort:
WinActivate("First Program")
WinWaitActive("First Program")
; Go to beginning of field
Send("{HOME}")
; Select all data in field and copy selected text
Send("{CTRLDOWN}a{CTRLUP}")
Send("{CTRLDOWN}c{CTRLUP}")
; Switch to Notepad
WinActivate("Untitled - Notepad")
WinWaitActive("U