Page 1 of 1

New user needs help

Posted: Thu Oct 28, 2010 11:12 am
by CarlosDenoches
I've set up the following short task.  I can't get the part with the ALT key to work.  I tried %(Y) (the step requires ALT Y) and then I've tried the Shift Keys State to turn the ALT key on and off but it is still not working.  Can you help me?;*****************************;* RoboTask Task file;* Do not edit in text editor!;***************************** [Root]ActionAfterRun=INTEGER|0Actions=FOLDERAutomat=INTEGER|-1CatID=INTEGER|0ContinueOnError=INTEGER|0ExternalName=STRING|"Task1"Hide=INTEGER|0ID=INTEGER|1290106922LogOnAsUser=INTEGER|1Name=STRING|"CreateSPMGroupsforPBT"OnErrorTaskID=INTEGER|0Priority=INTEGER|3RunOnClose=INTEGER|0RunOnStartup=INTEGER|0ToLog=INTEGER|3WriteGeneralLog=INTEGER|0[Actions]Action1=FOLDERAction2=FOLDERAction3=FOLDERAction4=FOLDERAction5=FOLDERAction6=FOLDERAction7=FOLDER[Actions\Action1]ActionID=STRING|"A_GENERAL_SENDKEYS"Enabled=INTEGER|-1Name=STRING|"Send keys to ""Super-PlayMate - Cage/Fill Bank/Fill Window"""Params=FOLDER[Actions\Action1\Params]currentwindow=STRING|"0"fixedwindow=STRING|"1"keylayout=STRING|"0"keys=STRING|"%GA"pause=STRING|"20"release=STRING|"0"sendkind=STRING|"0"wincaption=STRING|"Super-PlayMate - Cage/Fill Bank/Fill Window"[Actions\Action2]ActionID=STRING|"A_DIALOG_MESSAGE"Enabled=INTEGER|-1Name=STRING|"Show ""Enter group name with month/year (11/10)"""Params=FOLDER[Actions\Action2\Params]icon=STRING|"1"msg0=STRING|"Enter group name with month/year (11/10)"msgcount=STRING|"1"playsound=STRING|"0"showmessage=STRING|"1"[Actions\Action3]ActionID=STRING|"A_GENERAL_SENDKEYS"Enabled=INTEGER|-1Name=STRING|"Send keys to active window"Params=FOLDER[Actions\Action3\Params]currentwindow=STRING|"1"fixedwindow=STRING|"1"keylayout=STRING|"0" keys=STRING|"{TAB}11292010{TAB}0400{TAB}01022011{TAB}2359{EN TER}{ENTER}{ENTER}{ENTER}"pause=STRING|"40"release=STRING|"0"sendkind=STRING|"0"wincaption=STRING|"Notepad"[Actions\Action4]ActionID=STRING|"A_MISK_SHIFTKEYSSTATE"Enabled=INTEGER|-1Name=STRING|"Hold down keys: Alt"Params=FOLDER[Actions\Action4\Params]action=STRING|"0"alt=STRING|"1"ctrl=STRING|"0"shift=STRING|"0"win=STRING|"0"[Actions\Action5]ActionID=STRING|"A_GENERAL_SENDKEYS"Enabled=INTEGER|-1Name=STRING|"Send keys to active window"Params=FOLDER[Actions\Action5\Params]currentwindow=STRING|"1"fixedwindow=STRING|"1"keylayout=STRING|"0"keys=STRING|"Y"pause=STRING|"40"release=STRING|"0"sendkind=STRING|"0"wincaption=STRING|"Notepad"[Actions\Action6]ActionID=STRING|"A_MISK_SHIFTKEYSSTATE"Enabled=INTEGER|-1Name=STRING|"Release keys: Alt"Params=FOLDER[Actions\Action6\Params]action=STRING|"1"alt=STRING|"1"ctrl=STRING|"0"shift=STRING|"0"win=STRING|"0"[Actions\Action7]ActionID=STRING|"A_DIALOG_MESSAGE"Enabled=INTEGER|-1Name=STRING|"Show ""Open file"""Params=FOLDER[Actions\Action7\Params]icon=STRING|"1"msg0=STRING|"Open file"msgcount=STRING|"1"playsound=STRING|"0"showmessage=STRING|"1"

New user needs help

Posted: Thu Oct 28, 2010 11:50 pm
by Oleg
Usually, the combination %(Y) in the keystroke is enough .

Also I haven't understood the combination at 1-st step
I think you need two combinations Alt-G Alt-A.
In this case you should write %(G)%(A)

At last: if you show dialog box (send message) between keystrokes, the task can lose input focus of the window.

New user needs help

Posted: Fri Oct 29, 2010 7:19 am
by CarlosDenoches
Oleg,Thanks for the rapid response. Regarding your note...The software step I'm at calls for an ALT-G and then only an A.  That part is working fine.When you refer to a dialog box between keystrokes, could you tell me exactly which part you are referring to?Thanks again...

New user needs help

Posted: Mon Nov 01, 2010 9:08 am
by Oleg
See step 2.
I see some keystrokes actions after this step.