Clipboard content variable

Discuss RoboTask here

Clipboard content variable

Postby tcarvalho » Wed Aug 26, 2020 2:28 pm

I'm having an issue when using the screenshot step related to the "clipboard content" variable. The task is grabbing a ticket number from a spreadsheet formatted as such "xYYYYYY" where x can be a letter and y is always numbers. I am then taking 2 unique screenshots and wanting to use that unique ticket number as the start of the image name. However for some reason I keep getting the following error in robotask: "Can't save image to file 'file path'. The filename, directory name, or volume label syntax is incorrect" I see in the error log it shows the clipboard content as text for the file name (so the unique ticket number) and then the second half of the name, but robotask is still generating this error.

Screenshot step settings:
I am using the screen region instead of full screen, the "save screenshot to a file" box is selected, the picture format is set to PNG, and the file name field contains the file path (folder on the desktop) and then the {ClipboardContent} variable with a descriptor of the image. Save screenshot to system clipboard is not checked.

Any troubleshooting recommendations?


For reference I am on version 8.0.0.1016, and I feel like this worked previously, but I could be mistaken.

Thanks for any assistance!
tcarvalho
 
Posts: 17
Joined: Mon Feb 24, 2020 5:46 pm

Re: Clipboard content variable

Postby Oleg » Wed Aug 26, 2020 8:57 pm

"Can't save image to file 'file path'. The filename, directory name, or volume label syntax is incorrect"

This mean that the file path is incorrect and system can not create/write to a file.

Could I see your task?
I can not say something more without your task...
Oleg Yershov
Oleg
Site Admin
 
Posts: 2596
Joined: Thu Jan 01, 1970 1:00 am

Re: Clipboard content variable

Postby tcarvalho » Wed Aug 26, 2020 9:18 pm

Please see code for the task. Step/action 32 is where the task is currently failing.
Code: Select all
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
 
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|0
CatID=INTEGER|0
Comment=STRINGLIST
ContinueOnError=INTEGER|2
DoNotStopWhenShutdown=INTEGER|0
Events=FOLDER
ExternalName=STRING|"Task139"
Hide=INTEGER|0
ID=INTEGER|1961675743
LogOnAsUser=INTEGER|1
Name=STRING|"HSN Claim Scrub (imported)"
OnErrorTaskID=INTEGER|1028615226
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0

[Actions]
Action1=FOLDER
Action10=FOLDER
Action11=FOLDER
Action12=FOLDER
Action13=FOLDER
Action14=FOLDER
Action15=FOLDER
Action16=FOLDER
Action17=FOLDER
Action18=FOLDER
Action19=FOLDER
Action2=FOLDER
Action20=FOLDER
Action21=FOLDER
Action22=FOLDER
Action23=FOLDER
Action24=FOLDER
Action25=FOLDER
Action26=FOLDER
Action27=FOLDER
Action28=FOLDER
Action29=FOLDER
Action3=FOLDER
Action30=FOLDER
Action31=FOLDER
Action32=FOLDER
Action33=FOLDER
Action34=FOLDER
Action35=FOLDER
Action36=FOLDER
Action37=FOLDER
Action38=FOLDER
Action39=FOLDER
Action4=FOLDER
Action40=FOLDER
Action41=FOLDER
Action42=FOLDER
Action43=FOLDER
Action44=FOLDER
Action45=FOLDER
Action46=FOLDER
Action47=FOLDER
Action48=FOLDER
Action49=FOLDER
Action5=FOLDER
Action50=FOLDER
Action6=FOLDER
Action7=FOLDER
Action8=FOLDER
Action9=FOLDER

[Actions\Action1]
ActionID=STRING|"A_WINDOW_COMMAND"
Enabled=INTEGER|-1
Name=STRING|"Focus window ""GL-Archive - Excel"""
Params=FOLDER

[Actions\Action1\Params]
action=STRING|"0"
caption=STRING|"0"
child=STRING|"0"
class=STRING|"1"
classexact=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
hidden=STRING|"1"
processall=STRING|"1"
wincaption=STRING|"GL-Archive - Excel"
winclass=STRING|"XLMAIN"

