folder resize & move
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