Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running AS-apps with parameters



Yes. I have an AppleScript application, called "Reset Dock", that reads the applications Comment, which currently is "right end 50", then resets the Dock using these parameters. If these parameters are undecipherable, it asks for user input via dialogs. Putting the parameter into the file name is possible, too, but may not be a good idea.

On Aug 10, 2007, at 7:12 AM, Benedikt Quirmbach wrote:

Hello,

is it possible to run an AppleScript app and give a paraameter to it?

For example give it a name with parameter: blabla.app?mypara=15

If it is possible, how to read this parameter inside my AppleScript app?

Benedikt

_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Running AS-apps with parameters (From: Benedikt Quirmbach <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.