lol, so If I understand you need the script that would simply PAUSE the music from ICE3 ?
It may be tricky since ICE3 doesnt have the AUDIO commands on the HOME page, I'll run some tests and let you know what could be done
EDIT: Here's the simple scripts that check if ICE3 is running, if not NO command are sent, If it is running, it sends the right command to PAUSE or UNPAUSE (yes its the same command for both command)
NOTE: the following code only pause the music from AUDIO (video below)
Code:
if appIsRunning("ICE³") then
tell application "System Events"
tell process "ICE³"
click button "Pause" of group 1 of window 1
end tell
end tell
end if
on appIsRunning(appName)
tell application "System Events" to return name of every process contains appName
end appIsRunning
NOTE: the following code only Pause the VIDEO
Code:
if appIsRunning("ICE³") then
tell application "System Events"
tell process "ICE³"
click button "Pause" of group 1 of sheet 1 of window 1
end tell
end tell
end if
on appIsRunning(appName)
tell application "System Events" to return name of every process contains appName
end appIsRunning
This code could be even BETTER if we could check on which ICE3 screen we are, but I didnt see any way to achieve this FOR NOW! I hope this is helping a little
Let me know if this fits ur needs!