• 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: Name only of app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Name only of app


  • Subject: Re: Name only of app
  • From: Roy McCoy <email@hidden>
  • Date: Sat, 24 Jan 2009 22:21:06 +0100

Not if you don't have to look at it, I suppose.
If it works, fine, but I recall seeing more
elegant solutions in this thread.

Roy McCoy
Rotterdam, NL


On Jan 24, 2009, at 8:33 PM, David Crowe wrote:

Bob;

Is the following too ugly?

- David Crowe


tell application "Finder"
       
set x to text 1 through ((length of (name of (path to frontmost application) as string)) - (length of(name extension of (path to frontmost application) as string)) - 1) of ((name of (path to frontmost application)) as string)
end tell
 _______________________________________________
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

References: 
 >re: Name only of app (From: David Crowe <email@hidden>)

  • Prev by Date: re: Name only of app
  • Next by Date: Re: Name only of app
  • Previous by thread: re: Name only of app
  • Next by thread: Re: Name only of app
  • Index(es):
    • Date
    • Thread