[Blog] Script Only Stacks
Tim Bleiler
bleiler at buffalo.edu
Fri Mar 4 10:09:30 EST 2016
Thanks Jim,
Since you aren’t having the problem I tried a couple of other things. First, I had been dragging the file to the Livecode icon in the dock, so I tried opening it through the menu as you had done but I still get a file is not a stack message. I then shut my whole system down and tried everything again with the same result. So, it’s a bit mysterious.
Tim
> On Mar 3, 2016, at 3:22 PM, Jim Lambert <jiml at netrin.com> wrote:
>
>> TimB wrote:
>> If I open one up in TextEdit and save it, Livecode gives me the error message: “Unable to open stack: File is not a stack”.
>
> Hi Tim,
> I’m not seeing that here with LC 8.0 (dp 15)
>
> 1. Launch TextEdit
> 2. File > New
> 3. Format > Make Plain Text
> 4. type
>
> script "test2"
> on openstack
> answer "Wow!"
> end openstack
>
> 5. File > Save
> 6. name it
> “test2.livecode" Use UTF-8 encoding
> 7. File > Close
>
> 8. Switch to LC
> 9. File > Open Stack…
> 10. Select “test2.livecode”
> 11. Answer dialog appears with “Wow!”
>
> Jim Lambert
More information about the use-livecode
mailing list