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

Get Document Path Using GUI Scripting???


  • Subject: Get Document Path Using GUI Scripting???
  • From: Brett Kirksey <email@hidden>
  • Date: Thu, 11 Sep 2003 22:22:51 -0400

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--here's the info it gives:

<AXApplication: bGoLiveb>
<AXWindow: buntitled.htmlb>

Attributes:
AXRole: bAXWindowb
AXRoleDescription: bwindowb
AXChildren: b<array of size 5>b
AXParent: b<AXApplication: bGoLiveb>b
AXTitle: buntitled.htmlb
AXSize (W): bw=634 h=427b
AXPosition (W): bx=23 y=74b
AXMain (W): b1b
AXFocused (W): b1b
AXMinimized (W): b0b
AXCloseButton: b<AXButton>b
AXZoomButton: b<AXButton>b
AXMinimizeButton: b<AXButton>b
AXTitleUIElement: b<AXStaticText>b
AXGrowArea: b<AXGrowArea>b
AXDocument: bfile://localhost/Volumes/Amonet/Desktop/untitled.htmlb
AXProxy: b<AXImage>b

I have tried every possible way of getting the AXDocument information and have had no luck. Does anyone have any ideas?? Any help would be great.

Thanks

--
Brett
_______________________________________________
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: Reading a file in the user's home Documents
  • Next by Date: AppleScript dictionary
  • Previous by thread: Re: how to tweak events in applications
  • Next by thread: Re: Get Document Path Using GUI Scripting???
  • Index(es):
    • Date
    • Thread