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

Re: tool mode


  • Subject: Re: tool mode
  • From: Kirill Kortchagin <email@hidden>
  • Date: Thu, 23 May 2002 17:43:08 +0400

on 23.05.2002 17:33, Rick Norman at email@hidden:

> 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

--
Aha-pupok
http://www.yezhe.ru/applescript/
email@hidden
_______________________________________________
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.

References: 
 >tool mode (From: Rick Norman <email@hidden>)

  • Prev by Date: tool mode
  • Next by Date: Re: tool mode
  • Previous by thread: tool mode
  • Next by thread: Re: tool mode
  • Index(es):
    • Date
    • Thread