[Actions\Action10]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (full screen)"
Params=FOLDER

[Actions\Action10\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$00BB8D62"
color0001=STRING|"$0000FFFF"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"2"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
tolerance0001=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"21"
x0001=STRING|"182"
y0000=STRING|"33"
y0001=STRING|"112"

[Actions\Action11]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action11\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action12]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Search Criteria"
Params=FOLDER

[Actions\Action12\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"""%(V){DELAY 500}c"""
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action13]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (full screen)"
Params=FOLDER

[Actions\Action13\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$005050C7"
color0001=STRING|"$00BB8D62"
color0002=STRING|"$00000000"
color0003=STRING|"$00F0CA94"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"4"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
tolerance0001=STRING|"16"
tolerance0002=STRING|"16"
tolerance0003=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"1188"
x0001=STRING|"712"
x0002=STRING|"930"
x0003=STRING|"1168"
y0000=STRING|"298"
y0001=STRING|"290"
y0002=STRING|"338"
y0003=STRING|"619"

[Actions\Action14]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action14\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action15]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Tab x2"
Params=FOLDER

[Actions\Action15\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"{TAB}{TAB}"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action16]
ActionID=STRING|"A_CLIPBOARD_PASTE"
Enabled=INTEGER|-1
Name=STRING|"Paste"
Params=FOLDER

[Actions\Action16\Params]
mode=STRING|"1"

[Actions\Action17]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Enter"
Params=FOLDER

[Actions\Action17\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"{ENTER}"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action18]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action18\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action19]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Enter"
Params=FOLDER

[Actions\Action19\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"{ENTER}"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action2]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (full screen)"
Params=FOLDER

[Actions\Action2\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$00467321"
color0001=STRING|"$00CEC7FF"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"2"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
tolerance0001=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"12"
x0001=STRING|"1107"
y0000=STRING|"16"
y0001=STRING|"87"

[Actions\Action20]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 3 sec"
Params=FOLDER

[Actions\Action20\Params]
delay=STRING|"3"
dimension=STRING|"1"

[Actions\Action21]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Escape x2"
Params=FOLDER

[Actions\Action21\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"""{ESCAPE}{DELAY 500}{ESCAPE}"""
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action22]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (full screen)"
Params=FOLDER

[Actions\Action22\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$0000FFFF"
color0001=STRING|"$00F0CA94"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"2"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
tolerance0001=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"47"
x0001=STRING|"492"
y0000=STRING|"111"
y0001=STRING|"249"

[Actions\Action23]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action23\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action24]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Charges"
Params=FOLDER

[Actions\Action24\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"%(R)"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action25]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (Checkbox T1015)"
Params=FOLDER

[Actions\Action25\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$00000000"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"1"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"81"
y0000=STRING|"503"

[Actions\Action26]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action26\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action27]
ActionID=STRING|"A_MOUSE_MOVE"
Enabled=INTEGER|-1
Name=STRING|"T1015"
Params=FOLDER

[Actions\Action27\Params]
dx=STRING|"83"
dy=STRING|"500"
mode=STRING|"0"

[Actions\Action28]
ActionID=STRING|"A_MOUSE_CLICK"
Enabled=INTEGER|-1
Name=STRING|"Click left button"
Params=FOLDER

[Actions\Action28\Params]
action=STRING|"0"
button=STRING|"0"

[Actions\Action29]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action29\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action3]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action3\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action30]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Claims"
Params=FOLDER

[Actions\Action30\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"%(L)"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action31]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action31\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action32]
ActionID=STRING|"A_SCR_SCREEN"
Enabled=INTEGER|-1
Name=STRING|"Remit date Screenshot"
Params=FOLDER

