• 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
Select a path in browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Select a path in browser


  • Subject: Select a path in browser
  • From: Paul KOENIG <email@hidden>
  • Date: Wed, 5 Sep 2007 15:10:40 +0200

Hi, i make a script to export pictures from application OsiriX
I meet a problem when a i want select a paht in a browser.

Code :

tell application "OsiriX"
	activate
end tell

tell application "System Events"
tell process "OsiriX"
click menu item "Export to JPEG" of menu "Export" of menu item "Export" of menu "File" of menu bar item "File" of menu bar 1
end tell
end tell


tell application "System Events"
click radio button 2 of radio group 1 of group 1 of front window of process "OsiriX"
click button "System" of list 1 of scroll area 1 of splitter group 1 of group 1 of front window of process "OsiriX"

-- Problem :
--click static text "Bibliothèque" of list 1 of scroll area 1 of scroll area 2 of browser 1 of splitter group 1 of group 1 of front window of process "OsiriX"

end tell


Inspector :

<AXApplication: “OsiriX”>
 <AXWindow: “Export”>
  <AXGroup>
   <AXSplitGroup>
    <AXBrowser>
     <AXScrollArea>
      <AXScrollArea>
       <AXList>
        <AXStaticText>

Attributes:
   AXRole:  “AXStaticText”
   AXRoleDescription:  “text”
   AXHelp:  “(null)”
   AXValue:  “Bibliothèque”
   AXEnabled:  “1”
   AXFocused:  “0”
   AXParent:  “<AXList>”
   AXWindow:  “<AXWindow: “Export”>”
   AXTopLevelUIElement:  “<AXWindow: “Export”>”
   AXPosition:  “x=593 y=258”
   AXSize:  “w=171 h=18”

many thanks ...
Paul _______________________________________________
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
  • Follow-Ups:
    • Re: Select a path in browser
      • From: Paul KOENIG <email@hidden>
  • Prev by Date: Re: Eliminating duplicate items from a list
  • Next by Date: Re: Select a path in browser
  • Previous by thread: iPhoto'08 : batch photo renaming
  • Next by thread: Re: Select a path in browser
  • Index(es):
    • Date
    • Thread