• 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: Preview.app scriptable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preview.app scriptable


  • Subject: Re: Preview.app scriptable
  • From: Yvan KOENIG <email@hidden>
  • Date: Wed, 13 Jan 2010 18:32:21 +0100


Le 13 janv. 2010 à 18:13, Gmeiner Jobst a écrit :

Hi Robert,

thank you for your script. I tried already to script 'System events' but the 'first window' doesn't accept anything, size, bounds or position ?!
i.e.:

tell application "System Events" to set appList to name of application processes whose frontmost is true
set frontApp to item 1 of appList
tell application frontApp
set bounds of window 1 to {730, 1, 1630, 700}
end tell

the error: number -10006 from bounds of window 1

Is this behaviour specific for Snow Leopard?

Regards
Jobst

You read wrongly the Robert's script.

It was not 'speaking' to the application frontApp
but to application process frontApp.

I think that this difference is the wrongdoer.

Yvan KOENIG (VALLAURIS, France) mercredi 13 janvier 2010 18:32:03


 _______________________________________________
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

References: 
 >Preview.app scriptable (From: Gmeiner Jobst <email@hidden>)
 >Re: Preview.app scriptable (From: Robert Poland <email@hidden>)
 >Re: Preview.app scriptable (From: Gmeiner Jobst <email@hidden>)

  • Prev by Date: Re: Preview.app scriptable
  • Next by Date: Re: Preview.app scriptable
  • Previous by thread: Re: Preview.app scriptable
  • Next by thread: Re: Preview.app scriptable
  • Index(es):
    • Date
    • Thread