[Actions\Action32\Params]
captureregion=STRING|"1"
filename=STRING|"C:\Users\Claims\Desktop\HSN Images\{ClipBoardContent}Remit.jpg"
format=STRING|"2"
height=STRING|"107"
left=STRING|"19"
monitor=STRING|"0"
savetoclipboard=STRING|"0"
savetofile=STRING|"1"
top=STRING|"458"
useprimary=STRING|"1"
width=STRING|"488"

[Actions\Action33]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action33\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action34]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Visit Info"
Params=FOLDER

[Actions\Action34\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"%(I)"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action35]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action35\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action36]
ActionID=STRING|"A_SCR_SCREEN"
Enabled=INTEGER|-1
Name=STRING|"Insurance Carrier Screenshot"
Params=FOLDER

[Actions\Action36\Params]
captureregion=STRING|"1"
filename=STRING|"C:\Users\Claims\Desktop\HSN Images\{ClipBoardContent} Insurance.bmp"
format=STRING|"2"
height=STRING|"79"
left=STRING|"294"
monitor=STRING|"0"
savetoclipboard=STRING|"0"
savetofile=STRING|"1"
top=STRING|"290"
useprimary=STRING|"1"
width=STRING|"292"

[Actions\Action37]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action37\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action38]
ActionID=STRING|"A_MOUSE_MOVE"
Enabled=INTEGER|-1
Name=STRING|"OK"
Params=FOLDER

[Actions\Action38\Params]
dx=STRING|"482"
dy=STRING|"660"
mode=STRING|"0"

[Actions\Action39]
ActionID=STRING|"A_MOUSE_CLICK"
Enabled=INTEGER|-1
Name=STRING|"Click left button"
Params=FOLDER

[Actions\Action39\Params]
action=STRING|"0"
button=STRING|"0"

[Actions\Action4]
ActionID=STRING|"A_MOUSE_MOVE"
Enabled=INTEGER|-1
Name=STRING|"A2 cell - Ticket Number"
Params=FOLDER

[Actions\Action4\Params]
dx=STRING|"56"
dy=STRING|"434"
mode=STRING|"0"

[Actions\Action40]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action40\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action41]
ActionID=STRING|"A_WINDOW_COMMAND"
Enabled=INTEGER|-1
Name=STRING|"Focus window ""GL-Archive - Excel"""
Params=FOLDER

[Actions\Action41\Params]
action=STRING|"0"
caption=STRING|"0"
child=STRING|"0"
class=STRING|"1"
classexact=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
hidden=STRING|"1"
processall=STRING|"1"
wincaption=STRING|"GL-Archive - Excel"
winclass=STRING|"XLMAIN"

[Actions\Action42]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (full screen)"
Params=FOLDER

[Actions\Action42\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$00467321"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"1"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"12"
y0000=STRING|"16"

[Actions\Action43]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action43\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action44]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Hide Row / Save"
Params=FOLDER

[Actions\Action44\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"""^(9){DELAY 1000}^(S)"""
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action45]
ActionID=STRING|"A_VARIABLES_INCREMENT"
Enabled=INTEGER|-1
Name=STRING|"Increment variable ""COUNTER"""
Params=FOLDER

[Actions\Action45\Params]
incement=STRING|"1"
vaiable=STRING|"COUNTER"

[Actions\Action46]
ActionID=STRING|"A_FLOW_IF"
Enabled=INTEGER|-1
Name=STRING|"If Then"
Params=FOLDER

[Actions\Action46\Params]
case=STRING|"0"
connection=STRING|"0"
count=STRING|"1"
operator=STRING|"0"
type=STRING|"1"
value1=STRING|"{COUNTER}"
value2=STRING|"{QUANTITY}"

[Actions\Action47]
ActionID=STRING|"A_TASKS_DISABLE"
Enabled=INTEGER|-1
Name=STRING|"Disable Task ""HSN Claim Scrub"""
Params=FOLDER

[Actions\Action47\Params]
taskid=STRING|"1961675743"

