• 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: Skim
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Skim


  • Subject: Re: Skim
  • From: Yvan KOENIG <email@hidden>
  • Date: Thu, 11 May 2017 19:35:59 +0200


Le 11 mai 2017 à 04:18, Jean-Christophe Helary <email@hidden> a écrit :

I'm trying to get Skim to merge all the PDF windows it has open but nothing will have it bulge...

Can somebody confirm that?

tell application "System Events"
tell process "Skim"
click menu item 10 of menu 11 of menu bar 1
end tell
end tell

(I've also tried with the UI item names...)

Jean-Christophe 

Hello

Not only your syntax is wrong but Skim fails when I ask it by hand to merge 3 windows of one page documents.
I just get a single window of one page.

Below you will see two correct syntaxes but they do exactly what is done when we trigger the menu item by hand.

tell application "System Events" to tell process "Skim"
set frontmost to true
--tell menu bar 1 to tell menu bar item 11 to tell menu 1 to click menu item 10
click menu item 10 of menu 1 of menu bar item 11 of menu bar 1
end tell

Yvan KOENIG running Sierra 10.12.4 in French (VALLAURIS, France) jeudi 11 mai 2017 19:35:42



 _______________________________________________
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: Skim
      • From: Jean-Christophe Helary <email@hidden>
    • Re: Skim
      • From: Jean-Christophe Helary <email@hidden>
References: 
 >Skim (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Re: Skim
  • Next by Date: Re: Skim
  • Previous by thread: Re: Skim
  • Next by thread: Re: Skim
  • Index(es):
    • Date
    • Thread