naximagine.blogg.se

Pass parameters to shortcut command line
Pass parameters to shortcut command line




pass parameters to shortcut command line pass parameters to shortcut command line

", but this requires some rather unbelievable hoops just to make it work. In what is more of a hack than an actual solution, I have also found that I can manipulate the installed application's ist file, replacing the CFBundleExecutable value with a shell script that does an "open -a. I cannot seem to find a way to do these Automator steps from the command line (which would be required during installation of my application) using something like Apple Script (osacript).

pass parameters to shortcut command line

I can't do that in an automated install of the application. I have found that I can do exactly what I want to do from the Automator application: Select "Application", enter the command line, save it, copy and paste the icon, etc. At the user's direction on install, I need to create a shortcut-like item that contains command-line arguments to the installed application, and that can be placed in the Dock like a normal application with an icon. I've been searching and searching for a process on OS X that creates something as simple and elegant as Windows shortcuts.






Pass parameters to shortcut command line