Why does scripting Xpress have to be such a pain...
Why does scripting Xpress have to be such a pain...
- Subject: Why does scripting Xpress have to be such a pain...
- From: email@hidden
- Date: Fri, 24 May 2002 10:17:45 +0100
I have a script that makes a catalogue in Xpress from data supplied in a
text file.
In this script is a piece of code that goes through a certain text box
looking for prices and, if it finds one, makes them bold. Or it should.
For example,
This was priced #123
my script should make the "#123" bold. However, it wasn't working and when
I ran some tests, it turns out that - to XPress -
word 3 of "This was priced #123" is "priced"
word 4 of "This was priced #123" is "123"
considering punctuation
word 4 of "This was priced #123"
end considering
is still "123".
My script, which looks for pound signs "#", obviously isn't going to work
because of XPress own definition of "word".
Can anyone tell me how to get round this? Either a way to make XPress see "
#" or a way to acheive making the prices bold.
Thanks in advance,
Steve
_______________________________________________
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.