TIDs Tabs & Square Brackets (Script Debugger question)
TIDs Tabs & Square Brackets (Script Debugger question)
- Subject: TIDs Tabs & Square Brackets (Script Debugger question)
- From: Mr Tea <email@hidden>
- Date: Tue, 30 Apr 2002 01:27:11 +0100
This is a bit of a false alarm. I misunderstood what I was seeing in the
Script Debugger result window with the format set to 'best' and the 'pretty
print' option checked. (In the following example, the two bracketed sections
in the string stored as the text are separated by a tab character.)
set theText to "[No tabs here] [and none here, either]"
set AppleScript's text item delimiters to tab
set theText to every text item of theText
set AppleScript's text item delimiters to ""
theText as string
...displayed this result:
[
No tabs here
][
and none here,
either
]
I'm very new to Script Debugger and thought this was how the actual result
would display when pasted into a word processor document. I've changed the
settings now, and probably need to look at the manual before I go any
further. (Having it only in electronic form is a disadvantage. Maybe this is
one to print out.)
Mr Tea
--
Brew of the day: Orange Pekoe
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.