CNTL key

Discuss RoboTask here
Post Reply
nnman
Posts: 2
Joined: Sun May 27, 2018 8:19 pm

CNTL key

Post by nnman »

Hi,

I was trying to go to the last row in an Excel spreadsheet by sending the keys CNTL END. But Robotask doesn't support sending the CNTL key?
Any help is appreciated.
Thanks,
GregJ
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: CNTL key

Post by Oleg »

Hm-m...
It works. Send ^({END}) combination
also see my example below

Code: Select all

;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
 
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|1416408852
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
ExternalName=STRING|"Task57"
Hide=INTEGER|0
ID=INTEGER|351284147
LogOnAsUser=INTEGER|1
Name=STRING|"Send CTRL+END to ""Microsoft Excel""..."
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0

[Actions]
Action1=FOLDER

[Actions\Action1]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Send keys to ""Microsoft Excel"""
Params=FOLDER

[Actions\Action1\Params]
currentwindow=STRING|"0"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"^({END})"
pause=STRING|"20"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Microsoft Excel"
Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
Oleg Yershov
nnman
Posts: 2
Joined: Sun May 27, 2018 8:19 pm

Re: CNTL key

Post by nnman »

Thanks! :)
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: CNTL key

Post by Oleg »

If you want to add some combination push the button Insert a key of the action editor (send keystrokes action) and select Key Combination item
Oleg Yershov
Post Reply