I thought I'd muck around with the MenuBar stack . . . which is, in case you didn't know, a script-only stack, that by some sort of arcane magic manifests itself as a 'stack' stack (Yup: that's a seriously crappy way of describing what happens: you do better!) when the IDE is fired up.
Many long years syne I made a stack that would muck around with the MenuBar stack on the legacy IDE (LC 8), but, obviously, the settings would NOT stick between sessions.
Now, while editing script-only stacks in a text editor is possible, as I am almost entirely incapable of visualising what a stack might look like in my head, I would like to take a script-only stack (in current case the MenBar stack) and muck around with it in the IDE in the 'normal' way one mucks around with stacks, and then . . . and then . . . and then . . .
. . . somehow, save it 'back' to a script-only stack.
Mucking Around
Forum rules
Be kind.
Be kind.
- richmond62
- Posts: 3585
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Mucking Around
https://richmondmathewson.owlstown.net/
- tperry2x
- Posts: 2326
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: Mucking Around
If I was editing a livecodescript file, I'd do it from within the IDE using:
You could then select all, copy & paste into whatever stack you wanted to try stuff out in.
Then, when done, paste back in using the script editor in the same fashion, then save.
Or, if you don't have permissions to save the stack (windows and Linux), then:
[substitute path and filenames as needed]
Then manually copy the livecodescript file back into the relevant folder, replacing the original.
Of course, having made a backup first!
Code: Select all
edit the script of stack "revseutilities"
Then, when done, paste back in using the script editor in the same fashion, then save.
Or, if you don't have permissions to save the stack (windows and Linux), then:
Code: Select all
save stack "revseutilities" as "/home/tom/Desktop/revseutilities.livecodescript"
Then manually copy the livecodescript file back into the relevant folder, replacing the original.
Of course, having made a backup first!
Who is online
Users browsing this forum: No registered users and 5 guests