• 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: Get Document Path Using GUI Scripting???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get Document Path Using GUI Scripting???


  • Subject: Re: Get Document Path Using GUI Scripting???
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 12 Sep 2003 13:21:30 -0400

on 03-09-11 10:22 PM, Brett Kirksey at email@hidden
wrote:

> I am trying to get the document path of the frontmost window in Adobe GoLive.
> GoLive has a very limited scripting dictionary, so I'm using System Events 1.2
> to grab the information from GoLive. I can get to the front window
> information, but I can't get to any of the document information. I've used the
> UI Element Inspector and it shows the document path.

Using PreFab UI Browser's Generate AppleScript menu, you will discover that
it refuses to generate a script to obtain the value of the document
attribute of the front window of any application. That menu item is dimmed.
This is UI Browser's way of telling you that you can't currently do this
using GUI Scripting.

My advice: wait for an upcoming release of Mac OS X.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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.

  • Follow-Ups:
    • Re: Get Document Path Using GUI Scripting???
      • From: Brett Kirksey <email@hidden>
  • Prev by Date: Scripting hte <sic> Spell check
  • Next by Date: Re: AppleScript dictionary
  • Previous by thread: Get Document Path Using GUI Scripting???
  • Next by thread: Re: Get Document Path Using GUI Scripting???
  • Index(es):
    • Date
    • Thread