Jump to content

Recommended Posts

Posted

Hi all,

I'm just trying to see if there is any methods out there to initiate/start an application remotely through email. I currently have a batch job for an iterative process which sends me emails as it progresses through the work. But sometimes when the job is finished, I'm not able to be at the physical machine and start the next iteration of the program. I'm wondering if there is any way to use email as a way of starting the job again. I'm thinking a script that listens for a particular email to come in and then starts the process but haven't had any luck finding any information about this. Ofcourse an Autoit solution would be the most prefared method.

Any help in this regard is highly appreciated.

Thanks

Posted

Check this out.It waits for a new email to arrive and display a msgbox when this happen.

oOApp = ObjCreate("Outlook.Application")
$test=ObjEvent($oOApp,"oOApp_")

sleep(1111111)
$oOApp=0
$test=0

Func oOApp_NewMail()
MsgBox(0,"test","test")
EndFunc
Posted

Hi all,

I'm just trying to see if there is any methods out there to initiate/start an application remotely through email. I currently have a batch job for an iterative process which sends me emails as it progresses through the work. But sometimes when the job is finished, I'm not able to be at the physical machine and start the next iteration of the program. I'm wondering if there is any way to use email as a way of starting the job again. I'm thinking a script that listens for a particular email to come in and then starts the process but haven't had any luck finding any information about this. Ofcourse an Autoit solution would be the most prefared method.

Any help in this regard is highly appreciated.

Thanks

If you are working with Office2007, you could use an "Outlook Rule" similar to this:

- on incoming email

- if body contains "work ya bastard"

- start application "stillife_iterator.exe"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...