[Actions\Action48]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""COUNTER"" with value ""0"""
Params=FOLDER

[Actions\Action48\Params]
expand=STRING|"0"
varname=STRING|"COUNTER"
varvalue=STRING|"0"

[Actions\Action49]
ActionID=STRING|"A_INET_SENDMAIL"
Enabled=INTEGER|-1
Name=STRING|"Send Email"
Params=FOLDER

[Actions\Action49\Params]
attachcount=STRING|"0"
auth=STRING|"1"
charset=STRING|"iso-8859-1"
from=STRING|"robotask8@gmail.com"
host=STRING|"smtp.gmail.com"
html=STRING|"0"
msg0=STRING|"Script Complete"
msgcount=STRING|"1"
password=STRING|"29509400413830942140247423831512394"
port=STRING|"587"
priority=STRING|"0"
receipt=STRING|"0"
SSL=STRING|"2"
subject=STRING|"HSN Scrub Automation"
to=STRING|"tcarvalho@synergybilling.com"
user=STRING|"robotask8@gmail.com"
xmailer=STRING|"RoboTask"

[Actions\Action5]
ActionID=STRING|"A_MOUSE_CLICK"
Enabled=INTEGER|-1
Name=STRING|"Click left button"
Params=FOLDER

[Actions\Action5\Params]
action=STRING|"0"
button=STRING|"0"

[Actions\Action50]
ActionID=STRING|"A_FLOW_ENDIF"
Enabled=INTEGER|-1
Name=STRING|"End If"

[Actions\Action6]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 1 sec"
Params=FOLDER

[Actions\Action6\Params]
delay=STRING|"1"
dimension=STRING|"1"

[Actions\Action7]
ActionID=STRING|"A_CLIPBOARD_COPY"
Enabled=INTEGER|-1
Name=STRING|"Copy"
Params=FOLDER

[Actions\Action7\Params]
mode=STRING|"1"

[Actions\Action8]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 1 sec"
Params=FOLDER

[Actions\Action8\Params]
delay=STRING|"1"
dimension=STRING|"1"

[Actions\Action9]
ActionID=STRING|"A_WINDOW_COMMAND"
Enabled=INTEGER|-1
Name=STRING|"Focus window ""Centricity - Citrix Receiver"""
Params=FOLDER

[Actions\Action9\Params]
action=STRING|"0"
caption=STRING|"1"
child=STRING|"0"
class=STRING|"0"
classexact=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
hidden=STRING|"1"
processall=STRING|"1"
wincaption=STRING|"Centricity - Citrix Receiver"
winclass=STRING|"wMFService000E03DA004"

[Events]
Event1=FOLDER

[Events\Event1]
Enabled=INTEGER|-1
EventID=STRING|"E_GENERAL_CYCLIC"
Name=STRING|"Cyclic (every 5 sec)"
Params=FOLDER
UniqueID=INTEGER|-1191754166

[Events\Event1\Params]
interval=STRING|"5"
notsatrtatactivation=STRING|"0"

tcarvalho
 
Posts: 17
Joined: Mon Feb 24, 2020 5:46 pm

Re: Clipboard content variable

Postby tcarvalho » Wed Aug 26, 2020 10:38 pm

Also for additional resource. The exact error message is as follows

E: 8/26/2020 9:14:48 AM: Can't save image to file "C:\Users\Claims\Desktop\HSN Images\B123239
E: 8/26/2020 9:14:48 AM: Remit.jpg"
E: 8/26/2020 9:14:48 AM: Cannot create file "C:\Users\Claims\Desktop\HSN Images\B123239
E: 8/26/2020 9:14:48 AM: Remit.jpg". The filename, directory name, or volume label syntax is incorrect
E: 8/26/2020 9:14:48 AM: An error occurred. Step #32 (Remit date Screenshot).
E: 8/26/2020 9:14:48 AM: Task execution is aborted
tcarvalho
 
Posts: 17
Joined: Mon Feb 24, 2020 5:46 pm

Re: Clipboard content variable

Postby Oleg » Thu Aug 27, 2020 9:39 am

look at the task log:
E: 8/26/2020 9:14:48 AM: Can't save image to file "C:\Users\Claims\Desktop\HSN Images\B123239
E: 8/26/2020 9:14:48 AM: Remit.jpg"

