hey, is there a way of linking two applications so when i open or close one, the other opens or closes? specifically, this is to link youcontrol with itunes.
thanks!
thanks!
As a work-around, you could create an Automator action that opens both apps.
I have something similar in applescript that opens two applications and monitors them so if one closes so does the other and then itself.
but then i'd have to run the workflow instead of opening the apps themselves...
how did you set that up? i've never used applescript before.
global applist
global apprunning
set applist to {"iTunes", "iCal"}
repeat with each_item in applist
tell application each_item to activate
end repeat
set apprunning to true
repeat until apprunning is false
delay 3
tell application "System Events"
set processlist to get name of every process
repeat with every_item in applist
if processlist does not contain every_item then
my quitapps()
end if
end repeat
end tell
end repeat
on quitapps()
set apprunning to false
repeat with each_item in applist
try
tell application each_item to quit
end try
end repeat
return
end quitapps