Page 1 of 1

Naming, Saving, Editing Stack Name

Posted: Sun May 06, 2012 2:22 pm
by spencer
Mistyped "Hello WOrld" and can't change it by editing the stack name in the property inspector because it does not seem to save the change. So I deleted the file, created a new stack, but the old misspelled name is still there. I don't understand how naming and saving and editing names works.

I am surprised that when I save a stack, the name in the title bar does not change to the stack name. I can create a new stack, name it "Hello World", but can't save it, as there is already a stack with that name, even though I deleted the file "Hello World.livecode" in my documents folder. What is on the titlebar, remembered by livecode, and saved to my hard drive seem to be different when I would have thought they would be the same.

Re: Naming, Saving, Editing Stack Name

Posted: Sun May 06, 2012 2:50 pm
by Klaus
Hi Spencer,

since a stack file can contain more than one stack (main- and substacks), the NAME of the stack
can bedifferent than the FILENAME of the stack.
And you can even set the TITLE of stack to something compeltey different :)

But I also experienced, that one cannot change the NAME of a stack sometimes even if you only corect
the CASE of ONE character, but still have no receipe for this nor a solution...


Best

Klaus

Re: Naming, Saving, Editing Stack Name

Posted: Sun May 06, 2012 4:04 pm
by gpb01
Klaus wrote: ...
But I also experienced, that one cannot change the NAME of a stack sometimes even if you only corect
the CASE of ONE character, but still have no receipe for this nor a solution...
...
Maybe Spencer can make two steps change ...
... first change from "Hello WOrld" to "Hello World 1", next back to the correct "Hello World" ... ;)

Guglielmo

P.S. : Is like if you try to change just the case of one character in the name of a Windows file/directory ... no way if you don't use this little trick ...

Re: Naming, Saving, Editing Stack Name

Posted: Sun May 06, 2012 4:44 pm
by Klaus
Ah, cool trick, thanks :)