• 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
folder resize & move
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

folder resize & move


  • Subject: folder resize & move
  • From: "Daniel Yezhov" <email@hidden>
  • Date: Wed, 5 Jul 2006 19:10:13 -0700
  • Thread-topic: folder resize & move

Title: folder resize & move

Hello,
  I am new to AS development and am stuck on a seemingly simple action.  I'm trying to write an action that move and resized a finder window, as well as moving around the items in said window.  The script i've written does in fact do this.  But, when the window is closed and reopened, the changes are not saved.  That is, the window is not in the position it should be in.  What is interesting is that the item inside the window is in proper position. I've pasted my code below.  Can anybody help a struggling newbie?

Thanks alot in advance,
Dan


        tell application "Finder"
                activate
                set dWin to make Finder window to disk a --where a is a name of disk image
                select dWin
                set dFile to dWin's item 1
                set bounds of dWin to {1, 45, 500, 444}
                set position of dFile to {370, 120}
                close dWin
        end tell

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: folder resize & move
      • From: kai <email@hidden>
    • Re: folder resize & move
      • From: Dave Balderstone <email@hidden>
  • Prev by Date: Re: About weekday of date
  • Next by Date: Re: Check folder size - classes wrong???
  • Previous by thread: Re: Check folder size - classes wrong???
  • Next by thread: Re: folder resize & move
  • Index(es):
    • Date
    • Thread