Page 1 of 1

Benincosa Exts

Posted: May 4th, 1993, 9:00 am
by Info-Mac
Download: http://archive.info-mac.org/dev/db/a4d/ ... sa-ext.hqx

To: [email protected]
X-VMS-To: IN%"[email protected]"

Benincosa
GetFile(centerV;centerH;fType;fCreator; iconID;prompt;fileName; pathName;err)

GetFile displays a modified SFGetFile dialog for opening a file, centered around the coordinates centerV and centerH. You may specify an optional type and/or creator for limiting the list of files to that type and/or creator. If the type or creator is

% PutFile(centerV; centerH; iconID; prompt; SFPrompt; origName; fileName; pathName; err)

PutFile displays a modified SFPutFile dialog for saving or creating a file, centered around the coordinates centerV and centerH.


SetFInfo(theFile; fType; fCreator) err
SetFInfo is a function which sets the file signature of theFile to the type and creator specified. This is primarily useful if you want to change the creator of a file, since the 4D Create document command will set the type. Any errors are returned in

ModSTR(resType; resID; index; theStr; readOrWrite) err