Applescript control broken in 1.7.6b1
Posted: Thu Nov 16, 2017 2:36 am
this (below) used to work, now it doesn't? getting: "Viscosity got an error: AppleEvent handler failed."
Code: Select all
tell application "Viscosity"
set connectionNames to connections
set connectedName to ""
repeat with theConnection in connections
set theState to state of theConnection
if theState is "connected" then set connectedName to name of theConnection
end repeat
return connectedName
end tell