• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Peculiar Alias Behavior...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Peculiar Alias Behavior...


  • Subject: Peculiar Alias Behavior...
  • From: Peter Bunn <email@hidden>
  • Date: Sun, 11 Apr 2004 13:34:01 -0500

This one is driving me quite crazy...

I'm on 10.1.4, and wondering if this bug (?) has been fixed in later
versions of X.

If I make an alias to (e.g.) a packaged application by
command/option/drag to the desired destination, the app is launched via
script _only_ if the '.app' extension is used. If I make an alias with a
droplet (as below), the app responds (by script) _only_ to the 'simple'
or displayed name of the app... without extension.

I'd like to think I'm doing something patently stupid since that would be
no surprise, but at the moment I'm thinking it may not be me (this time).

I have reasons to be scripting the app via alias... rather than at its
own location... but those reasons don't appear to be relevant here.

Any help?

Thanks.

Peter B.

------

on open This_Item
tell application "Finder"
make new alias to This_Item at folder "Test" of the desktop
end tell
end open

--

tell application "Finder"

open alias "MacHD:Users:username:Desktop:Test:TextEdit.app"

--open alias "MacHD:Users:username:Desktop:Test:TextEdit"

end tell

----------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Just submitted this to BugReporter as feature request - comments...
  • Next by Date: Re: how to eject a firewire drive natively
  • Previous by thread: Re: applescript-users digest, Vol 3 #2601 - 2 msgs
  • Next by thread: thanks for system attribute has info
  • Index(es):
    • Date
    • Thread