Presumably, using the Applescript command open would avoid this, but since I'm not running the application as it is packaged (just /Applications/Firefox), it doesn't work. I can make these executable and assign an icon and everything works great except that when I run either of these pseudo programs, either a terminal window or an Applescript icon remains open as long as the application is open. Applications/Firefox.app/Contents/MacOS/firefox -P default -no-remoteĭo shell script "exec /Applications/Opera.app/Contents/MacOS/Opera -kioskmode" I have found that launching the applications through bash or Applescript partially works: # Bash In Windows I can append the arguments to the shortcut properties, but since Macs don't use shortcut per se and run the applications directly, this isn't possible. $ /Applications/Firefox.app/Contents/MacOS/firefox -P profilename -no-remote Is there any easy way to append command line arguments to an application on a Mac? For example, to run Opera in kiosk mode or to use a different profile in Firefox, I can type $ /Applications/Opera.app/Contents/MacOS/Opera -kioskmode
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |