Need help in gui scripting
Need help in gui scripting
- Subject: Need help in gui scripting
- From: "BADRINATH, NANDINI" <email@hidden>
- Date: Mon, 31 May 2004 15:37:08 +0530
- Thread-topic: Need help in gui scripting
Hi All,
=20
I have an application called "QuarkXPress"(Screenshot attached).It has
a menu called "Yours Truly" and under that a menu item called "Create
Job-PPML..."
1) I have to click on menu 'Your Truly' and under that
"Create Job-PPML".=20
2) Then the Create Job window pops up. Now I have to click
on a button called "Select Folder"(highlighted in the screenshot in
red). I am not able to do this with GUI Scripting.
The code below accomplishes clicking the 'Create Job' button on 'Yours
Truly'. Please tell me what code shud go in to click 'Select Folder'.
tell application "QuarkXPress"
activate
end tell
tell application "System Events"
tell process "QuarkXPress"
tell menu bar 1
tell menu bar item "Yours Truly"
tell menu "Yours Truly"
tell menu item "Create Job"
tell menu 1
click menu item "PPML..."
=09
--Code to click on 'Select folder' button goes
here
end tell
end tell
end tell
end tell
end tell
end tell
end tell
3. I have attached the UI element Inspector window screenshot when I
placed the mouse over 'Select Folder'(in the screenshot attached).
Please tell me what code should go in for clicking 'Select Folder'
button.
Hope someone can help!
Regards,
Nandini
<<Question.doc>>=20
[demime 0.98b removed an attachment of type application/msword which had a name of Question.doc]
_______________________________________________
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.