Scripting 'Path Finder'
Scripting 'Path Finder'
- Subject: Scripting 'Path Finder'
- From: Mr Tea <email@hidden>
- Date: Thu, 16 Oct 2003 16:27:00 +0100
Anyone here using Pathfinder 3?
It's evolved almost beyond recognition from the early SNAX and Path Finder 2
prototypes, and IMO it's a damn fine piece of work. Disk images mount almost
instantly; moving and copying between distant locations is joyously simple
(thanks to the brilliant new 'Drop Stack' feature), and navigating through
deeply nested folder heirarchies is a cinch. The new version bristles with
so many useful and intuitive features that it might actually outlive its
novelty value and push the 'built-in' Finder onto the back burner - at least
for the next week or so.
The only major drawback is Path Finder's impoverished scripting dictionary.
The developer (at <
http://www.cocoatech.com/pathfinder3/faqs.php>), says:
"Part of the problem is that applescript support for
Cocoa applications in Mac OS 10.2 and lower isn9t
very good, so there will be occasions when Apple9s
Finder is required".
Is this going to change significantly in the impending OS X 10.3?
And in the meantime, what's up with this... ?
Setting the bounds of a window should be a doddle - even for a Cocoa app -
but Path Finder makes it less than straightforward.
This...
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 :-)
Cordially,
Nick
pp Mr Tea
_______________________________________________
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.