applescript – Assist with osascript Command to Conceal Login Merchandise on MacOS Ventura

0
95


I am making an attempt to make use of the next command in Terminal on MacOS 13.2.1 so as to add WebDrive.app to my login objects hidden (and even simply minimized) on MacOS, since there seems to be no method to do it with the brand new Login objects UI beneath the Settings “Common” tab:

/usr/bin/osascript -e ‘inform utility “System Occasions” to make login merchandise at finish with properties {path:”/Purposes/WebDrive.app”, hidden:true, title:”WebDrive”}’

Whereas I am unsure this strategy would even work if it had been syntactically legitimate, this provides me a 0:1: syntax error: A unknown token can’t go right here. (-2740) error. I am simply not seeing what token osascript is complaining about, so any assist with this is able to be very appreciated.