Re: It was two years ago
Re: It was two years ago
- Subject: Re: It was two years ago
- From: KOENIG Yvan <email@hidden>
- Date: Sat, 5 May 2007 14:23:28 +0200
Le 5 mai 07 à 13:12:40, Ronald Hofmann a écrit :
What doesn´t work on your example?
I tried it here and it worked well.
Ronald
---
I'm not sure that my friend Emile Schwartz is on line at this time so
I will respond "for him".
The problem is that when he set an object's position as he wrote, the
object doesn't remain where he put it.
It is a well known oddity.
I met it and I am now using a workaround found on an other forum (at
least if I remember well).
The tip is to switch the toolbar visibility.
tell container window
set ao to class is Finder window
open
set current view to icon view
set properties of its icon view options to ¬
{arrangement:arranged by name, icon size:128}
set bounds to b
set toolbar visible to toolbar
set toolbar visible to not toolbar
set toolbar visible to toolbar
if not ao then close
end tell -- to container window
In this sample, the variable toolbar is set by the caller as true or
false according to the wanted aspect.
Yvan KOENIG (from FRANCE samedi 5 mai 2007 14:20:04)
_______________________________________________
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