• 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
tool mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tool mode


  • Subject: tool mode
  • From: Rick Norman <email@hidden>
  • Date: Thu, 23 May 2002 09:14:08 -0500

Thanks for the help, I did not even think about that, live and learn.
Rick Norman

> Can someone tell me why the "set tool mode to contents mode" is returning
> the error "Can't set the tool mode to the contents mode".
>
> set AgentTemp to (choose file with prompt "Please select the Agent's
> Template")
> tell application "QuarkXPress 4.1"
> activate
> open AgentTemp
> set tool mode to contents mode
> end tell

The tool mode is property of document, not application.
You must write
tell application "QuarkXPress 4.1"
activate
open AgentTemp
tell document 1
set tool mode to contents mode
end tell
end tell
_______________________________________________
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: tool mode
  • Next by Date: Writing one script for two versions of an application
  • Previous by thread: Re: tool mode
  • Next by thread: Writing one script for two versions of an application
  • Index(es):
    • Date
    • Thread