Page 2 of 5

Re: Mac Commander Plugin

PostPosted: Thu Aug 25, 2016 7:16 pm
by durosity
There are two certainties in life.. death and taxes. Unless you're rich, then you just move your money offshore to a tax haven... And give it a few years and I'm sure the rich will be able to buy new robotic bodies so they'll never die. I wonder if they'll make custom unicorn or leprechaun models... or if they'll come with a free pina colada.

Re: Mac Commander Plugin

PostPosted: Sat Sep 24, 2016 1:27 pm
by racarter
At the risk of creating a black hole which will swallow us all up, could this Indigo plugin be used to shut down Indigo itself?

My problem is that I supply my Indigo Mac Mini via a UPS and I have the Energy Saver preferences set to shut down the Mac when the mains has failed and the UPS battery has only 2 minutes left. This results in a orderly shutdown before the power fails, which protects the Indigo database, but the Mac only auto-restarts after a dirty shutdown - so when the mains is restored the Mac stays off.

If I can shut down Indigo in an orderly manner before the UPS battery is exhausted I could then just let the Mac do a dirty shutdown when the battery is exhausted, then it would reboot when the mains was restored.

First world problems, eh? 8)

Re: Mac Commander Plugin

PostPosted: Sat Sep 24, 2016 2:00 pm
by Colorado4Wheeler
Yes, quite easily. Perhaps the easiest way would be to create an applescript to do the task and have the plugin call the applescript.

Re: Mac Commander Plugin

PostPosted: Sat Sep 24, 2016 3:35 pm
by racarter
Colorado4Wheeler - I'll experiment. Thanks. :)

Re: Mac Commander Plugin

PostPosted: Sat Sep 24, 2016 4:10 pm
by howartp
There was a thread recently about this.

The suggestion was to use power management to set a wake-up command in +1 hours time from now, every say 30 minutes.

Then the mac will turn itself on assuming power hasn't been off 30 minutes.


Sent from my iPhone using Tapatalk

Re: Mac Commander Plugin

PostPosted: Tue Dec 06, 2016 2:09 pm
by mortenkols
Is this working under Indigo 7? Im able to start Kodi, but i can't shutdown kodi. Have also tried with App Store

Re: Mac Commander Plugin

PostPosted: Tue Dec 06, 2016 2:20 pm
by Colorado4Wheeler
I have this working under I7 and I use it to start and stop Plex - pretty much Kodi's kissing cousin.

Re: Mac Commander Plugin

PostPosted: Tue Dec 06, 2016 2:33 pm
by mortenkols
I have tried with kodi, apple store and FaceTime. i can start the applications but i can't shut them down.

6. des. 2016, 21.31.31
Action Group new action group 2 off
EPS - Mac Commander osascript -e 'set R to "eppc://**********@192.168.*.*"' -e 'using terms from application "Finder"' -e 'tell application "FaceTime" of machine R' -e 'quit' -e 'end tell' -e 'end using terms from

Re: Mac Commander Plugin

PostPosted: Fri Feb 03, 2017 4:27 am
by Coolcaper
Any chance of choosing Airplay speakers?

Re: Mac Commander Plugin

PostPosted: Fri Feb 03, 2017 7:57 am
by Different Computers
@CoolCaper, it's possible to select AirPlay sources via AppleScripts.

http://stackoverflow.com/questions/1590 ... pplescript

Re: Mac Commander Plugin

PostPosted: Fri Feb 03, 2017 10:03 am
by Coolcaper
Different Computers wrote:
@CoolCaper, it's possible to select AirPlay sources via AppleScripts.

http://stackoverflow.com/questions/1590 ... pplescript


Sure is, thanks. Nothing better than doing it a little more indigo style.

I'm a bit wary of AppleScript at the moment after all the commotion!


Sent from my iPhone using Tapatalk

Re: Mac Commander Plugin

PostPosted: Sun Jun 11, 2017 11:11 am
by notfamous
First off thanks a ton for the plugin. I'd been settling in on a long project on how to accomplish much the same with my limited scripting skills and was relieved to find someone already built that.

One feature request that I believe that would be EXTREMELY helpful that I was reckoning how to easily accomplish in script: have the plugin parse the IP address of the control page making the request (I know Indigo passes this information) and ONLY execute the command on the machine making the request.

Right now I'm setting up my control pages more as a life "dashboard" and have buttons that launch applications, like the calendar app when I tap on the calendar on my control page, or SkySafari when I click on an image of Venus on my budding "weather" page.

The thing is, I have the control page windowed on three different computers in the house (not to mention "touch" access) in different locations, like consoles (loves me some mac mini). Right now, without coming up with a bunch of code to augment the Commander with a script, the easy out is to allow Commander to launch the app on every box. But now that I better understand how it works, I know you could easily capture and use the IP request address variable to great effect.

Oh, another tip: allow multiple IP addresses comma separated.

Thanks again.

Cheers,
Tim

Re: Mac Commander Plugin

PostPosted: Sat Jun 23, 2018 1:54 pm
by ckeyes888
Should the plugin work in 10.12?
Had it working in 10.8 but no joy since I upgraded to 10.12.

Thanks,

Carl

Re: Mac Commander Plugin

PostPosted: Sat Jun 23, 2018 2:18 pm
by Colorado4Wheeler
What are you trying to do and I'll see if I can do some testing on my side.

Re: Mac Commander Plugin

PostPosted: Sat Jun 23, 2018 3:17 pm
by ckeyes888
Same as before. Running an app on a remote Mac.
The apps work fine when run on the remote mac.
I don’t see any errors in the log.
If I switch back to my 10.8 install it works fine.

Thanks,

Carl