Really weird occurence in Saving a Mac Stand alone

J. Landman Gay jacque at hyperactivesw.com
Fri Apr 6 01:41:43 EDT 2007


Joe Lewis Wilkins wrote:
> Hi All,
> 
> You've got to hand it to me. I DO have the weirdest things happen.
> 
> I saved a Standalone. I opened the Mac OSX version. Played with it a 
> bit, then decided I wanted to save a copy. So I selected the Save A copy 
> As... with the following handler in  the File menu:
> 
> case "Save A Copy As..."
>     answer folder "Select destination folder for backup: "
>     if the result is "Cancel" then exit menupick
>     revCopyFile (the effective fileName of this stack), it
>     break
> 
> Then I went looking to see if the changes I'd made were actually saved, 
> but lo and behold a PC exe version was where the saved copy should have 
> been.
> 
> Any thoughts?

I can't say I've ever tried to save a copy of a standalone from within 
itself. But are you sure it's a PC executable? Or does the Finder just 
think it is, and is assigning the wrong icon? I'm betting that the 
creator/type codes weren't set, and the Finder has no idea what kind of 
file that is.

I'm also wondering if you actually got an executable file, or just a 
copy of the main stack. Are the file sizes on disk the same between the 
two copies? If they are the same, then you might be able to use a 
creator/type editor to change the type to "APPL" and you'd be in business.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list