Re: Simple newbie question
Re: Simple newbie question
- Subject: Re: Simple newbie question
- From: Luther Fuller <email@hidden>
- Date: Wed, 17 Jun 2009 18:13:32 -0500
Oops ... forgot one little detail.
-- set fileAlias to alias "OS_X:Users:lutherfuller:Desktop:0906.1929v1.pdf" set fileAlias to alias "OS_X:Users:lutherfuller:Desktop:getAccountInfo" tell application "Finder" length of ((name extension of fileAlias) as text) if the result = 0 then set extLen to 1 else set extLen to 2 + the result end if (get name of fileAlias) as text set fileName to text 1 thru -extLen of the result 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