On-Rev Desktop App not working (Mac)
Hi! After a (long) while, I tried to go with the On-Rev Desktop App.. The App seems to be locked at the login in... Is this related to the server change? I had a look into the App, but there is nowhere to change the website... ___ 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: Getting URL of a shoutcast server....
So basically you just need to trick it into recognizing your user agent it seems. As far as getting into the authorized parts of your site, libURLSetCustomHTTPHeaders GET / HTTP/1.1 cr Authorization: Basic base64Encode(username:password) cr User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 should do the trick. This sets the basic auth that shoutcast servers use to a base64encoded string of your username and password for the authorized parts of your shoutcast server. You might have the jiggle the handle a little bit with the headers in case they are checking the Referer or something. Here is a full header info of the unauthorized request I made to your admin page. Request URL:http://stream-11.streamsolutions.co.uk:9428/admin.cgi Request Method:GET Status Code:401 Unauthorized Request Headers GET /admin.cgi HTTP/1.1 Host: stream-11.streamsolutions.co.uk:9428 Connection: keep-alive Cache-Control: max-age=0 Authorization: Basic dGVzdDp0ZXN0 - this here is just the string test:test base64encod'd Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 Referer: http://stream-11.streamsolutions.co.uk:9428/ Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Response Headers HTTP/1.0 401 Unauthorized Server: Shoutcast DNAS WWW-authenticate: basic realm=Shoutcast Server Content-type: text/html On Mon, Jul 8, 2013 at 11:19 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Andrew, That must be it. The httpHeaders (or libUrlCustomHttpHeaders) are empty by default. However, if I check the user agent by connecting to a PHP script on my server, the server says the agent is Revolution (MacOS) or LiveCode (MacOS), even though the httpHeaders are empty. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/**xtalkprogrammerhttp://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi Fill out this survey please http://livecodebeginner.**economy-x-talk.com/survey/http://livecodebeginner.economy-x-talk.com/survey/ On 7/8/2013 17:43, Andrew Kluthe wrote: What does livecode's user-agent read as by default? Is it possible that the shoutcast server is not recognizing the user agent livecode presents and therefore not sending data? on mouseUp libURLSetCustomHTTPHeaders GET / HTTP/1.1 cr User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 put URLhttp://stream-11.**streamsolutions.co.uk:9428/http://stream-11.streamsolutions.co.uk:9428/ into sUrl answer sUrl end mouseUp produces the expected results for me. __**_ 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- Regards, Andrew Kluthe and...@ctech.me ___ 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: LiveCode and WebSockets
We know, I'm interested in websockets for realtime comms between apps. Right now I think it'd be possible to implement one or more of the supported transports for socket.io in pure LiveCode but maybe not very efficiently. An alternative would be to wrap existing native implementations as externals. I've not looked into it in any great depth as I'm basically waiting for the engine refactoring to be completed before trying to hook new stuff in. Pierre Sahores s...@sahores-conseil.com wrote: The HTTP(S) REST architecture is full supported on any LC desktop or mobile platform, iOS and Android included. They can be set to act as clients of any kind of nTier server side application (LC-Server, PHP, RoR, etc...). Le 8 juil. 2013 à 18:19, Mark Wilcox a écrit : I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. What do you have in mind? I'm certainly interested in discussing it. Mark From: Andrew Kluthe and...@ctech.me To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, 8 July 2013, 16:05 Subject: LiveCode and WebSockets I have been learning a little bit about websockets lately for a project and I have never really played around with livecode's socket communication methods. This makes me curious. Is there anyone else on the list that might be more familiar with both that would be interested in discussing using something like socket.io as part of a backend for livecode desktop applications? -- Regards, Andrew Kluthe and...@ctech.me ___ 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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: On-Rev Desktop App not working (Mac)
Hi Medard, if your account was moved to or is on one of the new servers like tio or pancake then the on-rev client will not work at the moment. There is still some hope Runrev will fix this. At least David Williams from Runrev told me that he has access to the source code of the client and that he will have a look at it if time allows. I for myself am doing coding/ftp now with Coda2 and Transmit under Mac OSX. This works very smooth. But i would prefer to use on-rev client again, especially because of its debugging features. Regards, Matthias Am 08.07.2013 um 19:01 schrieb Medard liste.r...@medard.on-rev.com: Hi! After a (long) while, I tried to go with the On-Rev Desktop App.. The App seems to be locked at the login in... Is this related to the server change? I had a look into the App, but there is nowhere to change the website... ___ 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: LiveCode and WebSockets
However, we don't have proper sockets support on mobile (without externals at least) I am mainly interested in desktop apps at the moment simply because we are doing most of our mobile apps as mobile web apps. However, this will change likely in the next few years if we were to see sockets and UI (resolution independence, etc) improvements on mobile. and websockets are very definitely not the same thing as standard sockets. I am having a hard time just finding straight forward info on the lower level websocket information. As of right now all the information I am finding is how to use websockets within this framework or that framework and nothing really about the differences between websockets and standard sockets. Also, socket programming in general (and in livecode) is new to me because up until now I have wrote most of my applications using http interfaces. Not having a non-blocking http client is really getting in the way of some of the things I want to do with livecode and I really would like realtime notifications, broadcasting, etc. Would you care to discuss the difference between websockets and the sockets we work with in livecode or point me to some basic information on the websocket implementation you think we could implement in pure livecode? What things would keep it from working very efficiently? Thanks for taking the time to respond, Andrew On Mon, Jul 8, 2013 at 1:35 PM, Mark Wilcox m_p_wil...@yahoo.co.uk wrote: We know, I'm interested in websockets for realtime comms between apps. Right now I think it'd be possible to implement one or more of the supported transports for socket.io in pure LiveCode but maybe not very efficiently. An alternative would be to wrap existing native implementations as externals. I've not looked into it in any great depth as I'm basically waiting for the engine refactoring to be completed before trying to hook new stuff in. Pierre Sahores s...@sahores-conseil.com wrote: The HTTP(S) REST architecture is full supported on any LC desktop or mobile platform, iOS and Android included. They can be set to act as clients of any kind of nTier server side application (LC-Server, PHP, RoR, etc...). Le 8 juil. 2013 à 18:19, Mark Wilcox a écrit : I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. What do you have in mind? I'm certainly interested in discussing it. Mark From: Andrew Kluthe and...@ctech.me To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, 8 July 2013, 16:05 Subject: LiveCode and WebSockets I have been learning a little bit about websockets lately for a project and I have never really played around with livecode's socket communication methods. This makes me curious. Is there anyone else on the list that might be more familiar with both that would be interested in discussing using something like socket.io as part of a backend for livecode desktop applications? -- Regards, Andrew Kluthe and...@ctech.me ___ 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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 -- Regards, Andrew Kluthe and...@ctech.me ___ 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: FranklinAudio in Standalone?
Hi Scott, Am 08.07.2013 um 18:49 schrieb Scott Rossi sc...@tactilemedia.com: Thanks Klaus. The external is getting copied over as expected, and I've tried manually setting the externals property of the stack with the bundle name of the external. But I think I'm still missing something. What does your external loading routine look like? I put ALL externals (also revdb.xxx and all other db drivers, no subfolder!) into a folder Externals. Then I do this on startup: on startup put the effective filename of stack The MAIN stack into tFile set itemdel to / put Externals into item -1 of tFolder put the folder into oldfolder set the folder to tFolder if the platform = MacOS then put the folders into tEx filter tEX with *.bundle else put the files into tEx filter tEx with *,dll end if repeat for each line i in tEx put tFolder / i CR after tEXList end repeat delete char -1 of tEXList set the externals of stack The MAIN stack to tEXList start using stack The MAIN stack set the folder to oldfolder end startup Thanks Regards, Scott Rossi Creative Director Tactile Media, UX Design Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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: FranklinAudio in Standalone?
Hi Klaus, shouldn´t it be tFolder instead of tFile in line 2 of your script? Regards, Matthias Am 08.07.2013 um 21:55 schrieb Klaus major-k kl...@major-k.de: Hi Scott, Am 08.07.2013 um 18:49 schrieb Scott Rossi sc...@tactilemedia.com: Thanks Klaus. The external is getting copied over as expected, and I've tried manually setting the externals property of the stack with the bundle name of the external. But I think I'm still missing something. What does your external loading routine look like? I put ALL externals (also revdb.xxx and all other db drivers, no subfolder!) into a folder Externals. Then I do this on startup: on startup put the effective filename of stack The MAIN stack into tFile set itemdel to / put Externals into item -1 of tFolder put the folder into oldfolder set the folder to tFolder if the platform = MacOS then put the folders into tEx filter tEX with *.bundle else put the files into tEx filter tEx with *,dll end if repeat for each line i in tEx put tFolder / i CR after tEXList end repeat delete char -1 of tEXList set the externals of stack The MAIN stack to tEXList start using stack The MAIN stack set the folder to oldfolder end startup Thanks Regards, Scott Rossi Creative Director Tactile Media, UX Design Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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: LiveCode and WebSockets
FYI, there is a mobile sockets plugin being developed by Monte at the moment. The first beta has been in our hands for a couple of weeks. Sockets are fun, and very involved. You are the one implementing the protocols. Sometimes that's exactly what you need, and other times, it's extra work you weren't planning on. I think one of the things you will run into is that we do not have a good way to launch and manage secondary processes, yet. You might be better off to have your socket goodies running in livecode server, or in a separate instance of LC so that you have an easier time keeping all the communication, etc. straight. On Mon, Jul 8, 2013 at 2:51 PM, Andrew Kluthe and...@ctech.me wrote: However, we don't have proper sockets support on mobile (without externals at least) I am mainly interested in desktop apps at the moment simply because we are doing most of our mobile apps as mobile web apps. However, this will change likely in the next few years if we were to see sockets and UI (resolution independence, etc) improvements on mobile. and websockets are very definitely not the same thing as standard sockets. I am having a hard time just finding straight forward info on the lower level websocket information. As of right now all the information I am finding is how to use websockets within this framework or that framework and nothing really about the differences between websockets and standard sockets. Also, socket programming in general (and in livecode) is new to me because up until now I have wrote most of my applications using http interfaces. Not having a non-blocking http client is really getting in the way of some of the things I want to do with livecode and I really would like realtime notifications, broadcasting, etc. Would you care to discuss the difference between websockets and the sockets we work with in livecode or point me to some basic information on the websocket implementation you think we could implement in pure livecode? What things would keep it from working very efficiently? Thanks for taking the time to respond, Andrew On Mon, Jul 8, 2013 at 1:35 PM, Mark Wilcox m_p_wil...@yahoo.co.uk wrote: We know, I'm interested in websockets for realtime comms between apps. Right now I think it'd be possible to implement one or more of the supported transports for socket.io in pure LiveCode but maybe not very efficiently. An alternative would be to wrap existing native implementations as externals. I've not looked into it in any great depth as I'm basically waiting for the engine refactoring to be completed before trying to hook new stuff in. Pierre Sahores s...@sahores-conseil.com wrote: The HTTP(S) REST architecture is full supported on any LC desktop or mobile platform, iOS and Android included. They can be set to act as clients of any kind of nTier server side application (LC-Server, PHP, RoR, etc...). Le 8 juil. 2013 à 18:19, Mark Wilcox a écrit : I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. What do you have in mind? I'm certainly interested in discussing it. Mark From: Andrew Kluthe and...@ctech.me To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, 8 July 2013, 16:05 Subject: LiveCode and WebSockets I have been learning a little bit about websockets lately for a project and I have never really played around with livecode's socket communication methods. This makes me curious. Is there anyone else on the list that might be more familiar with both that would be interested in discussing using something like socket.io as part of a backend for livecode desktop applications? -- Regards, Andrew Kluthe and...@ctech.me ___ 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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
Re: FranklinAudio in Standalone?
Hi Matthias, Am 08.07.2013 um 22:09 schrieb Matthias Rebbe matthias_livecode_150...@m-r-d.de: Hi Klaus, shouldn´t it be tFolder instead of tFile in line 2 of your script? Yes, sure, sorry :-) Regards, Matthias Am 08.07.2013 um 21:55 schrieb Klaus major-k kl...@major-k.de: Hi Scott, Am 08.07.2013 um 18:49 schrieb Scott Rossi sc...@tactilemedia.com: Thanks Klaus. The external is getting copied over as expected, and I've tried manually setting the externals property of the stack with the bundle name of the external. But I think I'm still missing something. What does your external loading routine look like? I put ALL externals (also revdb.xxx and all other db drivers, no subfolder!) into a folder Externals. Then I do this on startup: on startup put the effective filename of stack The MAIN stack into tFolder set itemdel to / put Externals into item -1 of tFolder put the folder into oldfolder set the folder to tFolder if the platform = MacOS then put the folders into tEx filter tEX with *.bundle else put the files into tEx filter tEx with *,dll end if repeat for each line i in tEx put tFolder / i CR after tEXList end repeat delete char -1 of tEXList set the externals of stack The MAIN stack to tEXList start using stack The MAIN stack set the folder to oldfolder end startup Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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
BrainDead on Groups
I always seem to get messed up when working with groups. I have a group with groups in it and subgroups in those groups like this: MainGroup Index1 SubGroup1 SubGroup2 Index2 SubGroup1 SubGroup2 Index3 SubGroup1 SubGroup2 Index4 SubGroup1 SubGroup2 Index5 SubGroup1 SubGroup2 I am trying to get the number of groups in group MainGroup but I am getting all sub groups as well. put the number of groups of group MainGroup into tGroups gives me 15 groups instead of 5 like I would like. What I would like to do is delete group Index3 and then rename the the rest so that they are in order again. I was planning on using a repeat loop on the number of groups: repeat with x = 1 to the number of groups of group MainGroup set the name of group x of group MainGroup to (Index x) end repeat Then when I want to add a group I can just clone the first group and rename it. I would like to name it 1 + the number of groups like: clone group Index1 of group MainGroup set the name of it to (Index (the number of groups of group MainGroup + 1)) The problem is that because some of the groups have groups in them I am not getting the right number back from using the number of. Help?! Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: BrainDead on Groups
On 09/07/2013, at 8:12 AM, Thomas McGrath III mcgra...@mac.com wrote: put the number of groups of group MainGroup into tGroups If you are using LC 6.1 you can iterate the childControlIDs of group MainGroup -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! ___ 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: BrainDead on Groups
Good to know about the new childControlId. But you might also loop through all groups, and if the owner is maingroup, then you can get the info you need. Craig Newman -Original Message- From: Monte Goulding mo...@sweattechnologies.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Mon, Jul 8, 2013 6:34 pm Subject: Re: BrainDead on Groups On 09/07/2013, at 8:12 AM, Thomas McGrath III mcgra...@mac.com wrote: put the number of groups of group MainGroup into tGroups If you are using LC 6.1 you can iterate the childControlIDs of group MainGroup -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! ___ 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: On-Rev Desktop App not working (Mac)
I just had the same conversation with David Williams about the On-Rev desktop client not working for me (I was moved from loki to pancake). Even as flawed as it was, the On-Rev desktop client still had some wonderful abilities and I'm hoping someone is able to resurrect it. -- Scott Morrow On Jul 8, 2013, at 11:42 AM, Matthias Rebbe matthias_livecode_150...@m-r-d.de wrote: Hi Medard, if your account was moved to or is on one of the new servers like tio or pancake then the on-rev client will not work at the moment. There is still some hope Runrev will fix this. At least David Williams from Runrev told me that he has access to the source code of the client and that he will have a look at it if time allows. I for myself am doing coding/ftp now with Coda2 and Transmit under Mac OSX. This works very smooth. But i would prefer to use on-rev client again, especially because of its debugging features. Regards, Matthias Am 08.07.2013 um 19:01 schrieb Medard liste.r...@medard.on-rev.com: Hi! After a (long) while, I tried to go with the On-Rev Desktop App.. The App seems to be locked at the login in... Is this related to the server change? I had a look into the App, but there is nowhere to change the website... ___ 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: LiveCode and WebSockets
On 7/8/13 11:51 AM, Andrew Kluthe wrote: However, we don't have proper sockets support on mobile (without externals at least) I am mainly interested in desktop apps at the moment simply because we are doing most of our mobile apps as mobile web apps. However, this will change likely in the next few years if we were to see sockets and UI (resolution independence, etc) improvements on mobile. and websockets are very definitely not the same thing as standard sockets. I am having a hard time just finding straight forward info on the lower level websocket information. As of right now all the information I am finding is how to use websockets within this framework or that framework and nothing really about the differences between websockets and standard sockets. Hi Andrew, Maybe this will help some: http://en.wikipedia.org/wiki/WebSocket Phil Davis Also, socket programming in general (and in livecode) is new to me because up until now I have wrote most of my applications using http interfaces. Not having a non-blocking http client is really getting in the way of some of the things I want to do with livecode and I really would like realtime notifications, broadcasting, etc. Would you care to discuss the difference between websockets and the sockets we work with in livecode or point me to some basic information on the websocket implementation you think we could implement in pure livecode? What things would keep it from working very efficiently? Thanks for taking the time to respond, Andrew On Mon, Jul 8, 2013 at 1:35 PM, Mark Wilcox m_p_wil...@yahoo.co.uk wrote: We know, I'm interested in websockets for realtime comms between apps. Right now I think it'd be possible to implement one or more of the supported transports for socket.io in pure LiveCode but maybe not very efficiently. An alternative would be to wrap existing native implementations as externals. I've not looked into it in any great depth as I'm basically waiting for the engine refactoring to be completed before trying to hook new stuff in. Pierre Sahores s...@sahores-conseil.com wrote: The HTTP(S) REST architecture is full supported on any LC desktop or mobile platform, iOS and Android included. They can be set to act as clients of any kind of nTier server side application (LC-Server, PHP, RoR, etc...). Le 8 juil. 2013 à 18:19, Mark Wilcox a écrit : I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. What do you have in mind? I'm certainly interested in discussing it. Mark From: Andrew Kluthe and...@ctech.me To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, 8 July 2013, 16:05 Subject: LiveCode and WebSockets I have been learning a little bit about websockets lately for a project and I have never really played around with livecode's socket communication methods. This makes me curious. Is there anyone else on the list that might be more familiar with both that would be interested in discussing using something like socket.io as part of a backend for livecode desktop applications? -- Regards, Andrew Kluthe and...@ctech.me ___ 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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 -- Phil Davis ___ 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: BrainDead on Groups
Hi Tom, I guess you could check the owner of the group within your repeat loop and ignore any whose owner is not Main Group. Pete lcSQL Software http://www.lcsql.com On Mon, Jul 8, 2013 at 3:12 PM, Thomas McGrath III mcgra...@mac.com wrote: I always seem to get messed up when working with groups. I have a group with groups in it and subgroups in those groups like this: MainGroup Index1 SubGroup1 SubGroup2 Index2 SubGroup1 SubGroup2 Index3 SubGroup1 SubGroup2 Index4 SubGroup1 SubGroup2 Index5 SubGroup1 SubGroup2 I am trying to get the number of groups in group MainGroup but I am getting all sub groups as well. put the number of groups of group MainGroup into tGroups gives me 15 groups instead of 5 like I would like. What I would like to do is delete group Index3 and then rename the the rest so that they are in order again. I was planning on using a repeat loop on the number of groups: repeat with x = 1 to the number of groups of group MainGroup set the name of group x of group MainGroup to (Index x) end repeat Then when I want to add a group I can just clone the first group and rename it. I would like to name it 1 + the number of groups like: clone group Index1 of group MainGroup set the name of it to (Index (the number of groups of group MainGroup + 1)) The problem is that because some of the groups have groups in them I am not getting the right number back from using the number of. Help?! Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.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: LiveCode and WebSockets
Mark , Should work (untested) : Node.js on the server side + revBrowser (desktop) or mobileBrowser (iOS/android) + some js + a href…client-side pseudo urls/a to get catched by : on browserLoadRequested pUrl, pType -- prefered on the iOS platform (desktop platforms untested) end browserLoadRequested and on browserStartedLoading pUrl -- prefered on the Android platform (desktop platforms untested) end browserStartedLoading to being able to exchange bidirectional messages between your web layer to the native livecode one. note : your web view pseudo URLs needs to match existing files (workingpath/file.html…) in your client app sandboxed cache or document directory to be catchable on the Android platform at least. To maintain a common codebase with the iOS app, i have the habit to create the on this platform too. Pierre Le 8 juil. 2013 à 20:35, Mark Wilcox a écrit : We know, I'm interested in websockets for realtime comms between apps. Right now I think it'd be possible to implement one or more of the supported transports for socket.io in pure LiveCode but maybe not very efficiently. An alternative would be to wrap existing native implementations as externals. I've not looked into it in any great depth as I'm basically waiting for the engine refactoring to be completed before trying to hook new stuff in. Pierre Sahores s...@sahores-conseil.com wrote: The HTTP(S) REST architecture is full supported on any LC desktop or mobile platform, iOS and Android included. They can be set to act as clients of any kind of nTier server side application (LC-Server, PHP, RoR, etc...). Le 8 juil. 2013 à 18:19, Mark Wilcox a écrit : I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. What do you have in mind? I'm certainly interested in discussing it. Mark From: Andrew Kluthe and...@ctech.me To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, 8 July 2013, 16:05 Subject: LiveCode and WebSockets I have been learning a little bit about websockets lately for a project and I have never really played around with livecode's socket communication methods. This makes me curious. Is there anyone else on the list that might be more familiar with both that would be interested in discussing using something like socket.io as part of a backend for livecode desktop applications? -- Regards, Andrew Kluthe and...@ctech.me ___ 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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: FranklinAudio in Standalone?
On 7/8/13 6:42 PM, Scott Rossi wrote: Thanks Klaus and Matthias. I believe I got it working, and I think the key phrase in my case was start using stack xyzŠ I'm confused though, because the dictionary says if externals are manually set for a stack via script, the stack must relaunched before LiveCode can use the externals. In my case, I am setting the externals of the mainstack during preOpenCard, and it seems to be working, so I'm not sure what's going on there. But hey, I'm not going to question too much, out of fear of incurring the wrath of the Gods of Failure. I'm intimately familiar with those gods. Back in the day, the one exception to the must relaunch stack rule was that you could set externals in a startup handler, so that's what I've always done. It only works in a standalone, of course. I'm not sure why yours works in preOpenCard, but maybe they changed the rules. Or maybe you are just blessed. -- 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: LiveCode and WebSockets
Thanks Phil, I had read that, and found some other useful info here as well. https://github.com/LearnBoost/socket.io-spec Andrew On Mon, Jul 8, 2013 at 6:56 PM, Pierre Sahores s...@sahores-conseil.comwrote: Mark , Should work (untested) : Node.js on the server side + revBrowser (desktop) or mobileBrowser (iOS/android) + some js + a href…client-side pseudo urls/a to get catched by : on browserLoadRequested pUrl, pType -- prefered on the iOS platform (desktop platforms untested) end browserLoadRequested and on browserStartedLoading pUrl -- prefered on the Android platform (desktop platforms untested) end browserStartedLoading to being able to exchange bidirectional messages between your web layer to the native livecode one. note : your web view pseudo URLs needs to match existing files (workingpath/file.html…) in your client app sandboxed cache or document directory to be catchable on the Android platform at least. To maintain a common codebase with the iOS app, i have the habit to create the on this platform too. Pierre Le 8 juil. 2013 à 20:35, Mark Wilcox a écrit : We know, I'm interested in websockets for realtime comms between apps. Right now I think it'd be possible to implement one or more of the supported transports for socket.io in pure LiveCode but maybe not very efficiently. An alternative would be to wrap existing native implementations as externals. I've not looked into it in any great depth as I'm basically waiting for the engine refactoring to be completed before trying to hook new stuff in. Pierre Sahores s...@sahores-conseil.com wrote: The HTTP(S) REST architecture is full supported on any LC desktop or mobile platform, iOS and Android included. They can be set to act as clients of any kind of nTier server side application (LC-Server, PHP, RoR, etc...). Le 8 juil. 2013 à 18:19, Mark Wilcox a écrit : I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. What do you have in mind? I'm certainly interested in discussing it. Mark From: Andrew Kluthe and...@ctech.me To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, 8 July 2013, 16:05 Subject: LiveCode and WebSockets I have been learning a little bit about websockets lately for a project and I have never really played around with livecode's socket communication methods. This makes me curious. Is there anyone else on the list that might be more familiar with both that would be interested in discussing using something like socket.io as part of a backend for livecode desktop applications? -- Regards, Andrew Kluthe and...@ctech.me ___ 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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 -- Regards, Andrew Kluthe and...@ctech.me ___ 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: 6.1 Installer Ubuntu
Got it guys - LiveCode is apparently using the 32-bit libraries, so you have to install ia32-libs on a 64-bit machine. ia32-libs-multiarch:i386 doesn't fix it. On Mon, Jul 8, 2013 at 10:13 AM, Mike Kerner mikeker...@roadrunner.comwrote: I am also running 12.04 LTS. I've tried both the commercial and community versions. On Mon, Jul 8, 2013 at 5:27 AM, Neil Roger n...@runrev.com wrote: On 07/07/2013 04:41, Mike Kerner wrote: Is anybody else having trouble with the 6.1 installer in Ubuntu? I checked the executable checkbox, but for some reason it won't run as an admin or root. I've tried downloading it a couple of times. In the past all I had to do was check the executable box and double-click the installer. I've tried running it from the command line and I'm getting command not found. BTW, the file says its an executable. Hi Mike, I have successfully installed LiveCode 6.1 on one of our test machines running Ubuntu 12.04 LTS via the method you described. Could you let me know what version of Ubuntu you are running and I will attempt to re-create the installation issue? Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ 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
Article: The Dangers of Beating Your Kickstarter Goal
*The Dangers of Beating Your Kickstarter Goal* http://games.slashdot.org/story/13/07/08/229206/the-dangers-of-beating-your-kickstarter-goal Sent via Flipboard http://flpbd.it/now Please ignore weird auto-corrected words, this message was sent from my iPad. ___ 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: 6.1 Installer Ubuntu
Mike- Monday, July 8, 2013, 6:24:29 PM, you wrote: Got it guys - LiveCode is apparently using the 32-bit libraries, so you have to install ia32-libs on a 64-bit machine. ia32-libs-multiarch:i386 doesn't fix it. ? I thought the multiarch libraries were a superset of the ia32libs? Anyway, glad it's working. And if you want to live on the edge, there's a 64-bit branch of the engine on github. It's what I've been using on linux mint 14. -- -Mark Wieder mwie...@ahsoftware.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
The road ahead
nothing to do with Mr Gates . . . useful reference: http://livecode.com/community/roadmap/ tick them off as/if they are brought to fruition. Richmond. PS. Maybe should be titled The road, a head and see if it gets from inside our heads out into the real world :) ___ 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
Object Architecture ?
Does this: IDE: Object Architecture mean that Livecode is moving from being an object-based language to being an object oriented one? and if that is true, could someone point out what on earth the difference is between these 2 types of language. Richmond. ___ 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: Object Architecture ?
On 09/07/2013, at 3:19 PM, Richmond wrote: IDE: Object Architecture mean that Livecode is moving from being an object-based language to being an object oriented one? and if that is true, could someone point out what on earth the difference is between these 2 types of language. It means nothing unless you give it some context.. I'd guess it might be referring to the custom control stuff that was pulled from LC 6... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ 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
mApp LC6.1 crash
Hi folks I just found a crash with LC 6.1 and mApp which I have reported here: http://quality.runrev.com/show_bug.cgi?id=11039 It's related to setting the behavior of an object from a script that is itself that objects behavior and at a guess the issue was introduced with the behavior inheritance stuff. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ 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: RosettaCode
OK, just so I'm clear, though I thought part of the bragging rights of these things was to execute the task in as few lines as possible, regardless of readability. Looking through the various entries (including the entry you posted), everything looks fairly well formatted/readable. So on this site, brevity, while encouraged, isn't really the goal, correct? In fact, it seems convoluted options can be posted alongside concise options within the same language. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/7/13 10:20 PM, Geoff Canyon gcan...@gmail.com wrote: Thanks for contributing! Hopefully I don't come off quite that harsh... In any case, there doesn't seem to be a better way to add a new entry than: 1. Go to the page for 99 bottles. 2. Click the entry for the language before LiveCode alphabetically -- Liberty BASIC in this case. 3. Edit that entry. 4. Insert the following at the bottom, after a couple CRs: =={{header|LiveCode}}== lang livecodefunction beerMe numberOfBottles put XX bottles of beer on the wall into verseA put Take one down, pass it around into verseB repeat with N = numberOfBottles down to 1 put replaceText(verseA,XX,N) cr word 1 to 4 of \ replaceText(verseA,XX,N) cr verseB cr replaceText(verseA,XX,N-1) \ cr cr after theSong end repeat return theSong end beerMe/lang I generally add a comment that I'm adding LiveCode, and then save. It could also be done by editing the entry *after* LiveCard alphabetically, and putting the LiveCode entry before that entry, with a couple CRs between them. Or by editing the whole page, but that would be harder because you'd have to search through the markdown to find the right place to put LiveCode. Note that in this case I just modified your code to take an argument for the number of bottles just for laughs. If I were optimizing I'd do something like: function beerMe3 numberOfBottles repeat with N = numberOfBottles down to 0 put N bottles of beer on the wall cr cr \ N bottles of beer on the wall cr \ N bottles of beer cr \ Take one down, pass it around cr after theSong end repeat return line 3 to -5 of theSong end beerMe3 ___ 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: RosettaCode
On 08/07/13 09:30, Scott Rossi wrote: OK, just so I'm clear, thoughŠ I thought part of the bragging rights of these things was to execute the task in as few lines as possible, regardless of readability. Looking through the various entries (including the entry you posted), everything looks fairly well formatted/readable. So on this site, brevity, while encouraged, isn't really the goal, correct? In fact, it seems convoluted options can be posted alongside concise options within the same language. This, surely, is one of the glories of Livecode . . . one can do things the easy way, or the difficult way; one can use a reduced instruction set or a complete (and convoluted) instruction set if one so wishes. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/7/13 10:20 PM, Geoff Canyon gcan...@gmail.com wrote: Thanks for contributing! Hopefully I don't come off quite that harsh... In any case, there doesn't seem to be a better way to add a new entry than: 1. Go to the page for 99 bottles. 2. Click the entry for the language before LiveCode alphabetically -- Liberty BASIC in this case. 3. Edit that entry. 4. Insert the following at the bottom, after a couple CRs: =={{header|LiveCode}}== lang livecodefunction beerMe numberOfBottles put XX bottles of beer on the wall into verseA put Take one down, pass it around into verseB repeat with N = numberOfBottles down to 1 put replaceText(verseA,XX,N) cr word 1 to 4 of \ replaceText(verseA,XX,N) cr verseB cr replaceText(verseA,XX,N-1) \ cr cr after theSong end repeat return theSong end beerMe/lang I generally add a comment that I'm adding LiveCode, and then save. It could also be done by editing the entry *after* LiveCard alphabetically, and putting the LiveCode entry before that entry, with a couple CRs between them. Or by editing the whole page, but that would be harder because you'd have to search through the markdown to find the right place to put LiveCode. Note that in this case I just modified your code to take an argument for the number of bottles just for laughs. If I were optimizing I'd do something like: function beerMe3 numberOfBottles repeat with N = numberOfBottles down to 0 put N bottles of beer on the wall cr cr \ N bottles of beer on the wall cr \ N bottles of beer cr \ Take one down, pass it around cr after theSong end repeat return line 3 to -5 of theSong end beerMe3 ___ 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: RosettaCode
I don't have much experience with the site, but what I've seen seems more friendly than contentious. The goal seems to be the exchange of information, to help people learn about the different languages. With the new language features coming in LiveCode, I think it provides a rich template for extensions to our syntax. For example, the anagrams problem made it abundantly clear that we need a sort characters command, as well as words. gc Sent from my iPad On Jul 8, 2013, at 1:30 AM, Scott Rossi sc...@tactilemedia.com wrote: OK, just so I'm clear, thoughŠ I thought part of the bragging rights of these things was to execute the task in as few lines as possible, regardless of readability. Looking through the various entries (including the entry you posted), everything looks fairly well formatted/readable. So on this site, brevity, while encouraged, isn't really the goal, correct? In fact, it seems convoluted options can be posted alongside concise options within the same language. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/7/13 10:20 PM, Geoff Canyon gcan...@gmail.com wrote: Thanks for contributing! Hopefully I don't come off quite that harsh... In any case, there doesn't seem to be a better way to add a new entry than: 1. Go to the page for 99 bottles. 2. Click the entry for the language before LiveCode alphabetically -- Liberty BASIC in this case. 3. Edit that entry. 4. Insert the following at the bottom, after a couple CRs: =={{header|LiveCode}}== lang livecodefunction beerMe numberOfBottles put XX bottles of beer on the wall into verseA put Take one down, pass it around into verseB repeat with N = numberOfBottles down to 1 put replaceText(verseA,XX,N) cr word 1 to 4 of \ replaceText(verseA,XX,N) cr verseB cr replaceText(verseA,XX,N-1) \ cr cr after theSong end repeat return theSong end beerMe/lang I generally add a comment that I'm adding LiveCode, and then save. It could also be done by editing the entry *after* LiveCard alphabetically, and putting the LiveCode entry before that entry, with a couple CRs between them. Or by editing the whole page, but that would be harder because you'd have to search through the markdown to find the right place to put LiveCode. Note that in this case I just modified your code to take an argument for the number of bottles just for laughs. If I were optimizing I'd do something like: function beerMe3 numberOfBottles repeat with N = numberOfBottles down to 0 put N bottles of beer on the wall cr cr \ N bottles of beer on the wall cr \ N bottles of beer cr \ Take one down, pass it around cr after theSong end repeat return line 3 to -5 of theSong end beerMe3 ___ 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
LC 6 icon in Mac dock is completly transparent
The new LC 6 icon is on my 10.5.8 Mac completely transparent / or not existing. The small icon in the program folder is ok. Are there any known backward compatibility issues with 10.5 or should I file it as a bug? Tiemo ___ 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: 6.1 Installer Ubuntu
On 07/07/2013 04:41, Mike Kerner wrote: Is anybody else having trouble with the 6.1 installer in Ubuntu? I checked the executable checkbox, but for some reason it won't run as an admin or root. I've tried downloading it a couple of times. In the past all I had to do was check the executable box and double-click the installer. I've tried running it from the command line and I'm getting command not found. BTW, the file says its an executable. Hi Mike, I have successfully installed LiveCode 6.1 on one of our test machines running Ubuntu 12.04 LTS via the method you described. Could you let me know what version of Ubuntu you are running and I will attempt to re-create the installation issue? Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.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
How to deinstall LC?
Since 2.8 I still have all version installed. I think it's time to get rid of some old versions, but I didn't find any not on how to deinstall LC on Win / Mac. Is there any hidden deinstaller or should I just dump the program folder and leave the rest of sattelite files on my computers? Thanks for your experiences Tiemo ___ 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: LC 6 icon in Mac dock is completly transparent
On 08/07/13 12:20, Tiemo Hollmann TB wrote: The new LC 6 icon is on my 10.5.8 Mac completely transparent / or not existing. The small icon in the program folder is ok. Are there any known backward compatibility issues with 10.5 or should I file it as a bug? Tiemo ___ 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 I have seen this with Mac OS 10.4.11 PPC as well. Richmond. ___ 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
FranklinAudio in Standalone?
Anyone been able to get the FranklinAudio audio external working in a Mac standalone? I have FranklinAudio working fine in the LC IDE, but when I launch a standalone that includes the external, I get an error while trying to initialize the external. I ran into the same trouble on Windows, and was able to get things working with the developer's help, but he is on vacation at the moment, and I'm trying to get an app update out the door. Thanks for any insight anyone can offer. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design ___ 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: 6.1 Installer Ubuntu
I am also running 12.04 LTS. I've tried both the commercial and community versions. On Mon, Jul 8, 2013 at 5:27 AM, Neil Roger n...@runrev.com wrote: On 07/07/2013 04:41, Mike Kerner wrote: Is anybody else having trouble with the 6.1 installer in Ubuntu? I checked the executable checkbox, but for some reason it won't run as an admin or root. I've tried downloading it a couple of times. In the past all I had to do was check the executable box and double-click the installer. I've tried running it from the command line and I'm getting command not found. BTW, the file says its an executable. Hi Mike, I have successfully installed LiveCode 6.1 on one of our test machines running Ubuntu 12.04 LTS via the method you described. Could you let me know what version of Ubuntu you are running and I will attempt to re-create the installation issue? Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ 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: FranklinAudio in Standalone?
Hi Scott, Am 08.07.2013 um 13:30 schrieb Scott Rossi sc...@tactilemedia.com: Anyone been able to get the FranklinAudio audio external working in a Mac standalone? I have FranklinAudio working fine in the LC IDE, but when I launch a standalone that includes the external, I get an error while trying to initialize the external. I ran into the same trouble on Windows, and was able to get things working with the developer's help, but he is on vacation at the moment, and I'm trying to get an app update out the door. Thanks for any insight anyone can offer. I have the experience that the standalone builder lets you selects your (non Rev!) external in the list of libs, but does NOT include/copy them into the finale app bundle! This still happens with e.g. the Enhanced QuickTime external.bundle. Maybe this is also the case for the FranklinAudio external? That's why i still load all externals manually on startup like in the good ol' MetaCard days ;-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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
Getting URL of a shoutcast server....
Hi, I have a little shoutcast radio station, and wanted to play around with the data that shows up on the html page. LC is not successfully getting the URL. It gets other URL/pages for me just fine, but not the shoutcast page. The shoutcast URL is followed by a port number. Is that what is throwing it off? I have a field called data. get URLhttp://livecode.com/; put it into fld data works as expected, but get URLhttp://stream-11.streamsolutions.co.uk:9428; put it into fld data returns no data. it is empty. Any clues why? I'm just looking to get the text from the page, not the audio stream. TIA Tim Selander Tokyo, Japan ___ 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: Getting URL of a shoutcast server....
Your url doesn't require any authentication does it? On Mon, Jul 8, 2013 at 9:53 AM, Tim Selander selan...@tkf.att.ne.jp wrote: Hi, I have a little shoutcast radio station, and wanted to play around with the data that shows up on the html page. LC is not successfully getting the URL. It gets other URL/pages for me just fine, but not the shoutcast page. The shoutcast URL is followed by a port number. Is that what is throwing it off? I have a field called data. get URLhttp://livecode.com/; put it into fld data works as expected, but get URLhttp://stream-11.**streamsolutions.co.uk:9428http://stream-11.streamsolutions.co.uk:9428 put it into fld data returns no data. it is empty. Any clues why? I'm just looking to get the text from the page, not the audio stream. TIA Tim Selander Tokyo, Japan __**_ 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- Regards, Andrew Kluthe and...@ctech.me ___ 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: What happened to Applescript in LiveCode Community 6.1?
On Mon, 8 Jul 2013 13:20:30 +1000, Monte Goulding mo...@sweattechnologies.com wrote: On 08/07/2013, at 1:08 PM, Richard Gaskin wrote: RunRev has a long history of forgetting to include the AppleScript disctionary resource into new builds. I'm not sure why this hasn't been automated, but it's happened before, and if you drop them a note they'll be able to fix it for next time. For now, just copy the resource from an earlier build into the new one and then it'll be able to respond to the eval and dosc events as before. Yes it's probably been missed from the automated build process. If there isn't one open already then you (not you necessarily Richard...) should open a bug report on this... I just opened a bug report. But in the meantime I peeked into the app bundles for 6.0 and 6.1. Where will I find this resource to copy? Or do I need to build it myself? I don't want to go to any trouble, so I'll use 6.0 until this is fixed, if this is not a drag and drop operation. ___ 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: Getting URL of a shoutcast server....
Not for the basic page. If I want to get at the statistics on the admin page, (which eventually I'd like to do), I would need to send a user name and password. But first I tried to simply get the public page and failed. Thanks, Tim On 7/9/13 12:00 AM, Andrew Kluthe wrote: Your url doesn't require any authentication does it? On Mon, Jul 8, 2013 at 9:53 AM, Tim Selander selan...@tkf.att.ne.jp wrote: Hi, I have a little shoutcast radio station, and wanted to play around with the data that shows up on the html page. LC is not successfully getting the URL. It gets other URL/pages for me just fine, but not the shoutcast page. The shoutcast URL is followed by a port number. Is that what is throwing it off? I have a field called data. get URLhttp://livecode.com/; put it into fld data works as expected, but get URLhttp://stream-11.**streamsolutions.co.uk:9428http://stream-11.streamsolutions.co.uk:9428 put it into fld data returns no data. it is empty. Any clues why? I'm just looking to get the text from the page, not the audio stream. TIA Tim Selander Tokyo, Japan __**_ 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-livecodehttp://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
LiveCode and WebSockets
I have been learning a little bit about websockets lately for a project and I have never really played around with livecode's socket communication methods. This makes me curious. Is there anyone else on the list that might be more familiar with both that would be interested in discussing using something like socket.io as part of a backend for livecode desktop applications? -- Regards, Andrew Kluthe and...@ctech.me ___ 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: Getting URL of a shoutcast server....
Hi Tim, Check the result. The result says: error No header received. I don't know if this means that LiveCode decided not to handle the data or that no data is received or that the server expected a header and doesn't get any from LiveCode and hence doesn't send data. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 7/8/2013 17:03, Tim Selander wrote: Not for the basic page. If I want to get at the statistics on the admin page, (which eventually I'd like to do), I would need to send a user name and password. But first I tried to simply get the public page and failed. Thanks, Tim ___ 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: What happened to Applescript in LiveCode Community 6.1?
Emmett Gray wrote: I just opened a bug report. But in the meantime I peeked into the app bundles for 6.0 and 6.1. Where will I find this resource to copy? Or do I need to build it myself? I don't want to go to any trouble, so I'll use 6.0 until this is fixed, if this is not a drag and drop operation. I believe the file you're looking for is: ./LiveCode 6.0.2.app/Contents/Resources/LiveCode.rsrc -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ 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: Getting URL of a shoutcast server....
1. Request URL: http://stream-11.streamsolutions.co.uk:9428/ 2. Request Method: GET 3. Status Code: 200 OK 4. Request Headersview source 1. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 2. Accept-Encoding: gzip,deflate,sdch 3. Accept-Language: en-US,en;q=0.8 4. Cache-Control: max-age=0 5. Connection: keep-alive 6. Host: stream-11.streamsolutions.co.uk:9428 7. User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 5. Response Headersview source 1. content-type: text/html 2. Header info from chrome. On Mon, Jul 8, 2013 at 10:12 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Tim, Check the result. The result says: error No header received. I don't know if this means that LiveCode decided not to handle the data or that no data is received or that the server expected a header and doesn't get any from LiveCode and hence doesn't send data. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/**xtalkprogrammerhttp://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi Fill out this survey please http://livecodebeginner.**economy-x-talk.com/survey/http://livecodebeginner.economy-x-talk.com/survey/ On 7/8/2013 17:03, Tim Selander wrote: Not for the basic page. If I want to get at the statistics on the admin page, (which eventually I'd like to do), I would need to send a user name and password. But first I tried to simply get the public page and failed. Thanks, Tim __**_ 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- Regards, Andrew Kluthe and...@ctech.me ___ 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: FranklinAudio in Standalone?
Thanks Klaus. The external is getting copied over as expected, and I've tried manually setting the externals property of the stack with the bundle name of the external. But I think I'm still missing something. What does your external loading routine look like? Thanks Regards, Scott Rossi Creative Director Tactile Media, UX Design On Jul 8, 2013, at 7:32 AM, Klaus major-k kl...@major-k.de wrote: Hi Scott, Am 08.07.2013 um 13:30 schrieb Scott Rossi sc...@tactilemedia.com: Anyone been able to get the FranklinAudio audio external working in a Mac standalone? I have FranklinAudio working fine in the LC IDE, but when I launch a standalone that includes the external, I get an error while trying to initialize the external. I ran into the same trouble on Windows, and was able to get things working with the developer's help, but he is on vacation at the moment, and I'm trying to get an app update out the door. Thanks for any insight anyone can offer. I have the experience that the standalone builder lets you selects your (non Rev!) external in the list of libs, but does NOT include/copy them into the finale app bundle! This still happens with e.g. the Enhanced QuickTime external.bundle. Maybe this is also the case for the FranklinAudio external? That's why i still load all externals manually on startup like in the good ol' MetaCard days ;-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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: LiveCode and WebSockets
The HTTP(S) REST architecture is full supported on any LC desktop or mobile platform, iOS and Android included. They can be set to act as clients of any kind of nTier server side application (LC-Server, PHP, RoR, etc...). Le 8 juil. 2013 à 18:19, Mark Wilcox a écrit : I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. What do you have in mind? I'm certainly interested in discussing it. Mark From: Andrew Kluthe and...@ctech.me To: How to use LiveCode use-livecode@lists.runrev.com Sent: Monday, 8 July 2013, 16:05 Subject: LiveCode and WebSockets I have been learning a little bit about websockets lately for a project and I have never really played around with livecode's socket communication methods. This makes me curious. Is there anyone else on the list that might be more familiar with both that would be interested in discussing using something like socket.io as part of a backend for livecode desktop applications? -- Regards, Andrew Kluthe and...@ctech.me ___ 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.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