• 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: Axel Luttgens <email@hidden>
  • Date: Wed, 13 Jan 2010 22:58:48 +0100

Le 13 janv. 2010 à 21:44:11, Gmeiner Jobst a écrit :

> Hi Robert and Yvan,
>
> thank you again for your mails. Now, I am totally confused and not amused!
>
> As I reported before, the 'first window' didn't move at all when scripted. By accident then I adressed window 2, and voilà, it did what it should (using 'size' and 'position' as you suggested, 'bounds' are not working).
>
> [...]
>
> Could you tell me by chance what's all about the 'ghost' window 1 of Preview.app ?

Hello Jobst,

Could you try this one:

	tell application "System Events"
		tell application process "Preview"
			properties of windows
		end tell
	end tell

and show us the output?

Here, on 10.6.2, I get {} with no document opened in Preview.app, and a list with a single list with one document opened.
But no "ghost" window.
Perhaps a matter of Preview's preferences settings?

BTW, this allows to discover that the bounds property is not available. ;-)

HTH,
Axel


 _______________________________________________
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>)
 >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: Time to UTC
  • Previous by thread: Re: Preview.app scriptable
  • Next by thread: Re: Preview.app scriptable
  • Index(es):
    • Date
    • Thread