Skip to main content
Question

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

  • July 7, 2022
  • 2 replies
  • 8 views

Forum|alt.badge.img+1

Dear All,

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

2 replies

SmilieK
Forum|alt.badge.img+7
  • New Contributor
  • July 8, 2022

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


AJPinto
Forum|alt.badge.img+26
  • Legendary Contributor
  • July 8, 2022

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.