• 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
Re: App names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App names


  • Subject: Re: App names
  • From: Michael Watson <email@hidden>
  • Date: Sun, 31 Aug 2008 18:22:46 -0400

AppleScript isn't referring to a file path there, it's referring to a process name. The actual file name of "Finder" is "Finder.app", because it's a folder with an extension of ".app". If you have to reference its path or file name, you have to include ".app" because it's part of those.

AppleScript gets to be human because it's not dealing with the file system.


-- m-s

On 31 Aug, 2008, at 18:07, John Joyce wrote:


On Aug 31, 2008, at 4:51 PM, email@hidden wrote:



If you're dealing with a file path, then of you of course need to
specify the extension -- it's part of the file name. You've always had
to, and always will have to.




--
Seth Willits

AppleScript certainly doesn't care about extensions on application bundles...
Of course that seems to be due to the syntax...
tell application Finder
...


Which is why I am inquiring. There are certainly points in the Mac OS that are designed to be more human.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
@bungie.org


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: App names (From: John Joyce <email@hidden>)

  • Prev by Date: Re: accessing netinfo db from cocoa?
  • Next by Date: Seemingly Simple Bindings Question
  • Previous by thread: Re: App names
  • Next by thread: Re: App names
  • Index(es):
    • Date
    • Thread