• 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: Need help:-Quark Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help:-Quark Scripting


  • Subject: Re: Need help:-Quark Scripting
  • From: Luca BASSINI <email@hidden>
  • Date: Tue, 8 Jun 2004 19:58:29 +0200

On 08/giu/04, at 16:42, BADRINATH, NANDINI wrote:

Hi,

I have an application called QuarkXPress. I click on File->Open and a
list of files is displayed. I try to select the 1st file displayed. I
used the following piece of code.

tell application "System Events"
tell process "QuarkXPress"
tell window "Open"
tell scroll area 1 of UI element 3
tell outline 1
select static text of row 1
keystroke return
end tell
end tell
end tell
end tell
End tell


But when I do this the file is not selected. I do not get any error
message but at the same time the file is not highlighted and
selected.Are there any other commands I can use to select the file? I
also tried click,press,pick,select. But the file is not being selected.

Can anyone please help on this?

Thanks,
Nandini

Nandini,

why are you trying to open the file in this terrible way? why don't you simply tell application "QuarkXPress" to open the document you would like to open or let the user to choose a file with choose file command?

I'm sure you're probably using XPress 6 and lot of things are unsupported or you could encounter some bugs you could by-pass with GUI scripting... But applescripting is more fascinating than GUIscripting ;-)

So...

Ciao
Luca
_______________________________________________
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.


References: 
 >Need help:-Quark Scripting (From: "BADRINATH, NANDINI" <email@hidden>)

  • Prev by Date: Re: Question-GUI scripting
  • Next by Date: UI Scripting - selecting text items from a scroll area
  • Previous by thread: Need help:-Quark Scripting
  • Next by thread: UI Scripting - selecting text items from a scroll area
  • Index(es):
    • Date
    • Thread