Smile quirks
Smile quirks
- Subject: Smile quirks
- From: cheshirekat <email@hidden>
- Date: Sun, 18 Jul 2004 21:17:31 -0600
The following script gets different results in Script Editor and Smile 2.5.9.
property twoValues : "Gregorian Chants*Regina Caeli"
property brk : "*"
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}
display dialog the firstString giving up after 3
display dialog the secondString giving up after 3
Script Editor result:
display dialog "Gregorian Chants" giving up after 3
display dialog "Regina Caeli" giving up after 3
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?
I've tried numerous variations of the above script with the same result;
a bunch of spaces I don't need. I haven't touched Script Editor in many
many months, but decided to give it a try since I periodically get some
strange results from Smile - even with scripts I know have worked
reliably. It's hard to work around some of these "quirks" as they are
happening inconsistently. I haven't added any scripting additions other
than the Satimage osax, and the above lines are not in a tell statement.
cheshirekat
--
Great art is as irrational as great music. It is mad with its own loveliness.
- George Jean Nathan (1882 - 1958)
* 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.