• 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: AppleScript for resizing/repositioning Preview document windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript for resizing/repositioning Preview document windows


  • Subject: Re: AppleScript for resizing/repositioning Preview document windows
  • From: Barry Fass-Holmes via AppleScript-Users <email@hidden>
  • Date: Mon, 23 Oct 2023 12:16:42 -0700

Hi Deivy,

*Many* thanks; that did the trick (woo hoo!).

Barry

> On Oct 23, 2023, at 11:23 AM, Deivy Petrescu <email@hidden> wrote:
>
> Hello Barry
> I am not sure if the loop doesn’t set the size or it is the last bound that
> doesn’t work, or both.
> In any case, when you loop with items like you did, the loop goes through
> reference of the items and not the items that we want it to loop.
> So, in general, when I loop in loops like the one you used, instead of
>
> set this_item to item i of _theWindows
>
> I use
>
> set this_item to contents of item i of _theWindows
>
> The contents of this_item is going to be the windows and not a reference to
> item x of _theWindows.
>
> In any case, with this modification Laine’s script works here.
>
>
> Best, be safe, wear mask, get vaccinated and keep social distance.
>
> Deivy Petrescu
> email@hidden
 _______________________________________________
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: AppleScript for resizing/repositioning Preview document windows
      • From: Deivy Petrescu via AppleScript-Users <email@hidden>
References: 
 >AppleScript for resizing/repositioning Preview document windows (From: Barry Fass-Holmes via AppleScript-Users <email@hidden>)

  • Prev by Date: Re: AppleScript for resizing/repositioning Preview document windows
  • Next by Date: Re: AppleScript for resizing/repositioning Preview document windows
  • Previous by thread: Re: AppleScript for resizing/repositioning Preview document windows
  • Next by thread: Re: AppleScript for resizing/repositioning Preview document windows
  • Index(es):
    • Date
    • Thread