Script Window won't Open - Garbled Dialogue Box - RESOLVED!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 39
- Joined: Mon Apr 19, 2021 8:39 pm
Script Window won't Open - Garbled Dialogue Box - RESOLVED!
Script Window won't Open - Garbled Dialogue Box
Hi,
I've been trying to resolve this myself, I've searched the web and this forum but can't work this out.
I have written six small LiveCode stacks, all from the same template to automate certain tasks. Three work absolutely fine, the other three have become 'corrupted'?
When I try to edit any object scripts, the script window doesn't open. What I have noticed is that I get a window called revNewScriptEditor 1 in the Livecode Window menu.
I can't access the stack script, the card script or any script at all. When I try to quit without saving, I get a dialogue box that contains 'garbled' characters, with the following three buttons...
Do you want to save changes to stack "CCT_Change_Case"
[<p><font size="11".If you don't save your changes will be lost.</p>] [<p></p] ["and all other stacks in the file "CCT_Change_Case" before closing?</b><font size="11"></p></font>]
I've created new stacks and copied the objects across. However, as soon as I do this, the new stack has inherits the same behaviour.
I am using 32bit Livecode 9-6-1, but have installed and reinstalled numerous times with different versions both 32bit and 16bit. I have also deleted the Livecode preferences, but still, the issues persist.
I've moved the stacks to another computer, and the same thing happens. Three work fine and the other three I am unable to edit.
Any help would be gratefully received.
Kind regards,
Gary
PS I've had to remove screenshots as "You can’t post image, email or url links that are external to this domain. Please remove." which isn't helpful at all when trying to resolve problems!
Hi,
I've been trying to resolve this myself, I've searched the web and this forum but can't work this out.
I have written six small LiveCode stacks, all from the same template to automate certain tasks. Three work absolutely fine, the other three have become 'corrupted'?
When I try to edit any object scripts, the script window doesn't open. What I have noticed is that I get a window called revNewScriptEditor 1 in the Livecode Window menu.
I can't access the stack script, the card script or any script at all. When I try to quit without saving, I get a dialogue box that contains 'garbled' characters, with the following three buttons...
Do you want to save changes to stack "CCT_Change_Case"
[<p><font size="11".If you don't save your changes will be lost.</p>] [<p></p] ["and all other stacks in the file "CCT_Change_Case" before closing?</b><font size="11"></p></font>]
I've created new stacks and copied the objects across. However, as soon as I do this, the new stack has inherits the same behaviour.
I am using 32bit Livecode 9-6-1, but have installed and reinstalled numerous times with different versions both 32bit and 16bit. I have also deleted the Livecode preferences, but still, the issues persist.
I've moved the stacks to another computer, and the same thing happens. Three work fine and the other three I am unable to edit.
Any help would be gratefully received.
Kind regards,
Gary
PS I've had to remove screenshots as "You can’t post image, email or url links that are external to this domain. Please remove." which isn't helpful at all when trying to resolve problems!
Last edited by Gary Rathbone on Tue Apr 20, 2021 8:37 pm, edited 1 time in total.
Re: Script Window won't Open - Garbled Dialogue Box
Hello Gary,Gary Rathbone wrote: ↑Mon Apr 19, 2021 9:24 pmPS I've had to remove screenshots as "You can’t post image, email or url links that are external to this domain. Please remove." which isn't helpful at all when trying to resolve problems!
About the above statement, you will find (in about 7 more posts) that the ability to post pictures will be granted. Feel free to spam this thread, or find 6 other threads you feel deserve a comment, or even start a "Hi, I'm Gary" thread, and you'll find all kinds of ways to get to the 8th (picture posting) post count.
Meanwhile, if you want to post a url, you *can workaround* the limitation by just inserting non dot characters in place of the url you have uploaded the picture too.
For instance, let's say you upload the image to postimage.com (free, no sign in required, etc. )
1. click the share file and get the forum thumbnail link
2. paste it in your reply
3. edit the '.' to be something like '~' instead (or whatever character isn't in the link, if it has hyphens or carets or whatever...)
Once you post the link edited like the above suggests, I will be happy to post it for you.
-
- Posts: 39
- Joined: Mon Apr 19, 2021 8:39 pm
Re: Script Window won't Open - Garbled Dialogue Box
Thanks for that. Hopefully, I've provided enough information to get an answer to my query.
If not, I'll spam the list so I can upload the visuals.
If not, I'll spam the list so I can upload the visuals.
-
- VIP Livecode Opensource Backer
- Posts: 9579
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Script Window won't Open - Garbled Dialogue Box
Hi.
Not at all sure what is happening to you.
In a new session, can you create a new stack with a control or two, and open the Script Editor for any of them, or the card or stack? By the way, that gadget, like ALL things in LiveCode, is simple a stack, and it is named "revNewScriptEditor 1".
Craig
Not at all sure what is happening to you.
In a new session, can you create a new stack with a control or two, and open the Script Editor for any of them, or the card or stack? By the way, that gadget, like ALL things in LiveCode, is simple a stack, and it is named "revNewScriptEditor 1".
Craig
-
- Posts: 39
- Joined: Mon Apr 19, 2021 8:39 pm
Re: Script Window won't Open - Garbled Dialogue Box
Hi Craig,
With three of the stacks I can open and edit any script. With the other three, the script window doesn't open, no matter what script I select. This happens on my other computer as well. So I'm guessing it's something in the stacks themselves, but I can't get into the scripts to find out.
With three of the stacks I can open and edit any script. With the other three, the script window doesn't open, no matter what script I select. This happens on my other computer as well. So I'm guessing it's something in the stacks themselves, but I can't get into the scripts to find out.
-
- Posts: 39
- Joined: Mon Apr 19, 2021 8:39 pm
Re: Script Window won't Open - Garbled Dialogue Box
So, I'm guessing that no-one else has experienced this in Livecode? It's really weird and I now have concerns about the reliability of the Livecode IDE.
-
- VIP Livecode Opensource Backer
- Posts: 9579
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Script Window won't Open - Garbled Dialogue Box
I appreciate your frustration, but
Can you post one? And now saying that, is anyone concerned that this will "infect" their own machines if opened?
Craig
since you are the only one, it likely is something in those stacks, and not the LC IDE per se.So, I'm guessing that no-one else has experienced this in Livecode? It's really weird and I now have concerns about the reliability of the Livecode IDE.
Can you post one? And now saying that, is anyone concerned that this will "infect" their own machines if opened?
Craig
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Script Window won't Open - Garbled Dialogue Box
Hello Gary,
Could you post here (or upload to dropbox or wetransfer) one or more of the stacks that you cannot open their scripts, so we can have a look?
Kind regards,
Panos
--
Could you post here (or upload to dropbox or wetransfer) one or more of the stacks that you cannot open their scripts, so we can have a look?
Kind regards,
Panos
--
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Script Window won't Open - Garbled Dialogue Box
The script window does open, and has the default name. When there is no content in the window it usually means the script was saved with a syntax error that is significant enough that the compiler can't resolve it, so the content is blank. The script is there but can't be displayed.
You can try opening the stack in a text editor and look for the button script. Copy it somewhere. Then open the stack in LC, navigate to the card with the button, and in LC's message box:
Then you can open the script editor and paste in what you copied. When you try to apply the script, LC will tell you where the error is. Don't save the stack until you fix the problem or comment out the bad part.
You can try opening the stack in a text editor and look for the button script. Copy it somewhere. Then open the stack in LC, navigate to the card with the button, and in LC's message box:
Code: Select all
set the script of btn <name> to empty
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 39
- Joined: Mon Apr 19, 2021 8:39 pm
Re: Script Window won't Open - Garbled Dialogue Box
I half agree. I've already said it's something to do with the stacks as it happens consistently on two computers with half of the template stacks. However, I would expect a more reasonable response from the IDE for a coding error rather than total failure and returning garbage.dunbarx wrote: ↑Tue Apr 20, 2021 1:34 pmI appreciate your frustration, butsince you are the only one, it likely is something in those stacks, and not the LC IDE per se.So, I'm guessing that no-one else has experienced this in Livecode? It's really weird and I now have concerns about the reliability of the Livecode IDE.
Can you post one? And now saying that, is anyone concerned that this will "infect" their own machines if opened?
Craig
PS - I'm also replying as I've been told when I hit the magic number of 8 responses I get to post some screenshots.
-
- Posts: 39
- Joined: Mon Apr 19, 2021 8:39 pm
Re: Script Window won't Open - Garbled Dialogue Box
I think I'm getting somewhere with this...
-
- Posts: 39
- Joined: Mon Apr 19, 2021 8:39 pm
Re: Script Window won't Open - Garbled Dialogue Box
... the game is afoot...
[You cannot make another post so soon after your last.]
[You cannot make another post so soon after your last.]
-
- Posts: 39
- Joined: Mon Apr 19, 2021 8:39 pm
Re: Script Window won't Open - Garbled Dialogue Box
...nearly at the magic 8 then all will be revealed...
-
- Posts: 39
- Joined: Mon Apr 19, 2021 8:39 pm
Re: Script Window won't Open - Garbled Dialogue Box
...and I believe the cause of the issue is solved...although the consequences remain questionable...
-
- Posts: 39
- Joined: Mon Apr 19, 2021 8:39 pm
Re: Script Window won't Open - Garbled Dialogue Box
OK, so on launching three of my six stacks I am unable to access ANY scripts. The script window just doesn't open, nothing, no messages, no errors, nothing at all. The stacks were all created from the same template with some alterations, three stacks work, three stacks don't.
When quitting the three stacks that don't respond, I get the following dialogue box.
When quitting the three stacks that don't respond, I get the following dialogue box.