Re: Scripting 'Path Finder'
Re: Scripting 'Path Finder'
- Subject: Re: Scripting 'Path Finder'
- From: Emmanuel <email@hidden>
- Date: Thu, 16 Oct 2003 18:00:10 +0200
At 4:27 PM +0100 16/10/03, Mr Tea wrote:
>
tell application "Path Finder"
>
set bounds of Finder Window 1 to pfB
>
end tell
>
>
... makes an 'error of type 8' occur. But I can sneak up behind the window
>
and cosh it into submission with this...
>
>
tell application "Path Finder"
>
set winID to id of Finder window 1
>
set bounds of (every window whose id is winID) to pfB
>
end tell
>
>
(Value of pfB is {230, 73, 1050, 983}.)
>
>
Why does this 'back door' approach work while the more direct command fails?
>
Thanks for any insights :-)
Tried "bounds of (get Finder Window 1)"?
(I don't know Path Finder, I don't know what a Finder Window is for it etc.)
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.