Re: Smile quirks
Re: Smile quirks
- Subject: Re: Smile quirks
- From: cheshirekat <email@hidden>
- Date: Mon, 19 Jul 2004 15:24:42 -0600
On Mon, Jul 19, 200408:48, the following words from Emmanuel
email@hidden, emerged from a plethora of SPAM ...
>
At 9:17 PM -0600 18/07/04, cheshirekat wrote:
>
>set the offP to (the offset of the brk in (the twoValues))
>
>set {the firstString, the secondString} to {(characters 1 thru (the offP
>
>- 1) of the twoValues) as text, (characters (the offP + 1) thru -1 of the
>
>twoValues) as text}
>
>Smile:
>
>log {the firstString, the secondString}
>
>{"G r e g o r i a n C h a n t s", "R e g i n a C a e l i"}
>
>
>
>Smile inserts a space between each character. Any hints why?
>
>
Sure. "characters [blah] as text" use the text item delimiters, and the
>
text item delimiters in your configuration are not properly set to ""
>
(the default).
That makes sense, but then why doesn't Script Editor also do the same
thing if the delimiters are other than ""?
I opened Smile. Opened a few scripts from the "Recent" menu (none dealing
with setting delimiters) and my worksheet. My first "new" script was this
one - typed not pasted, no other scripts had been modified since
launching Smile.
on my worksheet, I do have the line:
AppleScript's text item delimiters
only because I rarely use AppleScript's text item delimiters because it's
a lot to write and offset and other methods are often easier for me -
though I know a lot of people on this list use them extensively. The few
times I do use it, I drag a copy of the line from the worksheet. But, as
far as I can tell, that one line shouldn't set/change my delimiters, no?
Normally, I may have several dozen script windows open in Smile and will
restart Smile to clear any problems and force myself to postpone some of
my script to do's. In this instance, I had just started Smile, so only a
few windows (half dozen) were open. But a restart of Smile did clear the
problem, though I'd only had it open for a brief few minutes before
starting this script. Oh well, I did get three other scripts completed
after taking a break from this one before restarting Smile.
Thanks for your help.
cheshirekat
--
Euthanasia is a long, smooth-sounding word, and it conceals its danger as
long, smooth words do, but the danger is there, nevertheless.
- Pearl S. Buck (1892-1973), U.S. author.
* 867 PowerBook G4 * OS X 10.2.8 * 768 MB Ram *
* Addictions: iTunes * AppleScript * Mike's Cards * FileMaker Pro *
_______________________________________________
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.