Re: Cannot use Message Box
On 5/21/11 5:28 PM, paul foraker wrote: Build 1392 fixed the Chrome variable problem for LC 4.6.1, but no previous version of LC works on my machine in the current user. By not working I mean that I cannot type in the Message Box, and I cannot check the variables in the Script Editor. The workaround for me at the moment is to switch users. For some reason, another user on this computer does not have that problem, even with Chrome running. That's not surprising, since the fix was implemented in LiveCode 4.6.1 gm 2, and no previous versions have it. The Chrome system variable didn't appear until very recently. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
Build 1392 fixed the Chrome variable problem for LC 4.6.1, but no previous version of LC works on my machine in the current user. By not working I mean that I cannot type in the Message Box, and I cannot check the variables in the Script Editor. The workaround for me at the moment is to switch users. For some reason, another user on this computer does not have that problem, even with Chrome running. -- Paul ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
Well I guess that's the point. We shouldn't be clearing globals that don'e belong to LC so why on earth is LC even trying to look at system globals that don;t belong to it? Pete Molly's Revenge http://www.mollysrevenge.com On Sat, May 7, 2011 at 7:27 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 5/7/11 7:46 PM, Pete wrote: I didn't get the error message but I'm sure the cause was the same. I'm thinking maybe this should be reported as a bug. It's puzzling why LC should be chasing down global variables it doesn't care about and not being prepared to deal with slashes I guess is a side effect of that. Plus there's lots of variables that have slashes in them. Those are system globals, and LiveCode allows you to use any of them. You can create your own too, actually. LiveCode does not discriminate, it just displays whatever the OS gives it. The variables will be different from one OS and machine to another. It isn't so much that LiveCode doesn't need those globals; LiveCode presents them in case you or your scripts want to use them. It may be a bug though that LiveCode doesn't deal correctly with system globals containing slashes. That part could be reported. You can clear system globals from LiveCode by simply putting empty into them, like any other variable; i.e. put empty into $#. You shouldn't need to restart the IDE if you do that. But since they are system globals, changing them may affect other apps that use them so go carefully. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
There is a bug in LC that is revealed when Google Chrome gets an update. It make a $variable dirty. If you restart your computer the issue will go away. Mark Waddingham is aware of the issue. -Mark Canela Software On May 7, 2011, at 4:45 PM, Pete p...@mollysrevenge.com wrote: Hi Phil, I'm thinking my problem was the same as yours. If I right-clicked a control then selected the Edit Script option, the cursor changed to a watch and no script editor window was displayed. Repeated the same thing and I got a script editor window. I could edit scripts OK but if I clicked the Variables tab, the variables displayed briefly then disappeared again. I use Google Chrome as my main browser so I'll bet it was the same problem. Out of interest, do you know what the variable name was? Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
In my case, I continue to have the problem (cannot execute from Message Box) after restarting the computer, and launching LiveCode without having launched Chrome. (I wonder if Chrome is doing something without having been launched.) So, I used fast user switching, switched to another user and launched LiveCode for the first time, registered, and it works! The Message Box is functional. I'll try the deleting bad globals idea in the original user space. Much gratitude for the support here. This is a terrific community. -- Paul On Sun, May 8, 2011 at 7:52 AM, Mark Talluto use...@canelasoftware.comwrote: There is a bug in LC that is revealed when Google Chrome gets an update. It make a $variable dirty. If you restart your computer the issue will go away. Mark Waddingham is aware of the issue. -Mark Canela Software On May 7, 2011, at 4:45 PM, Pete p...@mollysrevenge.com wrote: Hi Phil, I'm thinking my problem was the same as yours. If I right-clicked a control then selected the Edit Script option, the cursor changed to a watch and no script editor window was displayed. Repeated the same thing and I got a script editor window. I could edit scripts OK but if I clicked the Variables tab, the variables displayed briefly then disappeared again. I use Google Chrome as my main browser so I'll bet it was the same problem. Out of interest, do you know what the variable name was? Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- White Feather Software www.whitefeather.com Cell: 408-391-1480 Skype: pwforaker ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
I too am thinking this Message Box problem is somehow related to problems with the Script Editor. When I open a script, I cannot display the variables. When I click on the Variables tab, I get $Apple_PubSub_Socket_Render displaying for a brief moment and then whichever tab was selected previously gets reselected. -- Paul ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Cannot use Message Box
Ever since I installed version 4.6.1, the Message Box no longer responds to Return or Enter. I can type in it (both single and multi-line) but cannot execute anything. Weirdly, this also happens now with previous versions. I have made no changes to a utility stack I keep in the back, and this occurs with any stack I open. I tried searching for returnKey in all stacks. Nada. Anyone got a suggestion as to what to try next? -- Paul ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
This might not help, but the multi line message box uses the enter key and not the return key. Try turning on Livecode UI elements in Lists and then search through those stacks. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On May 7, 2011, at 4:59 AM, paul foraker wrote: Ever since I installed version 4.6.1, the Message Box no longer responds to Return or Enter. I can type in it (both single and multi-line) but cannot execute anything. Weirdly, this also happens now with previous versions. I have made no changes to a utility stack I keep in the back, and this occurs with any stack I open. I tried searching for returnKey in all stacks. Nada. Anyone got a suggestion as to what to try next? -- Paul ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
This happened to me a few months ago, though it went away. It resolves itself if, when you first open the msg box, you click in the lower field and hit return. From then on all is well. A thread I started at that time was inconclusive, some not knowing what I was talking about, some having seen the behavior now and then. I saw this in v.4.0 through 4.5. Never in 3.x. I thought it was something in the 4x build. That it went away is odd, but gratifying. Craig Newman -Original Message- From: Thomas McGrath III mcgra...@mac.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Sat, May 7, 2011 8:41 am Subject: Re: Cannot use Message Box This might not help, but the multi line message box uses the enter key and not the return key. Try turning on Livecode UI elements in Lists and then search through those stacks. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On May 7, 2011, at 4:59 AM, paul foraker wrote: Ever since I installed version 4.6.1, the Message Box no longer responds to Return or Enter. I can type in it (both single and multi-line) but cannot execute anything. Weirdly, this also happens now with previous versions. I have made no changes to a utility stack I keep in the back, and this occurs with any stack I open. I tried searching for returnKey in all stacks. Nada. Anyone got a suggestion as to what to try next? -- Paul ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
Thanks, Craig, but unfortunately that didn't fix it. It's very odd being completely without command line! On Sat, May 7, 2011 at 8:14 AM, dunb...@aol.com wrote: This happened to me a few months ago, though it went away. It resolves itself if, when you first open the msg box, you click in the lower field and hit return. From then on all is well. A thread I started at that time was inconclusive, some not knowing what I was talking about, some having seen the behavior now and then. I saw this in v.4.0 through 4.5. Never in 3.x. I thought it was something in the 4x build. That it went away is odd, but gratifying. Craig Newman -Original Message- From: Thomas McGrath III mcgra...@mac.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Sat, May 7, 2011 8:41 am Subject: Re: Cannot use Message Box This might not help, but the multi line message box uses the enter key and not the return key. Try turning on Livecode UI elements in Lists and then search through those stacks. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On May 7, 2011, at 4:59 AM, paul foraker wrote: Ever since I installed version 4.6.1, the Message Box no longer responds to Return or Enter. I can type in it (both single and multi-line) but cannot execute anything. Weirdly, this also happens now with previous versions. I have made no changes to a utility stack I keep in the back, and this occurs with any stack I open. I tried searching for returnKey in all stacks. Nada. Anyone got a suggestion as to what to try next? -- Paul ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- White Feather Software www.whitefeather.com Cell: 408-391-1480 Skype: pwforaker ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
On Sat, May 7, 2011 at 5:41 AM, Thomas McGrath III mcgra...@mac.com wrote: This might not help, but the multi line message box uses the enter key and not the return key. Yeah, the Enter key in the multiline box doesn't work either. Try turning on Livecode UI elements in Lists and then search through those stacks. Thanks, I just now tried that. The only stack with returnKey is revRotate and it's in a card script. -- White Feather Software www.whitefeather.com Cell: 408-391-1480 Skype: pwforaker ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
On Sat, May 7, 2011 at 1:47 PM, paul foraker p...@whitefeather.com wrote: Thanks, I just now tried that. The only stack with returnKey is revRotate and it's in a card script. Turns out that the Find interface does not find all occurrences in the rev stacks. I searched for rawKeyDown and it did not find the rawKeyDown in the messagebox.rev stack. So, I'm stumped. Something is trapping return and enter in my Message Box. I can type Return and Enter in the Message Box results field, but not in the command line. In the multiline Message Box, I can type Return in the command lines field to enter more than one line of code, but Enter does nothing. The modifier keys don't help. This problem is happening on my iMac, 10.6.7, with all versions of Rev and LiveCode on my drive. None of them has a functioning Message Box. I can type in it, but cannot execute. I have no stacks in use, and no plugins loaded. This is not happening on my laptop, also 10.6.7. I can drag out a button and execute one-liners from that, but that's not really an acceptable workaround. I'll send a request to support. -- Paul -- White Feather Software www.whitefeather.com Cell: 408-391-1480 Skype: pwforaker ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
Hi Paul, Can you edit scripts OK? This reminds me of a weird LC problem I had a few days ago that was caused by the existence of a global (an environment variable created by Google Chrome apparently) that had slashes in the name. It went away when I restarted my machine. On 5/7/11 3:54 PM, paul foraker wrote: This problem is happening on my iMac, 10.6.7, with all versions of Rev and LiveCode on my drive. None of them has a functioning Message Box. I can type in it, but cannot execute. I have no stacks in use, and no plugins loaded. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
Hey Paul, I just today ran into almost the exact same problem running on my Mac with any version of LC, along with some other very weird behavior. As a last resort I restarted my Mac and all works OK again. If you haven't restarted recently, give it a try. Pete Molly's Revenge http://www.mollysrevenge.com On Sat, May 7, 2011 at 3:54 PM, paul foraker p...@whitefeather.com wrote: On Sat, May 7, 2011 at 1:47 PM, paul foraker p...@whitefeather.com wrote: Thanks, I just now tried that. The only stack with returnKey is revRotate and it's in a card script. Turns out that the Find interface does not find all occurrences in the rev stacks. I searched for rawKeyDown and it did not find the rawKeyDown in the messagebox.rev stack. So, I'm stumped. Something is trapping return and enter in my Message Box. I can type Return and Enter in the Message Box results field, but not in the command line. In the multiline Message Box, I can type Return in the command lines field to enter more than one line of code, but Enter does nothing. The modifier keys don't help. This problem is happening on my iMac, 10.6.7, with all versions of Rev and LiveCode on my drive. None of them has a functioning Message Box. I can type in it, but cannot execute. I have no stacks in use, and no plugins loaded. This is not happening on my laptop, also 10.6.7. I can drag out a button and execute one-liners from that, but that's not really an acceptable workaround. I'll send a request to support. -- Paul -- White Feather Software www.whitefeather.com Cell: 408-391-1480 Skype: pwforaker ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
Hi Phil, I'm thinking my problem was the same as yours. If I right-clicked a control then selected the Edit Script option, the cursor changed to a watch and no script editor window was displayed. Repeated the same thing and I got a script editor window. I could edit scripts OK but if I clicked the Variables tab, the variables displayed briefly then disappeared again. I use Google Chrome as my main browser so I'll bet it was the same problem. Out of interest, do you know what the variable name was? Pete Molly's Revenge http://www.mollysrevenge.com On Sat, May 7, 2011 at 4:29 PM, Phil Davis rev...@pdslabs.net wrote: Hi Paul, Can you edit scripts OK? This reminds me of a weird LC problem I had a few days ago that was caused by the existence of a global (an environment variable created by Google Chrome apparently) that had slashes in the name. It went away when I restarted my machine. On 5/7/11 3:54 PM, paul foraker wrote: This problem is happening on my iMac, 10.6.7, with all versions of Rev and LiveCode on my drive. None of them has a functioning Message Box. I can type in it, but cannot execute. I have no stacks in use, and no plugins loaded. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
Hi Pete, Chrome is my default browser too. Here is what I posted when it happened: Apparently Google Chrome defined a global on my Mac that is crippling all my versions of LiveCode. LC can't do ANYTHING that requires dealing with globals - like opening the script editor - because it runs into this global var name and doesn't know what to do with it (I assume because of the slashes in the var name). I went back to Rev 4.0 and tried to edit a script; I get this error message: |executing at 9:09:00 PM Typedo: error in source expression Object Variables Linedo tStatement Hintglobal $COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET | Note the global name in the Hint line above: COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET I opened Terminal and typed set to see the vars defined, and there it was with a value of /tmp/launch-FbX6le/ServiceProcessSocket. Now my question... How do I delete it from the Terminal command line? I don't remember! He! Has anyone else seen this? Thanks for any help you can offer. Thankfully a computer restart took care of it. On 5/7/11 4:45 PM, Pete wrote: Hi Phil, I'm thinking my problem was the same as yours. If I right-clicked a control then selected the Edit Script option, the cursor changed to a watch and no script editor window was displayed. Repeated the same thing and I got a script editor window. I could edit scripts OK but if I clicked the Variables tab, the variables displayed briefly then disappeared again. I use Google Chrome as my main browser so I'll bet it was the same problem. Out of interest, do you know what the variable name was? Pete Molly's Revengehttp://www.mollysrevenge.com On Sat, May 7, 2011 at 4:29 PM, Phil Davisrev...@pdslabs.net wrote: Hi Paul, Can you edit scripts OK? This reminds me of a weird LC problem I had a few days ago that was caused by the existence of a global (an environment variable created by Google Chrome apparently) that had slashes in the name. It went away when I restarted my machine. On 5/7/11 3:54 PM, paul foraker wrote: This problem is happening on my iMac, 10.6.7, with all versions of Rev and LiveCode on my drive. None of them has a functioning Message Box. I can type in it, but cannot execute. I have no stacks in use, and no plugins loaded. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
I didn't get the error message but I'm sure the cause was the same. I'm thinking maybe this should be reported as a bug. It's puzzling why LC should be chasing down global variables it doesn't care about and not being prepared to deal with slashes I guess is a side effect of that. Plus there's lots of variables that have slashes in them. I don;t see that variable on my computer right now so I guess Chrome only creates it under certain circumstances. Pete Molly's Revenge http://www.mollysrevenge.com On Sat, May 7, 2011 at 4:56 PM, Phil Davis rev...@pdslabs.net wrote: Hi Pete, Chrome is my default browser too. Here is what I posted when it happened: Apparently Google Chrome defined a global on my Mac that is crippling all my versions of LiveCode. LC can't do ANYTHING that requires dealing with globals - like opening the script editor - because it runs into this global var name and doesn't know what to do with it (I assume because of the slashes in the var name). I went back to Rev 4.0 and tried to edit a script; I get this error message: |executing at 9:09:00 PM Typedo: error in source expression Object Variables Linedo tStatement Hintglobal $COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET | Note the global name in the Hint line above: COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET I opened Terminal and typed set to see the vars defined, and there it was with a value of /tmp/launch-FbX6le/ServiceProcessSocket. Now my question... How do I delete it from the Terminal command line? I don't remember! He! Has anyone else seen this? Thanks for any help you can offer. Thankfully a computer restart took care of it. On 5/7/11 4:45 PM, Pete wrote: Hi Phil, I'm thinking my problem was the same as yours. If I right-clicked a control then selected the Edit Script option, the cursor changed to a watch and no script editor window was displayed. Repeated the same thing and I got a script editor window. I could edit scripts OK but if I clicked the Variables tab, the variables displayed briefly then disappeared again. I use Google Chrome as my main browser so I'll bet it was the same problem. Out of interest, do you know what the variable name was? Pete Molly's Revengehttp://www.mollysrevenge.com On Sat, May 7, 2011 at 4:29 PM, Phil Davisrev...@pdslabs.net wrote: Hi Paul, Can you edit scripts OK? This reminds me of a weird LC problem I had a few days ago that was caused by the existence of a global (an environment variable created by Google Chrome apparently) that had slashes in the name. It went away when I restarted my machine. On 5/7/11 3:54 PM, paul foraker wrote: This problem is happening on my iMac, 10.6.7, with all versions of Rev and LiveCode on my drive. None of them has a functioning Message Box. I can type in it, but cannot execute. I have no stacks in use, and no plugins loaded. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
On 5/7/11 7:46 PM, Pete wrote: I didn't get the error message but I'm sure the cause was the same. I'm thinking maybe this should be reported as a bug. It's puzzling why LC should be chasing down global variables it doesn't care about and not being prepared to deal with slashes I guess is a side effect of that. Plus there's lots of variables that have slashes in them. Those are system globals, and LiveCode allows you to use any of them. You can create your own too, actually. LiveCode does not discriminate, it just displays whatever the OS gives it. The variables will be different from one OS and machine to another. It isn't so much that LiveCode doesn't need those globals; LiveCode presents them in case you or your scripts want to use them. It may be a bug though that LiveCode doesn't deal correctly with system globals containing slashes. That part could be reported. You can clear system globals from LiveCode by simply putting empty into them, like any other variable; i.e. put empty into $#. You shouldn't need to restart the IDE if you do that. But since they are system globals, changing them may affect other apps that use them so go carefully. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
On 5/7/11 6:29 PM, Phil Davis wrote: Hi Paul, Can you edit scripts OK? This reminds me of a weird LC problem I had a few days ago that was caused by the existence of a global (an environment variable created by Google Chrome apparently) that had slashes in the name. It went away when I restarted my machine. I don't use Chrome myself, but I wonder if those who do would want to create a preventative button with a script that removes the contents of that global. Since the message box is useless when the problem occurs, you can't just type the command there to execute it. But if you had a premade button, you could open the stack and click it. on mouseUp put empty into $COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET end mouseUp Then things should work again, hopefully. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
On 5/7/11 9:27 PM, J. Landman Gay wrote: It may be a bug though that LiveCode doesn't deal correctly with system globals containing slashes. That part could be reported. I'm not sure what I wrote is right. I just looked and I have several system globals that both contain file paths with slashes. Neither are causing me any of the problems that were reported. I wonder if it's only that specific Chrome global that is a problem (I don't have that one) or if it's something else. I see these (plus my $HOME path): $Apple_PubSub_Socket_Render /tmp/launch-3oUaJY/Render $SSH_AUTH_SOCK /tmp/launch-SBZadR/Listeners $DISPLAY/tmp/launch-g2EBYc/org.x:0 $SHELL /bin/bash $TMPDIR /var/folders/lK/lKqfANrNTRai6m7q-jKrtU+++TI/-Tmp-/ $PATH /usr/bin:/bin:/usr/sbin:/sbin -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
Jacque wrote: It may be a bug though that LiveCode doesn't deal correctly with system globals containing slashes. That part could be reported. I'm not sure what I wrote is right. I just looked and I have several system globals that both contain file paths with slashes. Neither are causing me any of the problems that were reported. The vars that work have slashes only in the values, but with the one giving Phil trouble there are slashes in the name. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Cannot use Message Box
On 5/7/11 10:11 PM, Richard Gaskin wrote: Jacque wrote: It may be a bug though that LiveCode doesn't deal correctly with system globals containing slashes. That part could be reported. I'm not sure what I wrote is right. I just looked and I have several system globals that both contain file paths with slashes. Neither are causing me any of the problems that were reported. The vars that work have slashes only in the values, but with the one giving Phil trouble there are slashes in the name. Yes! Exactly. The problem (as I understand it) occurs when LiveCode attempts to reference the variable, before doing anything with it. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode