Re: Portfolio - close a catalog?
Re: Portfolio - close a catalog?
- Subject: Re: Portfolio - close a catalog?
- From: Paul Skinner <email@hidden>
- Date: Wed, 3 Jul 2002 09:38:40 -0400
tell application "Portfolio 6.1 Alpha 1"
activate
open alias "Macintosh HD:Users:paulskin:Desktop:testCatalog.fdb"
delay 3
close catalog alias "Macintosh
HD:Users:paulskin:Desktop:testCatalog.fdb"
end tell
Works here OS 10.1.5/AS 1.8.3/PBr 6.1 Alpha 1. The dictionary looks like
'close catalog' wants an alias.
On Wednesday, July 3, 2002, at 06:55 AM, Michael Tompsett wrote:
I have a script to update a number of portfolio catalogs. The script
works
fine but there is one issue which currently needs a messy workaround.
After opening the first catalog I find I am unable to close it. To work
around it I am having to launch portfolio, open the catalog, do the
update
and then quit portfolio to close the catalog. Then I have to repeat the
process again for the next catalog.
Myabe I am just using the wrong syntax but the CLOSE and CLOSE CATALOG
do
not seem to work, always returning errors regardless of what is put
after
them
For example
Open file 3Mac HD:Portfolio:Images.fdb2 works fine but
Close file 3Mac HD:Portfolio:Images.fdb
Close current catalog
Close catalog 3Images.fdb:
Close current catalog
Etc etc
Do not work
Does know how to do this properly?
Thanks
Michael
--
Paul Skinner
I don't want to sell anything, buy anything or process anything as a
career. I don't want to sell anything bought or processed... or buy
anything sold or processed... or process anything sold, bought or
processed... or repair anything sold, bought or processed. You know, as
a career, I don't want to do that.
_______________________________________________
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.