Ken:
Yes, I am using PackageMaker under Tiger. I only save them as applications, no others. The only reason the script I gave you would not work is the path to the original, and the path where the alias will reside. This must be 100% correct or it will not work. I haven't found any other reason why they would not work. Where are you trying to create the alias? Desktop? or somewhere else? If it is the desktop, try this one...remember to save it with the name "postflight". If it is not the desktop, just set PTD to wherever.
Mike
set ptd to path to desktop
tell application "Finder" if exists file "XYZ File" of folder "Macintosh HD:Applications" then make new alias file to alias "Macintosh HD:Applications:XYZ File.app" at ptd end if end tell
On Jun 2, 2005, at 2:35 PM, Ken Hawkins wrote: ok i have converted my scripts over to applescript stuff. and have added them to the .pkg for installation. now however they do not run, either as application bundles, applications, scripts. are you using the packageMaker app to bundle up your distributions?
ken; On Jun 2, 2005, at 9:39 AM, Michael Krugman wrote:
Ken:
So far as I know, it could be perl, shell, applescript or application. If I'm breaking the rules so to speak I'm not aware of it and besides that, it just works and works well. I don't ever run as root when I'm programming (except through Terminal). This way I don't get surprised, especially with scripts that want some kind of authentication (they will automatically ask for it if the user is not admin level or above). HTH.
Mike On Jun 2, 2005, at 8:32 AM, Ken Hawkins wrote:
|