I see line break between B123239 and Remit.jpg
Thus the file name
Code: Select all
C:\Users\Claims\Desktop\HSN Images\B123239
Remit.jpg

Is invalid

You have to remove End-of-line symbols from clipboard content
Please note that Excel always copies the cell contents with End-of-Line symbols (#13#10)
Put STR Trim action to remove symbols and put it in into clipboard again
See steps #32 and #33 at correted task
Code: Select all
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
 
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|0
CatID=INTEGER|1163085779
Comment=STRINGLIST
ContinueOnError=INTEGER|2
DoNotStopWhenShutdown=INTEGER|0
Events=FOLDER
ExternalName=STRING|"Task1326"
Hide=INTEGER|0
ID=INTEGER|1961675743
LogOnAsUser=INTEGER|1
Name=STRING|"HSN Claim Scrub (imported)"
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0

[Actions]
Action1=FOLDER
Action10=FOLDER
Action11=FOLDER
Action12=FOLDER
Action13=FOLDER
Action14=FOLDER
Action15=FOLDER
Action16=FOLDER
Action17=FOLDER
Action18=FOLDER
Action19=FOLDER
Action2=FOLDER
Action20=FOLDER
Action21=FOLDER
Action22=FOLDER
Action23=FOLDER
Action24=FOLDER
Action25=FOLDER
Action26=FOLDER
Action27=FOLDER
Action28=FOLDER
Action29=FOLDER
Action3=FOLDER
Action30=FOLDER
Action31=FOLDER
Action32=FOLDER
Action33=FOLDER
Action34=FOLDER
Action35=FOLDER
Action36=FOLDER
Action37=FOLDER
Action38=FOLDER
Action39=FOLDER
Action4=FOLDER
Action40=FOLDER
Action41=FOLDER
Action42=FOLDER
Action43=FOLDER
Action44=FOLDER
Action45=FOLDER
Action46=FOLDER
Action47=FOLDER
Action48=FOLDER
Action49=FOLDER
Action5=FOLDER
Action50=FOLDER
Action51=FOLDER
Action52=FOLDER
Action6=FOLDER
Action7=FOLDER
Action8=FOLDER
Action9=FOLDER

[Actions\Action1]
ActionID=STRING|"A_WINDOW_COMMAND"
Enabled=INTEGER|-1
Name=STRING|"Focus window ""GL-Archive - Excel"""
Params=FOLDER

[Actions\Action1\Params]
action=STRING|"0"
caption=STRING|"0"
child=STRING|"0"
class=STRING|"1"
classexact=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
hidden=STRING|"1"
processall=STRING|"1"
wincaption=STRING|"GL-Archive - Excel"
winclass=STRING|"XLMAIN"

[Actions\Action10]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (full screen)"
Params=FOLDER

[Actions\Action10\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$00BB8D62"
color0001=STRING|"$0000FFFF"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"2"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
tolerance0001=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"21"
x0001=STRING|"182"
y0000=STRING|"33"
y0001=STRING|"112"

[Actions\Action11]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action11\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action12]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Search Criteria"
Params=FOLDER

[Actions\Action12\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"""%(V){DELAY 500}c"""
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action13]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (full screen)"
Params=FOLDER

[Actions\Action13\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$005050C7"
color0001=STRING|"$00BB8D62"
color0002=STRING|"$00000000"
color0003=STRING|"$00F0CA94"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"4"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
tolerance0001=STRING|"16"
tolerance0002=STRING|"16"
tolerance0003=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"1188"
x0001=STRING|"712"
x0002=STRING|"930"
x0003=STRING|"1168"
y0000=STRING|"298"
y0001=STRING|"290"
y0002=STRING|"338"
y0003=STRING|"619"

[Actions\Action14]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action14\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action15]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Tab x2"
Params=FOLDER

[Actions\Action15\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"{TAB}{TAB}"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action16]
ActionID=STRING|"A_CLIPBOARD_PASTE"
Enabled=INTEGER|-1
Name=STRING|"Paste"
Params=FOLDER

[Actions\Action16\Params]
mode=STRING|"1"

[Actions\Action17]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Enter"
Params=FOLDER

[Actions\Action17\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"{ENTER}"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action18]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action18\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action19]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Enter"
Params=FOLDER

