Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!oscar.ccm.udel.edu!johnston From: johnston@oscar.ccm.udel.edu (William D. Johnston) Newsgroups: comp.sys.mac.hypercard Subject: Re: XFCN to change file type and creator? Message-ID: <49418@nigel.ee.udel.edu> Date: 1 Apr 91 03:08:44 GMT Sender: usenet@ee.udel.edu Lines: 11 Nntp-Posting-Host: oscar.ccm.udel.edu My novice question: why doesn't this script work? >on mouseUp > ChangeFileType("HD40:TempFolder:foo.txt", TEXT, ALFA) >end mouseUp The answer: ChangeFileType is an XFCN, not an XCMD. It must be invoked with "get" or "put". "get ChangeFileType(arg1,arg2,arg3) works file. Thanks to Chris Stluka and others for helpful suggestions. -- Bill Johnston (johnston@oscar.ccm.udel.edu)