
thanks to everybody,
Lestroso

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
on mouseUp
ask "What is the name of your new stack?"
put it into IMENA
create stack IMENA
save stack IMENA
end mouseUp
Code: Select all
on mouseUp
ask "What is the name of your new stack?"
put it into IMENA
create stack IMENA
save stack IMENA as (IMENA & ".livecode")
end mouseUp
That may be because you are not permitted to make new, savable stacks in a standalone.i have tryed also to compile the richmond62 file example in to an app
Code: Select all
...
save stack IMENA as (IMENA & ".livecode")
...
Code: Select all
...
save stack IMENA as (specialfolderpath("documents") & "/" & IMENA & ".livecode")
...
Code: Select all
on mouseUp
ask "What is the name of your new stack?"
put it into newStack
create stack newStack
answer folder "Select Folder" -- SELECT DESTINATION FOLDER FOR TESTING
save stack newStack as (it & "/" & newStack & ".livecode")
end mouseUp
Heya Lestroso, I'm sorry, I didn't bother putting in that you needed to specify a path with that example, based on how many programs I'd seen that you've authored, I assumed (theres that word againFasasoftware wrote: ↑Tue Apr 10, 2018 6:11 pmit create the name and the stack itself...but your software don't save the new stack either in a directory where there's the first stack in this case stacker ....and no everywhere...
i need to save a new custom stack in a directory...
Come on, Richmond, you can't be serious!?richmond62 wrote: ↑Tue Apr 10, 2018 6:54 pmThat may be because you are not permitted to make new, savable stacks in a standalone.i have tryed also to compile the richmond62 file example in to an app
Code: Select all
on mouseUp
ask "What is the name of your new stack?"
put it into newStack
clone this stack --newStack
put newstack into title of the stack
answer folder "Select Folder" -- SELECT DESTINATION FOLDER FOR TESTING
save stack newStack as (it & "/" & newStack & ".livecode")
end mouseUp
Code: Select all
...
ask "What is the name of your new stack?"
put it into newStack
clone this stack AS newStack
...