[Actions\Action19\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"{ENTER}"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action2]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (full screen)"
Params=FOLDER

[Actions\Action2\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$00467321"
color0001=STRING|"$00CEC7FF"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"2"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
tolerance0001=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"12"
x0001=STRING|"1107"
y0000=STRING|"16"
y0001=STRING|"87"

[Actions\Action20]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 3 sec"
Params=FOLDER

[Actions\Action20\Params]
delay=STRING|"3"
dimension=STRING|"1"

[Actions\Action21]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Escape x2"
Params=FOLDER

[Actions\Action21\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"""{ESCAPE}{DELAY 500}{ESCAPE}"""
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action22]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (full screen)"
Params=FOLDER

[Actions\Action22\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$0000FFFF"
color0001=STRING|"$00F0CA94"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"2"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
tolerance0001=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"47"
x0001=STRING|"492"
y0000=STRING|"111"
y0001=STRING|"249"

[Actions\Action23]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action23\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action24]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Charges"
Params=FOLDER

[Actions\Action24\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"%(R)"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action25]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (Checkbox T1015)"
Params=FOLDER

[Actions\Action25\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$00000000"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"1"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"81"
y0000=STRING|"503"

[Actions\Action26]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action26\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action27]
ActionID=STRING|"A_MOUSE_MOVE"
Enabled=INTEGER|-1
Name=STRING|"T1015"
Params=FOLDER

[Actions\Action27\Params]
dx=STRING|"83"
dy=STRING|"500"
mode=STRING|"0"

[Actions\Action28]
ActionID=STRING|"A_MOUSE_CLICK"
Enabled=INTEGER|-1
Name=STRING|"Click left button"
Params=FOLDER

[Actions\Action28\Params]
action=STRING|"0"
button=STRING|"0"

[Actions\Action29]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action29\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action3]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action3\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action30]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Claims"
Params=FOLDER

[Actions\Action30\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"%(L)"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action31]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action31\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action32]
ActionID=STRING|"A_STR_TRIM"
Enabled=INTEGER|-1
Name=STRING|"STR Trim"
Params=FOLDER

[Actions\Action32\Params]
custom=STRING|"0"
eol=STRING|"1"
lead=STRING|"1"
source=STRING|"{ClipBoardContent}"
spaces=STRING|"1"
tabs=STRING|"1"
trailing=STRING|"1"
variable=STRING|"MyCode"

[Actions\Action33]
ActionID=STRING|"A_CLIPBOARD_PUT"
Enabled=INTEGER|-1
Name=STRING|"Put Text"
Params=FOLDER

[Actions\Action33\Params]
line0=STRING|"{MyCode}"
linecount=STRING|"1"
sourcetext=STRING|"1"

[Actions\Action34]
ActionID=STRING|"A_SCR_SCREEN"
Enabled=INTEGER|-1
Name=STRING|"Remit date Screenshot"
Params=FOLDER

[Actions\Action34\Params]
captureregion=STRING|"1"
filename=STRING|"C:\Users\Claims\Desktop\HSN Images\{ClipBoardContent}Remit.jpg"
format=STRING|"2"
height=STRING|"107"
left=STRING|"19"
monitor=STRING|"0"
savetoclipboard=STRING|"0"
savetofile=STRING|"1"
top=STRING|"458"
useprimary=STRING|"1"
width=STRING|"488"

[Actions\Action35]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action35\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action36]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Visit Info"
Params=FOLDER

[Actions\Action36\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"%(I)"
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action37]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action37\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action38]
ActionID=STRING|"A_SCR_SCREEN"
Enabled=INTEGER|-1
Name=STRING|"Insurance Carrier Screenshot"
Params=FOLDER

