Unicode encoding and store script
Unicode encoding and store script
- Subject: Unicode encoding and store script
- From: Antonino Petriliggieri <email@hidden>
- Date: Tue, 10 May 2011 19:42:34 +0200
Hi,
I'm trying to convert an ASS application composed of multiple script
files to ASOC.
Since ASS was used essentially to give an interface to a set of
scripts that dial with Indesign end other applications to do their
job, I've kept this structure with the main script that do all the
interface and keeps common variables and the other scripts wired in
IB with the main and some buttons on the interface.
Unfortunately there is no Debug in ASOC, so my idea was to have a
script saved from the main with all common variables e eventually
mockup of required main's handlers then open scripts to test in
Script Editor, load this script as my main outlet end do testing there.
In doing this found two problems:
1) trying to use "store script" command in ASOC compiles correctly
but gives a run time error of "can't covert <<scpt>> into script"
Is this standard addition command forbidden or does it requires
special syntax?
2) All my script files where created in xcode default encoding that
is UTF-8, but Script Editor don't read correctly UTF-8 files, so I
used xcode editor to convert script files to Unicode just to discover
that all my outlets and actions where dimmed in Interface Builder and
no longer available.
Is this a bug or should I do some other setting so that IB considers
all those
"property bla:missing value" as IBoutlets and
"on someFunc_(sender)" as actions?
ciao
nino
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden