Re: Name only of app
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