[Actions\Action38\Params]
captureregion=STRING|"1"
filename=STRING|"C:\Users\Claims\Desktop\HSN Images\{ClipBoardContent} Insurance.bmp"
format=STRING|"2"
height=STRING|"79"
left=STRING|"294"
monitor=STRING|"0"
savetoclipboard=STRING|"0"
savetofile=STRING|"1"
top=STRING|"290"
useprimary=STRING|"1"
width=STRING|"292"

[Actions\Action39]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action39\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action4]
ActionID=STRING|"A_MOUSE_MOVE"
Enabled=INTEGER|-1
Name=STRING|"A2 cell - Ticket Number"
Params=FOLDER

[Actions\Action4\Params]
dx=STRING|"56"
dy=STRING|"434"
mode=STRING|"0"

[Actions\Action40]
ActionID=STRING|"A_MOUSE_MOVE"
Enabled=INTEGER|-1
Name=STRING|"OK"
Params=FOLDER

[Actions\Action40\Params]
dx=STRING|"482"
dy=STRING|"660"
mode=STRING|"0"

[Actions\Action41]
ActionID=STRING|"A_MOUSE_CLICK"
Enabled=INTEGER|-1
Name=STRING|"Click left button"
Params=FOLDER

[Actions\Action41\Params]
action=STRING|"0"
button=STRING|"0"

[Actions\Action42]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action42\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action43]
ActionID=STRING|"A_WINDOW_COMMAND"
Enabled=INTEGER|-1
Name=STRING|"Focus window ""GL-Archive - Excel"""
Params=FOLDER

[Actions\Action43\Params]
action=STRING|"0"
caption=STRING|"0"
child=STRING|"0"
class=STRING|"1"
classexact=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
hidden=STRING|"1"
processall=STRING|"1"
wincaption=STRING|"GL-Archive - Excel"
winclass=STRING|"XLMAIN"

[Actions\Action44]
ActionID=STRING|"A_SCR_WAITFORPIXELS"
Enabled=INTEGER|-1
Name=STRING|"Wait for Pixels (full screen)"
Params=FOLDER

[Actions\Action44\Params]
altershot=STRING|"0"
caption=STRING|"1"
class=STRING|"0"
classexact=STRING|"0"
color0000=STRING|"$00467321"
comparemode=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
infinity=STRING|"0"
monitor=STRING|"0"
pxcount=STRING|"1"
source=STRING|"1"
timeout=STRING|"20"
tolerance0000=STRING|"16"
useprimary=STRING|"1"
x0000=STRING|"12"
y0000=STRING|"16"

[Actions\Action45]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 2 sec"
Params=FOLDER

[Actions\Action45\Params]
delay=STRING|"2"
dimension=STRING|"1"

[Actions\Action46]
ActionID=STRING|"A_GENERAL_SENDKEYS"
Enabled=INTEGER|-1
Name=STRING|"Hide Row / Save"
Params=FOLDER

[Actions\Action46\Params]
currentwindow=STRING|"1"
fixedwindow=STRING|"0"
keylayout=STRING|"0"
keys=STRING|"""^(9){DELAY 1000}^(S)"""
pause=STRING|"100"
release=STRING|"0"
sendkind=STRING|"0"
wincaption=STRING|"Notepad"

[Actions\Action47]
ActionID=STRING|"A_VARIABLES_INCREMENT"
Enabled=INTEGER|-1
Name=STRING|"Increment variable ""COUNTER"""
Params=FOLDER

[Actions\Action47\Params]
incement=STRING|"1"
vaiable=STRING|"COUNTER"

[Actions\Action48]
ActionID=STRING|"A_FLOW_IF"
Enabled=INTEGER|-1
Name=STRING|"If Then"
Params=FOLDER

[Actions\Action48\Params]
case=STRING|"0"
connection=STRING|"0"
count=STRING|"1"
operator=STRING|"0"
type=STRING|"1"
value1=STRING|"{COUNTER}"
value2=STRING|"{QUANTITY}"

