Hello,
I am wondering if Robotask can be setup to do this: I take a picture on my tablet (running Windows 10) and automatically the photo is attached to an email and sent to a specific address.
Any help is appreciated.
Can it do this?
Re: Can it do this?
Yes of course. RoboTask can do this.
Save screenshot to specific folder. RoboTask can monitor this folder (File monitor trigger) and send new files by email as attachment (Send email action)
In addition, RoboTask can take screenshots directly. Look at the Screenshot action
Save screenshot to specific folder. RoboTask can monitor this folder (File monitor trigger) and send new files by email as attachment (Send email action)
In addition, RoboTask can take screenshots directly. Look at the Screenshot action
Oleg Yershov
Re: Can it do this?
Thank you Oleg for your reply. I am attempting to set this up in a test environment but I am having difficulty joining the "action" with the "trigger". Can you please step through the setup I would have to do to make this happen: I take a picture - the picture gets copied to folder on PC - then it is automatically attached to an email and sent. I see the "trigger" but don't see an option to attach a file in email to be sent. What am I missing?
Re: Can it do this?
You can attach a trigger to a task (not an action).
For example, the File monitor trigger monitors a folder. When it detects changes in the folder, it launches a task.
The task can collect image files in the folder and send them as email attachments.
I also recommend moving screenshot files to an archive or deleting screenshots. That is, the folder should be empty in its normal state.
This way you can take screenshots manually as you need and save them to a specific folder.
RoboTask will automatically send the files in the folder by email
For example, the File monitor trigger monitors a folder. When it detects changes in the folder, it launches a task.
The task can collect image files in the folder and send them as email attachments.
I also recommend moving screenshot files to an archive or deleting screenshots. That is, the folder should be empty in its normal state.
This way you can take screenshots manually as you need and save them to a specific folder.
RoboTask will automatically send the files in the folder by email
Oleg Yershov
Re: Can it do this?
Also look at my example (it just an example)
Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
Also you can simply copy task text and paste it into the task list.
Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
Also you can simply copy task text and paste it into the task list.
Code: Select all
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|444033236
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DisableOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
Events=FOLDER
ExternalName=STRING|"Task479"
Hide=INTEGER|0
ID=INTEGER|-1411201537
LogOnAsUser=INTEGER|1
Name=STRING|"Send files by email"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RestrictRESTAPIAccess=INTEGER|0
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
StepPause=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
Action5=FOLDER
[Actions\Action1]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""inFolder"" with value ""d:\incoming\images"""
Params=FOLDER
[Actions\Action1\Params]
_rt_variables_produced=STRING|"inFolder"
expand=STRING|"0"
linecount=STRING|"1"
varname=STRING|"inFolder"
varvalue=STRING|"d:\incoming\images"
[Actions\Action2]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""archive"" with value ""d:\incoming\archive"""
Params=FOLDER
[Actions\Action2\Params]
_rt_variables_produced=STRING|"archive"
expand=STRING|"0"
linecount=STRING|"1"
varname=STRING|"archive"
varvalue=STRING|"d:\incoming\archive"
[Actions\Action3]
ActionID=STRING|"A_FILE_SEARCH"
Enabled=INTEGER|-1
Name=STRING|"Create File List (variable: filelist)"
Params=FOLDER
[Actions\Action3\Params]
_rt_variables_produced=STRING|"filelist"
After=STRING|"0"
aftercount=STRING|"0"
AfterLine=STRING|"0"
Before=STRING|"0"
beforecount=STRING|"0"
BeforeLine=STRING|"0"
createmode=STRING|"1"
date1=STRING|"20250211"
date2=STRING|"20250211"
destvar=STRING|"filelist"
DuringDays=STRING|"1"
DuringHours=STRING|"1"
DuringMinutes=STRING|"1"
DuringMonths=STRING|"1"
file0=STRING|"{inFolder}\*.jpg"
filecount=STRING|"1"
OlderDays=STRING|"1"
OlderHours=STRING|"1"
OlderMinutes=STRING|"1"
OlderMonths=STRING|"1"
savetofile=STRING|"0"
savetovar=STRING|"1"
searchkind=STRING|"0"
sort=STRING|"0"
sortby=STRING|"0"
sortorder=STRING|"0"
subdirs=STRING|"0"
WithoutPath=STRING|"0"
[Actions\Action4]
ActionID=STRING|"A_INET_SENDMAIL"
Enabled=INTEGER|-1
Name=STRING|"SMTP Send Email"
Params=FOLDER
[Actions\Action4\Params]
attach0=STRING|"{filelist}"
attachcount=STRING|"1"
auth=STRING|"0"
charset=STRING|"utf-8"
from=STRING|"user@host.com"
host=STRING|"MySMTPServer"
html=STRING|"0"
msg0=STRING|"See screenshots in attachment"
msgcount=STRING|"1"
password=STRING|"2565725964257122596625962"
port=STRING|"25"
priority=STRING|"1"
receipt=STRING|"0"
SSL=STRING|"0"
subject=STRING|"New screensots"
tlsmode=STRING|"0"
tlsver=STRING|"2"
to=STRING|"username@MyEmailServer.com"
xmailer=STRING|"RoboTask"
[Actions\Action5]
ActionID=STRING|"A_FILE_COPY"
Enabled=INTEGER|-1
Name=STRING|"Copy/Move File"
Params=FOLDER
[Actions\Action5\Params]
checkfile=STRING|"0"
destdir=STRING|"{archive}"
f_count=STRING|"1"
file0=STRING|"{filelist}"
hidden=STRING|"1"
ifexists=STRING|"1"
maxtimeout=STRING|"15"
move=STRING|"1"
output=STRING|"0"
rename=STRING|"0"
renamemask=STRING|"*.*.new"
subdir=STRING|"0"
system=STRING|"1"
[Events]
Event1=FOLDER
[Events\Event1]
Enabled=INTEGER|-1
EventID=STRING|"E_FILE_MONITOR"
Name=STRING|"File Monitor"
Params=FOLDER
UniqueID=INTEGER|1711589846
[Events\Event1\Params]
chg=STRING|"1"
chga=STRING|"1"
chgsl=STRING|"1"
chgsm=STRING|"1"
chgtl=STRING|"1"
chgtm=STRING|"1"
del=STRING|"0"
folder1=STRING|"d:\incoming\images"
foldercount=STRING|"1"
incmask=STRING|"*.*"
interval=STRING|"60"
listmode=STRING|"1"
mon_files=STRING|"1"
mon_folders=STRING|"0"
new=STRING|"1"
notsavestatus=STRING|"0"
pass=STRING|"0"
passmode=STRING|"1"
required=STRING|"0"
saveresults=STRING|"0"
subfolders1=STRING|"0"
Oleg Yershov