Program arguments
Program arguments
- Subject: Program arguments
- From: Mike Dougherty <email@hidden>
- Date: Mon, 21 May 2007 08:04:04 -0700
Hello,
I've searched all over the place for an answer to this and have found nothing. So I joined this list and will pose my problem here in hopes someone has a solution.
I have an application that uses command line arguments to determine how it should behave when it runs. This appears to be an oddity when trying to make this application work with a Mac. So I thought I would wrap these command line options in AppleScripts in order make it easier for the users. However, now that I've spent 2+ days looking for an AppleScript solution, I am wondering if this is even possible either. So my question is: How do I pass command line arguments to an application in an applescript?
I would have expected something like:
tell application "Foobar" with arguments {"baz", "quux"} launch end tell
But that doesn't work, nor does anything else I've tried.
Thanks for your time and help, Mike
-- ********************************* Mike Dougherty 858.232.3635
*********************************
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden