Page 1 of 1

CNTL key

Posted: Sun May 27, 2018 8:26 pm
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

Re: CNTL key

Posted: Sun May 27, 2018 9:05 pm
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.

Re: CNTL key

Posted: Tue May 29, 2018 3:06 am
by nnman
Thanks! :)

Re: CNTL key

Posted: Tue May 29, 2018 7:37 am
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