Re: Script Objects in Libraries
Re: Script Objects in Libraries
- Subject: Re: Script Objects in Libraries
- From: jj <email@hidden>
- Date: Thu, 08 Jul 2004 22:22:26 +0200
>
Hello,
>
>
I have a QuarkXPress handler in a library that that calls a script object in
>
that same library. I get an error every time.
>
-->> Error: The variable checkSpreads is not defined.
>
>
Any ideas? Thanks, Jason Bourque
>
>
>
Tell me to On srhandler()
>
>
On srhandler()
>
tell application "QuarkXPress"
>
do script {checkSpreads}
>
end tell
>
End
>
>
>
>
Script checkSpreads
>
Display dialog 3Success2
>
end
Hi!
Perhaps I'm saying something stupid, but the last time I scripted Quark
(some years ago), the "do script" command required a string, not a script
object, such as:
do script "beep 754"
If this is true, just tell your "srhandler" to:
run checkSpreads
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
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.