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: Malcolm Fitzgerald <email@hidden>
- Date: Fri, 24 Mar 2006 10:13:59 +1100
On 24/03/2006, at 2:24 AM, Paul Berkowitz wrote:
On 3/23/06 6:48 AM, "kai" <email@hidden> wrote:
set text item delimiters to storedDelimiters
-- restore the value of AppleScript's text item delimiters
-- to whatever they were on entering the subroutine
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"
malcolm
_______________________________________________
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