On 1/7/99 2:56 AM ASAKA Shuji ([EMAIL PROTECTED]) wrote:
>I am trying to control Analog3 Macintosh version by using AppleScript, but
>I cannot send C command correctly. For example, when the following script
>is executed:
>
>tell application "Analog 3.11"
> do script "+C\"MONTHLY OFF\""
>end tell
>
>then Analog displays an error message:
>
>analog: Warning C: Unknown configuration command: ignoring it:
> "MONTHLY
> (For help on all errors and warnings, see docs/errors.html)
>
>I am afraid Analog mistakes the 'space' between MONTHLY and OFF as a
>command delimiter. Could anybody help me?
Something very much like that is supposed to work. You should try:
do script '+C"monthly off"'
That would avoid the problems AppleScript appears to have with the \
quoted quotes. The error message is telling you, not that OFF got
seperated but that MONTHLY got seperated from the +C.
Good Luck
Jason
-----------------
[EMAIL PROTECTED]
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
-- Peter van der Linden, Expert C Programming, Deep C Secrets
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------