Initiate script on PC from iPhone?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
timi2fly
Newbie
Posts: 15
Joined: Sun Mar 23, 2014 5:29 am
Location: Adelaide, South Australia

Initiate script on PC from iPhone?

Post by timi2fly » Sun Jun 24, 2018 3:23 am

Conceptual question :

Is there any straightforward way to start / run a MS script on a PC using my iPhone?

I realise that I can do it with TeamViewer (or similar desktop viewing software) but I'm wondering if there is a neater and more elegant way?

Thoughts appreciated.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Initiate script on PC from iPhone?

Post by Marcus Tettmar » Mon Jun 25, 2018 1:50 pm

If you use the msNet remote controller, then, assuming your firewall is set up correctly you could just type a URL into your iOS Safari browser to trigger a macro. msNet essentially turns Macro Scheduler into a small http server, listening for requests, so e.g. you can type a URL like:

http://ip-address/macroname

You can make it ask or a password etc and pass params.

Funnily enough though I have been thinking lately about the idea of an iOS/Android app to do this more easily. It would require a plugin to Macro Scheduler and a cloud service on our server to handle the comms between the app and your desktop. However, I'm not sure how many people would find it useful and therefore whether it would be worth the development cost. One issue with running macros remotely is that the machine may be logged out / locked and since most macro scheduler macros simulate user activity what you could do with it could be very limited.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Grovkillen
Automation Wizard
Posts: 1023
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Initiate script on PC from iPhone?

Post by Grovkillen » Mon Jun 25, 2018 2:19 pm

Just give us access to MQTT and there's a ton of ways to communicate with MS.
Let>ME=%Script%

Running: 15.0.24
version history

tbrackett
Newbie
Posts: 11
Joined: Wed Dec 07, 2005 5:00 pm

Re: Initiate script on PC from iPhone?

Post by tbrackett » Sat Jul 07, 2018 9:55 pm

Quick and easy way would be email. Have the script check an email address every 30 seconds and for security only accept from your email address reading the "from". Discarding anything else.
Then you can just send an email include the macro name in the subject line.
It can also email you back the results!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts