Re: Get only the name of the file, instead of the whole path!
Re: Get only the name of the file, instead of the whole path!
- Subject: Re: Get only the name of the file, instead of the whole path!
- From: "Stockly, Ed" <email@hidden>
- Date: Thu, 17 Jan 2008 16:46:52 -0800
- Thread-topic: Get only the name of the file, instead of the whole path!
if I
> set tid and then call a handler, and after that handler returns the tid are
set differently? Somebody's getting hit. Side effects: bad.
Yes, that's why I provided the sample handler below...
>> --------
>> On DoMyStuff ()
>> set oldDelims to AppleScript's text item delimiters
>> set AppleScript's text item delimiters to {","}
>> --do my stuff here
>> set AppleScript's text item delimiters to oldDelims
>> Return
>> End DoMyStuff
>>
>> -----------
> Of course, the original "bad" here is making tid a global in the first place.
There is no bad here, only good. : )
ES
_______________________________________________
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