CNTL key

Discuss RoboTask here

CNTL key

Postby nnman » Sun May 27, 2018 8:26 pm

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
nnman
 
Posts: 2
Joined: Sun May 27, 2018 8:19 pm

Re: CNTL key

Postby Oleg » Sun May 27, 2018 9:05 pm

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
Oleg
Site Admin
 
Posts: 2351
Joined: Thu Jan 01, 1970 1:00 am

Re: CNTL key

Postby nnman » Tue May 29, 2018 3:06 am

Thanks! :)
nnman
 
Posts: 2
Joined: Sun May 27, 2018 8:19 pm

Re: CNTL key

Postby Oleg » Tue May 29, 2018 7:37 am

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
Oleg
Site Admin
 
Posts: 2351
Joined: Thu Jan 01, 1970 1:00 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 12 guests