[Actions\Action49]
ActionID=STRING|"A_TASKS_DISABLE"
Enabled=INTEGER|-1
Name=STRING|"Disable Task ""HSN Claim Scrub"""
Params=FOLDER

[Actions\Action49\Params]
taskid=STRING|"1961675743"

[Actions\Action5]
ActionID=STRING|"A_MOUSE_CLICK"
Enabled=INTEGER|-1
Name=STRING|"Click left button"
Params=FOLDER

[Actions\Action5\Params]
action=STRING|"0"
button=STRING|"0"

[Actions\Action50]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""COUNTER"" with value ""0"""
Params=FOLDER

[Actions\Action50\Params]
expand=STRING|"0"
varname=STRING|"COUNTER"
varvalue=STRING|"0"

[Actions\Action51]
ActionID=STRING|"A_INET_SENDMAIL"
Enabled=INTEGER|-1
Name=STRING|"Send Email"
Params=FOLDER

[Actions\Action51\Params]
attachcount=STRING|"0"
auth=STRING|"1"
charset=STRING|"iso-8859-1"
from=STRING|"robotask8@gmail.com"
host=STRING|"smtp.gmail.com"
html=STRING|"0"
msg0=STRING|"Script Complete"
msgcount=STRING|"1"
password=STRING|"29509400413830942140247423831512394"
port=STRING|"587"
priority=STRING|"0"
receipt=STRING|"0"
SSL=STRING|"2"
subject=STRING|"HSN Scrub Automation"
to=STRING|"tcarvalho@synergybilling.com"
user=STRING|"robotask8@gmail.com"
xmailer=STRING|"RoboTask"

[Actions\Action52]
ActionID=STRING|"A_FLOW_ENDIF"
Enabled=INTEGER|-1
Name=STRING|"End If"

[Actions\Action6]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 1 sec"
Params=FOLDER

[Actions\Action6\Params]
delay=STRING|"1"
dimension=STRING|"1"

[Actions\Action7]
ActionID=STRING|"A_CLIPBOARD_COPY"
Enabled=INTEGER|-1
Name=STRING|"Copy"
Params=FOLDER

[Actions\Action7\Params]
mode=STRING|"1"

[Actions\Action8]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 1 sec"
Params=FOLDER

[Actions\Action8\Params]
delay=STRING|"1"
dimension=STRING|"1"

[Actions\Action9]
ActionID=STRING|"A_WINDOW_COMMAND"
Enabled=INTEGER|-1
Name=STRING|"Focus window ""Centricity - Citrix Receiver"""
Params=FOLDER

[Actions\Action9\Params]
action=STRING|"0"
caption=STRING|"1"
child=STRING|"0"
class=STRING|"0"
classexact=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
hidden=STRING|"1"
processall=STRING|"1"
wincaption=STRING|"Centricity - Citrix Receiver"
winclass=STRING|"wMFService000E03DA004"

[Events]
Event1=FOLDER

[Events\Event1]
Enabled=INTEGER|-1
EventID=STRING|"E_GENERAL_CYCLIC"
Name=STRING|"Cyclic (every 5 sec)"
Params=FOLDER
UniqueID=INTEGER|104447259

[Events\Event1\Params]
interval=STRING|"5"
notsatrtatactivation=STRING|"0"

Oleg Yershov
Oleg
Site Admin
 
Posts: 2596
Joined: Thu Jan 01, 1970 1:00 am

Re: Clipboard content variable

Postby tcarvalho » Thu Aug 27, 2020 1:22 pm

Oleg wrote:You have to remove End-of-line symbols from clipboard content
Please note that Excel always copies the cell contents with End-of-Line symbols (#13#10)
Put STR Trim action to remove symbols and put it in into clipboard again


Thank you very much Oleg.
I wasn't aware that excel was 'adding' end of line symbols. I appreciate your help!
tcarvalho
 
Posts: 17
Joined: Mon Feb 24, 2020 5:46 pm


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 23 guests

cron