Page 1 of 1

Applescripting in Indigo 7

PostPosted: Mon Dec 12, 2016 5:57 pm
by dz1rfj
HI,

I had this working, and it took me an aour to find this soultion, but since upgrading, it seems broken.

Has this been depreciated with Indigo 7 ?

If someone can share a python script that will allow me to loop a specific song / file number in a specific playlist, in iTunes, not loop the entire playlist, just a particular FIRE MP3 (siren) , that would be very helpful.
Code: Select all
tell application "iTunes"
   
   set the sound volume to 100
   play track 1 of user playlist "Fire"
   
   tell application "System Events" to tell process "iTunes"'s menu bar 1's menu bar item "Controls"'s menu 1's menu item "Repeat"'s menu 1
      #perform action "AXPress" of menu item "Off"
      perform action "AXPress" of menu item "All"
      #perform action "AXPress" of menu item "One"
   end tell
   
end tell

Thanks!

Re: Applescripting in Indigo 7

PostPosted: Tue Dec 13, 2016 2:17 am
by jay (support)
Your script doesn't target Indigo at all so I'm not sure how Indigo 7 could have broken it.

Re: Applescripting in Indigo 7

PostPosted: Tue Dec 13, 2016 7:51 am
by Different Computers
is it an external AppleScript that's stored in the Indigo 6 folder structure? I7 may not be able to find it.

Re: Applescripting in Indigo 7

PostPosted: Sun Aug 13, 2017 3:00 pm
by jltnol
Just curious.. Not using AppleScript to control Indigo, but when I try this:

Code: Select all
tell application "IndigoServer"
   brighten device named "Kitchen-Bar" to 15
end tell


I get an error message: Application isn't running....

Re: Applescripting in Indigo 7

PostPosted: Mon Aug 14, 2017 1:48 am
by kw123
That is an osx bug. Has been discussed many times before. No real solution besides restart.


Sent from my iPhone using Tapatalk

Re: Applescripting in Indigo 7

PostPosted: Mon Aug 14, 2017 4:20 am
by Japple55
It's discussed here with some workarounds: viewtopic.php?f=4&t=12857&p=87000#p87000

What worked for me was:

So - bottom line: if you see this error first make sure you have no other copies of the IndigoServer.app on any mounted hard drive. This would likely be because you have previous versions still installed, so look in these locations:

/Library/Application Support/Perceptive Automation/Indigo 6/


But not until I rebooted the machine and Indigo.

Jim