Syntax
FileCreator$(File$)
Remarks
On the Macintosh, returns the four-character application signature for the application that created File$, a path and filename. In Windows, FileCreator$() is not available and generates an error.
Example
This Macintosh example checks the creator before opening the file specified by openme$. If the application signature is not "MSWD," a message is displayed.
openme$ = "HD:GAMES:GAME RULES" If FileCreator$(openme$) <> "MSWD" Then ans = MsgBox(openme$ + " was not created by Microsoft Word. " + \ "Open anyway?", 4) If ans = 0 Then endmacro = -1 End If If Not endmacro Then FileOpen .Name = openme$
See Also
FileType$(), MacID$(), SetFileCreatorAndType