• 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
Grab the document's path of a Numbers's window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Grab the document's path of a Numbers's window


  • Subject: Grab the document's path of a Numbers's window
  • From: KOENIG Yvan <email@hidden>
  • Date: Wed, 17 Oct 2007 19:23:57 +0200

Hello

With this simple piece of code :

property theApp : "Numbers"

tell application "Numbers" to activate

tell application "System Events" to tell process theApp
	set nw to get name of window 1
end tell

I am able to get the name of the frontmost Numbers's window.

But I don't find a way to find the path to the document's package.
The document property doesn't appear in the window's ones.

May you help me ?

Yvan KOENIG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Prev by Date: Re: Problems with Mac to PC names conversion script. setuid command on a Mac server
  • Next by Date: Re: AppleScript 2.0?
  • Previous by thread: Re: AppleScript 2.0?
  • Next by thread: ActionScript called by AppleScript in ImageReady CS2 fail close window
  • Index(es):
    • Date
    • Thread