• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script Objects in Libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: Keep a launched app in background
  • Next by Date: Re: AS asking for application on every occasion
  • Previous by thread: Re: AS asking for application on every occasion
  • Next by thread: Script Editor vs command line = different results
  • Index(es):
    • Date
    • Thread