I have an on idle script application that I want to have move to the background upon launch. The following code works but I want to know if there’s a better or more proper code to use:
on idle
yada, yada, yada
end idle
tell application “System Events” to set visible of application process “My AS Application” to false