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

Re: folder resize & move


  • Subject: Re: folder resize & move
  • From: kai <email@hidden>
  • Date: Thu, 6 Jul 2006 04:59:23 +0100


On 6 Jul 2006, at 03:10, Daniel Yezhov wrote:

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?

This is a known issue, Dan. Until a fix is forthcoming, I'm afraid the workaround is not a pretty one:


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 v to dWin's toolbar visible set dWin's toolbar visible to not v set dWin's toolbar visible to v

	set position of dFile to {370, 120}
	close dWin
end tell

--- kai


_______________________________________________ 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:
    • Folder actions
      • From: Simon Troup <email@hidden>
References: 
 >folder resize & move (From: "Daniel Yezhov" <email@hidden>)

  • Prev by Date: Re: folder resize & move
  • Next by Date: parsing a large text file
  • Previous by thread: Re: folder resize & move
  • Next by thread: Folder actions
  • Index(es):
    • Date
    • Thread