Re: Replace slash by underscroe in file name
Re: Replace slash by underscroe in file name
- Subject: Re: Replace slash by underscroe in file name
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 23 Mar 2006 15:29:16 -0800
- Thread-topic: Replace slash by underscroe in file name
On 3/23/06 3:13 PM, "Malcolm Fitzgerald" <email@hidden> wrote:
>>
>> The context of this is that AppleScript's text item delimiters is a
>> true
>> global across all scripts in your current session of Script Editor or
>> whatever application is running your script.
>
> Here are two ways in which text item delimiters will drive you batty.
>
> ------------ one
> set my text item delimiters to "x"
> set AppleScript's text item delimiters to "y"
> get my text item delimiters --> "y"
>
> ------------ two
> set AppleScript's text item delimiters to "l"
> script tid
> set my text item delimiters to "l"
> on _get()
> return my text item delimiters
> end _get
> end script
> tell tid to _get() --> "y"
There is no reason to ever use 'my' text item delimiters. Always use
AppleScript's text item delimiters and you'll never go batty. ;-)
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden