Thanks to shaosean and Mark for their replies to my previous posts. I spent Thanksgiving working with LiveCode all day and finally feeling like I am making some progress! The absolutely amazing thing that I discovered is that I could actually open my old hypercard stacks, from a cd I had them stored on, in LiveCode. That just hadn't ocurred to me at all. Maybe it is in the documention somewhere, but I thought I would need an old Mac in the process somewhere. It shocked me when I found the old cd on which I had my stacks, and when I used the "open" command in LiveCode, (on a Windows PC!), and then selected "all files," my old Mac based Hypercard stacks popped right up. THAT was a great treat for Thanksgiving and I am truly thankful for THAT! Yes, there were some error messages when I opened the stacks but overall, the main stack I was interested in, actually worked pretty well once I got rid of color references.
It was pretty exciting to see BUT I do have two other questions that maybe someone could answer? In my old database, I used a "domenu find" command that apparently LiveCode doesn't recognize? When used in a button script, it would pop up a little dialog with the word "Find" and two quotes that you would type in the text you wanted to find. Then you would hit the return key and it would find the text. If you hit the return key again, it would go to the next occurence of the text and would continue to look for the strng of text, each time you pressed the return key. Regardless, I tried using the "find" command in Livecode but it doesn't present a dialog, so I tried using the "ask" command, which works to find the string one time but doesn't continue to look for it when I hit the return key after that? There must be some way to accomplish the same thing that I was using the "domenu find" in hypercard?
I'm also having a little trouble with my old "mark," and "unmark" and "find marked" buttons but maybe I'll figure it out.
Also, the "undo" command in the Edit menu in LiveCode doesn't seem to work? At this point, I make a lot of errors along the way and when I realize I have made a mistake, I try to use the "Undo" command but it doesn't seem to do anything?? Maybe it's a bug in the Windows trial version? Maybe there is something I'm missing?
So far, though, I am about halfway through my trial version and starting to actually make some progress, so I am thankful for that. Thanks!
Hypercard stacks, "domenu find," Undo command in Edit menu
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Hypercard stacks, "domenu find," Undo command in Edit menu
Hi sylvanr,
You need to write an undo script by yourself. This is quite difficult, you might skip it for now.
LiveCode doesn't recognise the doMenu commands. Indeed, you can use an ask dialog to enter a search term and use the find command to find the first next entry. Just don't do anything after that, to keep the little rectangle around the found word(s) visible. Indeed, the return doesn't automatically search for the next entry. It might be necesary to script the entire search routine yourself. Use a repeat loop to check all fields on all cards.
Best regards,
Mark
You need to write an undo script by yourself. This is quite difficult, you might skip it for now.
LiveCode doesn't recognise the doMenu commands. Indeed, you can use an ask dialog to enter a search term and use the find command to find the first next entry. Just don't do anything after that, to keep the little rectangle around the found word(s) visible. Indeed, the return doesn't automatically search for the next entry. It might be necesary to script the entire search routine yourself. Use a repeat loop to check all fields on all cards.
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode