how to call the .app file from application without user interaction

Vinothn16ks
New Contributor

Dear All,

I need to call an .app file from Applications without user interaction. 
Eg., open -a "filename.app"

2 REPLIES 2

SmilieK
New Contributor III

Check out for arguments you can use when opening a app. https://ss64.com/osx/open.html

AJPinto
Valued Contributor II

What do you mean by "call"? Are you wanting to open the app? If so as the user, root, or someother account? Its all possible with a bit of scripting, but we would need more context as to what you are needing to do.

 

I have a few policies that open Safari to specific webpages for example.