Scenario: opening a Portfolio catalogue off the Portfolio Server on another machine via AppleScript. The Portfolio AppleScript documentation suggests the following command;
open server "192.168.76.21/myCatalogue.fdb"
That information is incorrect. The new Portfolio 5.0 connect strings should look like:
--Connect String for a file based catalog
open alias "Macintosh HD:Folder:myCatalogue.fdb" using mode publisher with password "myPassword"
--Connect String for a server based catalog
open server "portfolio://127.0.0.1/myCatalogue.fdb" using mode publisher with password "myPassword"
--Connect String for an SQL server based catalog
open server "portfoliosql://127.0.0.1/myCatalogue.fdb" using mode publisher with password "myPassword"
Remember, if using passwords, that you can't open a served Catalogue in Administrator mode - you must unserve it first.
Question: Errors in the AppleScript Scripting documentation (v5, Mac) [FAQ00214.htm]
Last Update:- 31 May 2006
Site and articles © Mark Anderson 2001-2007 - Visit my home page