From revdev at pdslabs.net Fri Oct 1 01:18:20 2010 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 30 Sep 2010 22:18:20 -0700 Subject: Listing all the unique words in a piece of text (Resource Center broken?) In-Reply-To: <98B523D3-69BF-4FC7-BA7B-96D846ABA285@cruzio.com> References: <98B523D3-69BF-4FC7-BA7B-96D846ABA285@cruzio.com> Message-ID: <4CA56F1C.6000602@pdslabs.net> Hi Mark, It's not hard! repeat for each word tWord in tYourtext add 1 to aWordCounts[tWord] end repeat put the keys of aWordCounts into tList sort lines of tList put tList ... but you probably figured this out by now. Phil On 9/30/10 8:17 PM, Mark Swindell wrote: > There's a sample script in the LiveCode Resource Center called "listing all the unique words in a piece of text." It's located under "Resource Center/Sample Scripts/Text/Listing all the ..." > > There's a button available to download the script. Unfortunately it doesn't appear to work and I can't peek into the actual button containing the script. > > I used both LiveCode and Rev Studio 4.0... same result. > > If anyone has a minute to look and see if this is consistent with their setup, I'd appreciate it. (Or if anyone has the code, I'd appreciate getting it.) > > Thanks, > Mark_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From pepetoo at cox.net Fri Oct 1 02:38:52 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 30 Sep 2010 23:38:52 -0700 Subject: WINDOWS VERSION MENU PROBLEM - architect Message-ID: Hi everyone, The Window's version of my app displays the following Menu: -------------- next part -------------- The File and Go Menus are the ones with black backgrounds. The Mac Version is fine. I've checked the backColors and hilite properties that "might" be the cause of this idiosyncrasy to no avail. Any ideas. The Windows version is run in XP under Fusion. Also, something that might be "related" to this: The text selections in editable text fields are comparably dark. There's probably a place to set this color, but I've yet to find it. I'm not too "up" on the use of Windows. TIA, Joe Wilkins From pepetoo at cox.net Fri Oct 1 02:42:42 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 30 Sep 2010 23:42:42 -0700 Subject: WINDOWS VERSION MENU PROBLEM - architect In-Reply-To: References: Message-ID: <71E74C17-1346-4ADC-90EA-798CBEA98C83@cox.net> I see that the List won't allow me to show even a very small screen shot. So, to describe the problem in words: The menu consists of four menus - File Edit Go Help. The menus all work, but you can't read the File or Go menus easily. It's as if the background is set to some very dark color. TIA, Joe On Sep 30, 2010, at 11:38 PM, Joe Lewis Wilkins wrote: > Hi everyone, > > The Window's version of my app displays the following Menu: > > > The File and Go Menus are the ones with black backgrounds. The Mac Version is fine. I've checked the backColors and hilite properties that "might" be the cause of this idiosyncrasy to no avail. Any ideas. The Windows version is run in XP under Fusion. Also, something that might be "related" to this: The text selections in editable text fields are comparably dark. There's probably a place to set this color, but I've yet to find it. I'm not too "up" on the use of Windows. > > TIA, > > Joe Wilkins > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david at dvglasgow.wanadoo.co.uk Fri Oct 1 03:29:13 2010 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 1 Oct 2010 08:29:13 +0100 Subject: data from USB joystick In-Reply-To: <20100928170005.CD4A32884FD@mail.runrev.com> References: <20100928170005.CD4A32884FD@mail.runrev.com> Message-ID: <31A516E8-597F-4C97-B63F-73B6246CB0B7@dvglasgow.wanadoo.co.uk> On 28 Sep 2010, at 6:00 pm, -=>JB<=- wrote: > > > > On Mac I use USB Overdrive. > > http://www.usboverdrive.com/USBOverdrive/News.html > > -=>JB<=- Thanks for the suggestion. I downloaded this shareware, and it does the trick on Mac. You can set it up so a joystick generates rawkey messages. This won't be a solution for delivering a final product, but at least I will be able to do some development work. The only fly in the ointment is that even when disabled, USBOverdrive blocks scrolling on my Magic Mouse. It is bad enough that I travel England stroking other people's mice and shouting "D,Oh!" but now I do it on my own mouse. Best Wishes, David Glasgow Carlton Glasgow Partnership i-psych.co.uk From liste.revo at medard.on-rev.com Fri Oct 1 03:32:43 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Fri, 1 Oct 2010 09:32:43 +0200 Subject: "Live Code" owned by Microsoft (and others) ? [Was: Re: GOOSE BUMPS] In-Reply-To: Message-ID: <1jpof4q.y5z47w1uvv88eM%liste.revo@medard.on-rev.com> Ren? Micout wrote: > 8th in France ! 1st here* -- but it is a trademark of codelab ;-> and their start page is definitevely hideous [pity for my eyes!] the third is: http://www.abstractmachine.net/thesis/diagrams.php?name=livecode the 7th: http://www.commentcamarche.net/forum/affich-5568363-windows-live-code-d- erreure-a-l-aide the 9th: at last, http://www.runrev.com/home/product-family/ > it seems that "Live Code" is a Windows thing!? * with the metasearch engine "Ixquick" "Ixquick Protects Your Privacy" http://eu.ixquick.com/eng/ known as "StartPage" in the USA http://www.startpage.com/ From sundown at pacifier.com Fri Oct 1 04:44:44 2010 From: sundown at pacifier.com (-=>JB<=-) Date: Fri, 1 Oct 2010 01:44:44 -0700 Subject: data from USB joystick In-Reply-To: <31A516E8-597F-4C97-B63F-73B6246CB0B7@dvglasgow.wanadoo.co.uk> References: <20100928170005.CD4A32884FD@mail.runrev.com> <31A516E8-597F-4C97-B63F-73B6246CB0B7@dvglasgow.wanadoo.co.uk> Message-ID: You are welcome. If the problem bugs you a lot maybe try contacting the developer and explain it. Possibly he will fix it for you sometime or tell you a work around solution. -=>JB<=- On Oct 1, 2010, at 12:29 AM, David Glasgow wrote: > > > On 28 Sep 2010, at 6:00 pm, -=>JB<=- wrote: >> >> >> >> On Mac I use USB Overdrive. >> >> http://www.usboverdrive.com/USBOverdrive/News.html >> >> -=>JB<=- > > Thanks for the suggestion. > > I downloaded this shareware, and it does the trick on Mac. You can set it up so a joystick generates rawkey messages. This won't be a solution for delivering a final product, but at least I will be able to do some development work. > > The only fly in the ointment is that even when disabled, USBOverdrive blocks scrolling on my Magic Mouse. It is bad enough that I travel England stroking other people's mice and shouting "D,Oh!" but now I do it on my own mouse. > > Best Wishes, > > David Glasgow > Carlton Glasgow Partnership > > i-psych.co.uk > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Fri Oct 1 06:17:15 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 1 Oct 2010 20:17:15 +1000 Subject: Drag & drop reordering of a DataGrid form Message-ID: <2F5F1D99-EA24-4B58-B970-9EA622A6E85C@sweattechnologies.com> Hi Everyone I've got a blog up for reordering DataGrid forms by drag and drop. Doesn't work for tables and you must cache controls. http://goulding.ws/consulting/blog/ Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave From monte at sweattechnologies.com Fri Oct 1 07:09:37 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 1 Oct 2010 21:09:37 +1000 Subject: Drag & drop reordering of a DataGrid form In-Reply-To: <2F5F1D99-EA24-4B58-B970-9EA622A6E85C@sweattechnologies.com> References: <2F5F1D99-EA24-4B58-B970-9EA622A6E85C@sweattechnologies.com> Message-ID: <7DF2DF82-BC8B-4215-AA5C-977DB90AA39C@sweattechnologies.com> Hold the phone. Looking at the data grid behavior script this might already be a feature but I can't find any docs about enabling it. Trevor? > Hi Everyone > > I've got a blog up for reordering DataGrid forms by drag and drop. Doesn't work for tables and you must cache controls. > > http://goulding.ws/consulting/blog/ > > Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave From monte at sweattechnologies.com Fri Oct 1 08:23:15 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 1 Oct 2010 22:23:15 +1000 Subject: Drag & drop reordering of a DataGrid form In-Reply-To: <7DF2DF82-BC8B-4215-AA5C-977DB90AA39C@sweattechnologies.com> References: <2F5F1D99-EA24-4B58-B970-9EA622A6E85C@sweattechnologies.com> <7DF2DF82-BC8B-4215-AA5C-977DB90AA39C@sweattechnologies.com> Message-ID: > Hold the phone. Looking at the data grid behavior script this might already be a feature but I can't find any docs about enabling it. Trevor? Talking to myself here but the blog post has been updated with a drag and drop script using the inbuilt support that seems to be undocumented. Scroll to the bottom but I'm leaving my original script as it still might be worthwhile for people that want to give their drag and drop a customised look. http://goulding.ws/consulting/blog/ Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave From runrevplanet at smpcs.server101.com Fri Oct 1 09:25:01 2010 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Fri, 01 Oct 2010 23:25:01 +1000 Subject: ANN: Installer Maker Plugin 1.4.1 Message-ID: <4CA5E12D.5020904@smpcs.server101.com> Mark, Thanks for the quick bug fix. Less than 12 hours after I reported it -- I'm impressed! -- Scott McDonald RunRevPlanet.com "Components, Stacks, Tools and Resources for LiveCode" www.runrevplanet.com From david at vaudevillecourt.tv Fri Oct 1 09:24:38 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 1 Oct 2010 14:24:38 +0100 Subject: Getting line endings straight. Message-ID: Most of the time we don;t need to worry about line endings - Rev handles them for us transparently. However, sometimes when workign with external sources you can get bitten. I thought I'd post this to make sure I've got things straight, and hopefully clarify things for others. My understanding is as follows: 1. LiveCode uses the unix flavoured line ending character internally. That is LF or numtochar(10) in LiveCode 2. LiveCode translates text for you in the background when you use "file url's", and open driver, open file, or open processcommands in text mode. For example when you use the normal "file" url syntax - ie "put someText into url 'file:some.txt'" 3. On OSX and Linux this is the same as LiveCode's internal line ending char = LF or numtochar(10) 4. On Windows LiveCode would translate the line endings to CRLF = numtochar(13) & numtochar(10) 5. On older Mac Classic systems the line ending character is CR = numtochar(13) Some gotcha's: - A carriage return is numtochar(13) - however LiveCode internally thinks that CR = LF = numtochar(10) - On OSX LiveCode does not write out text using the systems native line endings - it uses the older Mac Classic line endings (presumably for easier compatability)! The last one I did not know. Personally I think it is bad behavior, though most OSX applications handle either form of text file absolutely fine - some command line tools expect the native unix style line endings (LF). If you want to use these tools - don't use "file" - for writing out text - use "binfile". You can test this on your OSX system using the following in the message box: put "Hello" & CR & "World" into someText > put the tempname & ".txt" into someFile > put someText into url ("file:" & someFile) > put url ("binfile:" & someFile) contains numtochar(10) > Have I got something wrong here - or should we really be asking RunRev to make it easy for us to read and write text files in native LF mode? Perhaps there should be an IDE property which we could set base on "the platform", or perhaps they can tweek their background translation code to keep backward compatibility, while giving us native line endings on OSX? From ray at linkit.com Fri Oct 1 09:37:25 2010 From: ray at linkit.com (Ray Horsley) Date: Fri, 1 Oct 2010 09:37:25 -0400 Subject: HTML Text Message-ID: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> Greetings, Anybody know where images get cached when I set the htmlText of a field to html which contains image references? Images come through fine on my machine in development mode (LiveCode 4.5) but they don't in a standalone on somebody else's running Windows Vista or 7, that is, until the user right-clicks the standalone and chooses "Run as Administrator". After they've done that once, however, they can double-click the standalone later to open it normally, the standalone then sets the htmlText of the field to the same html, and the images display fine. This leads me to believe setting the htmlText of a field caches images somewhere. Ultimately, of course, I'd like get a solution for these other than telling all our users they have to right-click the standalone and choose "Run as Administrator" to see images when setting the htmlText of a field. Greatly appreciate any input here! Thanks, Ray Horsley LinkIt! Software From ambassador at fourthworld.com Fri Oct 1 10:27:31 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Oct 2010 07:27:31 -0700 Subject: Getting line endings straight. Message-ID: <4CA5EFD3.5020207@fourthworld.com> David Bovill wrote: > Most of the time we don;t need to worry about line endings - Rev handles > them for us transparently. ... > Some gotcha's: > > - A carriage return is numtochar(13) - however LiveCode internally thinks > that CR = LF = numtochar(10) > - On OSX LiveCode does not write out text using the systems native line > endings - it uses the older Mac Classic line endings (presumably for easier > compatability)! > > The last one I did not know. Me neither. Excellent find. I so rarely use the engine's automatic line-changing options that I hadn't come across that before, and in the rare case when I do I never noticed because it seems Apple's TextEdit renders old-style (ASCII 13) returns just as it does ASCII 10. Whether this should be changed is an interesting question. On the one hand, it would be nice to remain current, but on the other hand there may be many scripts out there that rely on ASCII 13 when on Mac. How many Mac programs don't render ASCII 13 line endings correctly? -- 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 From andre at andregarzia.com Fri Oct 1 10:37:01 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 1 Oct 2010 11:37:01 -0300 Subject: HTML Text In-Reply-To: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> References: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> Message-ID: Hello there Ray, How do you set the image? Is it an ID reference like: Or you're setting it to a file name? On Fri, Oct 1, 2010 at 10:37 AM, Ray Horsley wrote: > Greetings, > > Anybody know where images get cached when I set the htmlText of a field to > html which contains image references? > > Images come through fine on my machine in development mode (LiveCode 4.5) > but they don't in a standalone on somebody else's running Windows Vista or > 7, that is, until the user right-clicks the standalone and chooses "Run as > Administrator". After they've done that once, however, they can > double-click the standalone later to open it normally, the standalone then > sets the htmlText of the field to the same html, and the images display > fine. This leads me to believe setting the htmlText of a field caches > images somewhere. Ultimately, of course, I'd like get a solution for these > other than telling all our users they have to right-click the standalone > and > choose "Run as Administrator" to see images when setting the htmlText of a > field. > > Greatly appreciate any input here! > > Thanks, > > Ray Horsley > LinkIt! Software > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Fri Oct 1 10:38:48 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Oct 2010 07:38:48 -0700 Subject: "Live Code" owned by Microsoft (and others) ? [Was: Re: GOOSE BUMPS] Message-ID: <4CA5F278.1010901@fourthworld.com> Medard wrote: > 1st here* -- but it is a trademark of codelab ;-> In what country? The US Patent and Trademark Office shows two entries for "livecode": The first is has a status of "live", showing Runtime Revolution Ltd. as the mark registrant with a filing date of Aug 25 2010 in the domain of "Computer application software for mobile phones and handheld devices, desktop computers and computer servers, namely, software for creating computer software or interactive content": The second has a status of "dead", and shows Applied Microsystems Corporation of Redmond, WA as the former mark registrant, first filed November 24, 1997 and canceled March 14, 2009: -- 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 From ambassador at fourthworld.com Fri Oct 1 10:44:04 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Oct 2010 07:44:04 -0700 Subject: "Live Code" owned by Microsoft (and others) ? [Was: Re: GOOSE BUMPS] Message-ID: <4CA5F3B4.4040607@fourthworld.com> Please forgive the links in my last post. It seems the USPTO uses unnecessarily time-sensitive session IDs, so the URLs I provided won't work. In fact, I can't find a way to make a useful URL to even the search page, so here's how to get to it: 1. Go to: 2. Click the link labeled "Basic Word Mark Search (New User)" 3. Once on the Search page, type "livecode" in the field provided and that'll produce the list of results. -- 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 From kevin at runrev.com Fri Oct 1 10:45:47 2010 From: kevin at runrev.com (Kevin Miller) Date: Fri, 01 Oct 2010 15:45:47 +0100 Subject: "Live Code" owned by Microsoft (and others) ? [Was: Re: GOOSE BUMPS] In-Reply-To: <4CA5F3B4.4040607@fourthworld.com> Message-ID: On 01/10/2010 15:44, "Richard Gaskin" wrote: > Please forgive the links in my last post. It seems the USPTO uses > unnecessarily time-sensitive session IDs, so the URLs I provided won't work. > > In fact, I can't find a way to make a useful URL to even the search > page, so here's how to get to it: > > 1. Go to: > > 2. Click the link labeled "Basic Word Mark Search (New User)" > > 3. Once on the Search page, type "livecode" in the field provided > and that'll produce the list of results. Folks, needless to say we did a proper trademark search before we chose the new name. We're satisfied there isn't a conflict. No need for a debate on here, thanks. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding From lfredricks at proactive-intl.com Fri Oct 1 10:55:00 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 1 Oct 2010 07:55:00 -0700 Subject: "Live Code" owned by Microsoft (and others) ? [Was: Re: GOOSE BUMPS] In-Reply-To: <4CA5F3B4.4040607@fourthworld.com> References: <4CA5F3B4.4040607@fourthworld.com> Message-ID: > Please forgive the links in my last post. It seems the USPTO > uses unnecessarily time-sensitive session IDs, so the URLs I > provided won't work. I hope some patent troll has a patent on their time sensitive session ID system and rolls them for it - let them have a taste ;-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From ray at linkit.com Fri Oct 1 11:00:07 2010 From: ray at linkit.com (Ray Horsley) Date: Fri, 1 Oct 2010 11:00:07 -0400 Subject: HTML Text In-Reply-To: References: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> Message-ID: <004f01cb6179$5719b230$054d1690$@LinkIt.Com> Andre, It's a file path. Here's an example of a test's 'question' tag, url encoded, with several img attributes inside of a span element: <span class="class1" xmlns="http://www.imsglobal.org/xsd/imsqti_v2p0"><b>A baby giraffe is <img src="ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20Bank/06%20Math%20QTI% 20with%20GUIDs%20and%2096dpi%20PNG/Grade%2006Math-49/images/mml2504101.png" /> feet tall, and an adult giraffe is <img src="ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20Bank/06%20Math%20QTI% 20with%20GUIDs%20and%2096dpi%20PNG/Grade%2006Math-49/images/mml2504102.png" /><img src="ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20Bank/06%20Math%20QTI% 20with%20GUIDs%20and%2096dpi%20PNG/Grade%2006Math-49/images/mml2504103.png" /> feet tall. How much taller is the adult giraffe than the baby giraffe?</b></span> Thanks, Ray -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre Garzia Sent: Friday, October 01, 2010 10:37 AM To: How to use Revolution Subject: Re: HTML Text Hello there Ray, How do you set the image? Is it an ID reference like: Or you're setting it to a file name? On Fri, Oct 1, 2010 at 10:37 AM, Ray Horsley wrote: > Greetings, > > Anybody know where images get cached when I set the htmlText of a > field to html which contains image references? > > Images come through fine on my machine in development mode (LiveCode > 4.5) but they don't in a standalone on somebody else's running Windows > Vista or 7, that is, until the user right-clicks the standalone and > chooses "Run as Administrator". After they've done that once, > however, they can double-click the standalone later to open it > normally, the standalone then sets the htmlText of the field to the > same html, and the images display fine. This leads me to believe > setting the htmlText of a field caches images somewhere. Ultimately, > of course, I'd like get a solution for these other than telling all > our users they have to right-click the standalone and choose "Run as > Administrator" to see images when setting the htmlText of a field. > > Greatly appreciate any input here! > > Thanks, > > Ray Horsley > LinkIt! Software > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From massung at gmail.com Fri Oct 1 11:34:27 2010 From: massung at gmail.com (Jeff Massung) Date: Fri, 1 Oct 2010 10:34:27 -0500 Subject: HTML Text In-Reply-To: References: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> Message-ID: On Fri, Oct 1, 2010 at 9:37 AM, Andre Garzia wrote: > Hello there Ray, > > How do you set the image? Is it an ID reference like: > > > > Holy crap does that work? I was doing it the hard way. And don't ask me what that was, cause I'll feel really stupid if I post it. ;-) Jeff M. From dsc at swcp.com Fri Oct 1 11:40:12 2010 From: dsc at swcp.com (Dar Scott) Date: Fri, 1 Oct 2010 09:40:12 -0600 Subject: HTML Text In-Reply-To: <004f01cb6179$5719b230$054d1690$@LinkIt.Com> References: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> <004f01cb6179$5719b230$054d1690$@LinkIt.Com> Message-ID: This requires Internet access. Perhaps this is a matter of telling 7 that this program can access the Internet. Dar On Oct 1, 2010, at 9:00 AM, Ray Horsley wrote: > Andre, > > It's a file path. Here's an example of a test's 'question' tag, url > encoded, with several img attributes inside of a span element: > > <span class="class1" > xmlns="http://www.imsglobal.org/xsd/imsqti_v2p0"><b>A baby > giraffe > is <img > src="ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20Bank/06% > 20Math%20QTI% > 20with%20GUIDs%20and%2096dpi%20PNG/Grade%2006Math-49/images/ > mml2504101.png" > /> feet tall, and an adult giraffe is <img > src="ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20Bank/06% > 20Math%20QTI% > 20with%20GUIDs%20and%2096dpi%20PNG/Grade%2006Math-49/images/ > mml2504102.png" > /><img > src="ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20Bank/06% > 20Math%20QTI% > 20with%20GUIDs%20and%2096dpi%20PNG/Grade%2006Math-49/images/ > mml2504103.png" > /> feet tall. How much taller is the adult giraffe than the baby > giraffe?</b></span> > > Thanks, > > Ray > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre > Garzia > Sent: Friday, October 01, 2010 10:37 AM > To: How to use Revolution > Subject: Re: HTML Text > > Hello there Ray, > > How do you set the image? Is it an ID reference like: > > > > Or you're setting it to a file name? > > On Fri, Oct 1, 2010 at 10:37 AM, Ray Horsley wrote: > >> Greetings, >> >> Anybody know where images get cached when I set the htmlText of a >> field to html which contains image references? >> >> Images come through fine on my machine in development mode (LiveCode >> 4.5) but they don't in a standalone on somebody else's running >> Windows >> Vista or 7, that is, until the user right-clicks the standalone and >> chooses "Run as Administrator". After they've done that once, >> however, they can double-click the standalone later to open it >> normally, the standalone then sets the htmlText of the field to the >> same html, and the images display fine. This leads me to believe >> setting the htmlText of a field caches images somewhere. Ultimately, >> of course, I'd like get a solution for these other than telling all >> our users they have to right-click the standalone and choose "Run as >> Administrator" to see images when setting the htmlText of a field. >> >> Greatly appreciate any input here! >> >> Thanks, >> >> Ray Horsley >> LinkIt! Software >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From massung at gmail.com Fri Oct 1 11:34:27 2010 From: massung at gmail.com (Jeff Massung) Date: Fri, 1 Oct 2010 10:34:27 -0500 Subject: HTML Text In-Reply-To: References: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> Message-ID: On Fri, Oct 1, 2010 at 9:37 AM, Andre Garzia wrote: > Hello there Ray, > > How do you set the image? Is it an ID reference like: > > > > Holy crap does that work? I was doing it the hard way. And don't ask me what that was, cause I'll feel really stupid if I post it. ;-) Jeff M. From andre at andregarzia.com Fri Oct 1 11:43:00 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 1 Oct 2010 12:43:00 -0300 Subject: HTML Text In-Reply-To: References: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> Message-ID: On Fri, Oct 1, 2010 at 12:34 PM, Jeff Massung wrote: > On Fri, Oct 1, 2010 at 9:37 AM, Andre Garzia > wrote: > > > Hello there Ray, > > > > How do you set the image? Is it an ID reference like: > > > > > > > > > Holy crap does that work? I was doing it the hard way. And don't ask me > what > that was, cause I'll feel really stupid if I post it. ;-) > Basically the src attribute of the img node is used as the value for the imagesource property. The imagesource property can be a value like image ID, image Name, image URL or empty. If using an image URL which is what Ray is using, one thing to keep in mind is the defaultfolder. He uses a relative folder in the assignment, if the application run as an administrator or as a common user has a different defaultfolder, then the relative path will break. HTMLText: http://docs.runrev.com/Property/HTMLText ImageSource: http://docs.runrev.com/Property/imageSource > > Jeff M. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Fri Oct 1 11:44:51 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 1 Oct 2010 12:44:51 -0300 Subject: HTML Text In-Reply-To: References: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> <004f01cb6179$5719b230$054d1690$@LinkIt.Com> Message-ID: On Fri, Oct 1, 2010 at 12:40 PM, Dar Scott wrote: > This requires Internet access. Perhaps this is a matter of telling 7 that > this program can access the Internet. > > Dar, I think it uses a relative path which is not an URL, are you sure it requires net access? Ray, Your span tags and xmlns stuff will be removed and ignored by the HTMLText property. HTMLText is not HTML, repeat, HTMLText is not HTML. Check out the docs to see what subset of HTML is supported on HTMLText > Dar > > > > On Oct 1, 2010, at 9:00 AM, Ray Horsley wrote: > > Andre, >> >> It's a file path. Here's an example of a test's 'question' tag, url >> encoded, with several img attributes inside of a span element: >> >> <span class="class1" >> xmlns="http://www.imsglobal.org/xsd/imsqti_v2p0"><b>A baby >> giraffe >> is <img >> >> src="ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20Bank/06%20Math%20QTI% >> >> 20with%20GUIDs%20and%2096dpi%20PNG/Grade%2006Math-49/images/mml2504101.png" >> /> feet tall, and an adult giraffe is <img >> >> src="ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20Bank/06%20Math%20QTI% >> >> 20with%20GUIDs%20and%2096dpi%20PNG/Grade%2006Math-49/images/mml2504102.png" >> /><img >> >> src="ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20Bank/06%20Math%20QTI% >> >> 20with%20GUIDs%20and%2096dpi%20PNG/Grade%2006Math-49/images/mml2504103.png" >> /> feet tall. How much taller is the adult giraffe than the baby >> giraffe?</b></span> >> >> Thanks, >> >> Ray >> >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre >> Garzia >> Sent: Friday, October 01, 2010 10:37 AM >> To: How to use Revolution >> Subject: Re: HTML Text >> >> Hello there Ray, >> >> How do you set the image? Is it an ID reference like: >> >> >> >> Or you're setting it to a file name? >> >> On Fri, Oct 1, 2010 at 10:37 AM, Ray Horsley wrote: >> >> Greetings, >>> >>> Anybody know where images get cached when I set the htmlText of a >>> field to html which contains image references? >>> >>> Images come through fine on my machine in development mode (LiveCode >>> 4.5) but they don't in a standalone on somebody else's running Windows >>> Vista or 7, that is, until the user right-clicks the standalone and >>> chooses "Run as Administrator". After they've done that once, >>> however, they can double-click the standalone later to open it >>> normally, the standalone then sets the htmlText of the field to the >>> same html, and the images display fine. This leads me to believe >>> setting the htmlText of a field caches images somewhere. Ultimately, >>> of course, I'd like get a solution for these other than telling all >>> our users they have to right-click the standalone and choose "Run as >>> Administrator" to see images when setting the htmlText of a field. >>> >>> Greatly appreciate any input here! >>> >>> Thanks, >>> >>> Ray Horsley >>> LinkIt! Software >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From liste.revo at medard.on-rev.com Fri Oct 1 11:52:14 2010 From: liste.revo at medard.on-rev.com (Medard) Date: Fri, 1 Oct 2010 17:52:14 +0200 Subject: "Live Code" or "Livecode" ;-) In-Reply-To: Message-ID: <1jpp2d1.3k9bdvcymlpyM%liste.revo@medard.on-rev.com> Lynn Fredricks wrote: > I hope some patent troll has a patent on their time sensitive session ID > system and rolls them for it - let them have a taste ;-) My post had only an informative intent ;-) I just took a glance at the research engine, to see if "Livecode" (the one from "RunRev") was well placed! noting that the search engines readily add a space when they "think" it is omitted... as for "codelab" it seems that is a french initative, and they didn't registered the term "livecode" (without space); appearently it is a coders forum as for Microsoft Windows, maybe they didn't thought of registering "Live Code" (WITH a space), albeit it seems surprising, speaking of Microsoft ;-) Also, it will be worth of seeing in some time, if "Livecode" will gain a higher rank ;-)) Again, no pun intended! From ray at linkit.com Fri Oct 1 11:52:24 2010 From: ray at linkit.com (Ray Horsley) Date: Fri, 1 Oct 2010 11:52:24 -0400 Subject: HTML Text In-Reply-To: References: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> Message-ID: <005001cb6180$a529f690$ef7de3b0$@LinkIt.Com> Ah - Very interesting regarding the defaultFolder. The defaultFolder when I open LiveCode on my machine is: C:/Windows/system32 I didn't realize I was doing anything with the defaultFolder when issuing the command: set the htmlText of fld 1 to myHtml Should I set this beforehand to a known folder the user can write to? Thanks, Ray -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre Garzia Sent: Friday, October 01, 2010 11:43 AM To: How to use Revolution Subject: Re: HTML Text On Fri, Oct 1, 2010 at 12:34 PM, Jeff Massung wrote: > On Fri, Oct 1, 2010 at 9:37 AM, Andre Garzia > wrote: > > > Hello there Ray, > > > > How do you set the image? Is it an ID reference like: > > > > > > > > > Holy crap does that work? I was doing it the hard way. And don't ask > me what that was, cause I'll feel really stupid if I post it. ;-) > Basically the src attribute of the img node is used as the value for the imagesource property. The imagesource property can be a value like image ID, image Name, image URL or empty. If using an image URL which is what Ray is using, one thing to keep in mind is the defaultfolder. He uses a relative folder in the assignment, if the application run as an administrator or as a common user has a different defaultfolder, then the relative path will break. HTMLText: http://docs.runrev.com/Property/HTMLText ImageSource: http://docs.runrev.com/Property/imageSource > > Jeff M. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Fri Oct 1 12:01:01 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 1 Oct 2010 13:01:01 -0300 Subject: HTML Text In-Reply-To: <005001cb6180$a529f690$ef7de3b0$@LinkIt.Com> References: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> <005001cb6180$a529f690$ef7de3b0$@LinkIt.Com> Message-ID: On Fri, Oct 1, 2010 at 12:52 PM, Ray Horsley wrote: > Ah - Very interesting regarding the defaultFolder. The defaultFolder when > I open LiveCode on my machine is: > > C:/Windows/system32 > > I didn't realize I was doing anything with the defaultFolder when issuing > the command: > > set the htmlText of fld 1 to myHtml > > Should I set this beforehand to a known folder the user can write to? > Ray, You need to set it to some place where the compound assembly of the defaultfolder + your imagesource value actually resolves to a real file. So if you have the following imagesource set: ETS Items/ETS Item Bank/ETS10Q1/01 Full Bank/06 Math QTI 0with GUIDs and 96dpi PNG/Grade 06Math-49/images/mml2504101.png And that "ETS Items" is located at "~/Desktop/Rays App/" so that the actuall file path is: ~/Desktop/Rays App/ETS Items/ETS Item Bank/ETS10Q1/01 Full Bank/06 Math QTI 0with GUIDs and 96dpi PNG/Grade 06Math-49/images/mml2504101.png Then you just need to set the defaultfolder to "~/Desktop/Rays App/" Image source has three possible resolutions: (1) The image is inside revolution since imagesource value is an ID or image name. Just figure out what image is and use it (2) The image is a remote resource since we're given an fully qualified URL. Load it from the server (3) Image is a file on disk, see if it is a full path or relative path to our defaultfolder and solve it. I actually think that cases (2) and (3) are actually the same. I don't know if you can simply pass a path without the binfile protocol in it. Try changing your source to something like: binfile:ETS Items/ETS Item Bank/ETS10Q1/01 Full Bank/06 Math QTI 0with GUIDs and 96dpi PNG/Grade 06Math-49/images/mml2504101.png Remember the relative folder, if possible, always use full paths by figuring out the path before assembling the HTMLText chunk and replacing the variables. > > Thanks, > > Ray > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre Garzia > Sent: Friday, October 01, 2010 11:43 AM > To: How to use Revolution > Subject: Re: HTML Text > > On Fri, Oct 1, 2010 at 12:34 PM, Jeff Massung wrote: > > > On Fri, Oct 1, 2010 at 9:37 AM, Andre Garzia > > wrote: > > > > > Hello there Ray, > > > > > > How do you set the image? Is it an ID reference like: > > > > > > > > > > > > > > Holy crap does that work? I was doing it the hard way. And don't ask > > me what that was, cause I'll feel really stupid if I post it. ;-) > > > > Basically the src attribute of the img node is used as the value for the > imagesource property. The imagesource property can be a value like image > ID, > image Name, image URL or empty. > > If using an image URL which is what Ray is using, one thing to keep in mind > is the defaultfolder. He uses a relative folder in the assignment, if the > application run as an administrator or as a common user has a different > defaultfolder, then the relative path will break. > > HTMLText: http://docs.runrev.com/Property/HTMLText > > ImageSource: http://docs.runrev.com/Property/imageSource > > > > > > > Jeff M. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From gregory.lypny at videotron.ca Fri Oct 1 12:04:08 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 01 Oct 2010 12:04:08 -0400 Subject: Storing an Array as a Custom Property Message-ID: Hi everyone, Page 236 of the LiveCode user guide says that arrays cannot be stored as single custom properties. Can anyone confirm this please? The reason I ask is that I thought that I had read in a past Rev newsletter that it was now possible, but I may be mistaken. I'm developing an app in LiveCode and have been saving uni-dimensional arrays as single customs props without apparent problems; however, it may be another story with multi-dimensional arrays. Regards, Gregory From gregory.lypny at videotron.ca Fri Oct 1 12:11:50 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 01 Oct 2010 12:11:50 -0400 Subject: Storing an Array as a Custom Property - Citation Found Message-ID: Hello again everyone, The article "Arrays Examined" by Tom Healy in Issue 57 of the revUp newsletter contradicts page 236 of the LiveCode user guide. Here is a quote. "An array can be stored as a custom property of an object in an equally straight forward way: set the cStoredArray of this card to tArray This is a good way of preserving the contents of something, be it a variable or an array, outside the scope of a specific script." Gregory From bobs at twft.com Fri Oct 1 12:21:42 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Oct 2010 09:21:42 -0700 Subject: [OT] Do You Like To Play Games? In-Reply-To: References: Message-ID: <9B82B7F9-A11A-43CC-B7A1-F380DC3A8377@twft.com> Oddly, the movie is a black screen with some flicks of white noise running through it from time to time. Bob On Sep 28, 2010, at 10:54 AM, Scott Rossi wrote: > An early trailer for the game is posted here: From bobs at twft.com Fri Oct 1 12:28:08 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Oct 2010 09:28:08 -0700 Subject: MYSQL timeout In-Reply-To: References: Message-ID: <82CDA01C-465D-403E-B3B5-C4B4875C781D@twft.com> No offense, but how in the HECK did this get stuck in the middle of the "IPad's competitor from RIM" thread? Bob On Sep 28, 2010, at 6:20 PM, Terry Judd wrote: > The problem of lengthy timeouts when trying to connect to a MSQL server that > is down/offline is bugging me again. It seems like the default timeout is 60 > seconds which is way too long to wait for a response but there's no obvious > way to override it. The socketTimeoutInterval has no effect and while I've > got some old code laying around that suggests setting an environment > variable ($MYSQL_CLIENT_TIMEOUT) it doesn't work either. > > Any ideas? > > Terry... > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ray at linkit.com Fri Oct 1 12:38:28 2010 From: ray at linkit.com (Ray Horsley) Date: Fri, 1 Oct 2010 12:38:28 -0400 Subject: HTML Text In-Reply-To: References: <001501cb616d$c960b980$5c222c80$@LinkIt.Com> <005001cb6180$a529f690$ef7de3b0$@LinkIt.Com> Message-ID: <005701cb6187$1408ee80$3c1acb80$@LinkIt.Com> Andre, This is really quite helpful. Thanks for your time on this! I'll study this further and do some experimenting and let you know how it goes. Thanks, Ray -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre Garzia Sent: Friday, October 01, 2010 12:01 PM To: How to use Revolution Subject: Re: HTML Text On Fri, Oct 1, 2010 at 12:52 PM, Ray Horsley wrote: > Ah - Very interesting regarding the defaultFolder. The defaultFolder > when I open LiveCode on my machine is: > > C:/Windows/system32 > > I didn't realize I was doing anything with the defaultFolder when > issuing the command: > > set the htmlText of fld 1 to myHtml > > Should I set this beforehand to a known folder the user can write to? > Ray, You need to set it to some place where the compound assembly of the defaultfolder + your imagesource value actually resolves to a real file. So if you have the following imagesource set: ETS Items/ETS Item Bank/ETS10Q1/01 Full Bank/06 Math QTI 0with GUIDs and 96dpi PNG/Grade 06Math-49/images/mml2504101.png And that "ETS Items" is located at "~/Desktop/Rays App/" so that the actuall file path is: ~/Desktop/Rays App/ETS Items/ETS Item Bank/ETS10Q1/01 Full Bank/06 Math QTI 0with GUIDs and 96dpi PNG/Grade 06Math-49/images/mml2504101.png Then you just need to set the defaultfolder to "~/Desktop/Rays App/" Image source has three possible resolutions: (1) The image is inside revolution since imagesource value is an ID or image name. Just figure out what image is and use it (2) The image is a remote resource since we're given an fully qualified URL. Load it from the server (3) Image is a file on disk, see if it is a full path or relative path to our defaultfolder and solve it. I actually think that cases (2) and (3) are actually the same. I don't know if you can simply pass a path without the binfile protocol in it. Try changing your source to something like: binfile:ETS Items/ETS Item Bank/ETS10Q1/01 Full Bank/06 Math QTI 0with GUIDs and 96dpi PNG/Grade 06Math-49/images/mml2504101.png Remember the relative folder, if possible, always use full paths by figuring out the path before assembling the HTMLText chunk and replacing the variables. > > Thanks, > > Ray > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre > Garzia > Sent: Friday, October 01, 2010 11:43 AM > To: How to use Revolution > Subject: Re: HTML Text > > On Fri, Oct 1, 2010 at 12:34 PM, Jeff Massung wrote: > > > On Fri, Oct 1, 2010 at 9:37 AM, Andre Garzia > > wrote: > > > > > Hello there Ray, > > > > > > How do you set the image? Is it an ID reference like: > > > > > > > > > > > > > > Holy crap does that work? I was doing it the hard way. And don't ask > > me what that was, cause I'll feel really stupid if I post it. ;-) > > > > Basically the src attribute of the img node is used as the value for > the imagesource property. The imagesource property can be a value like > image ID, image Name, image URL or empty. > > If using an image URL which is what Ray is using, one thing to keep in > mind is the defaultfolder. He uses a relative folder in the > assignment, if the application run as an administrator or as a common > user has a different defaultfolder, then the relative path will break. > > HTMLText: http://docs.runrev.com/Property/HTMLText > > ImageSource: http://docs.runrev.com/Property/imageSource > > > > > > > Jeff M. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Fri Oct 1 12:52:50 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 1 Oct 2010 11:52:50 -0500 Subject: MYSQL timeout In-Reply-To: <82CDA01C-465D-403E-B3B5-C4B4875C781D@twft.com> References: <82CDA01C-465D-403E-B3B5-C4B4875C781D@twft.com> Message-ID: perhaps only in your mailer. On 1 October 2010 11:28, Bob Sneidar wrote: > No offense, but how in the HECK did this get stuck in the middle of the > "IPad's competitor from RIM" thread? > > Bob > > > On Sep 28, 2010, at 6:20 PM, Terry Judd wrote: > > > The problem of lengthy timeouts when trying to connect to a MSQL server > that > > is down/offline is bugging me again. It seems like the default timeout is > 60 > > seconds which is way too long to wait for a response but there's no > obvious > > way to override it. The socketTimeoutInterval has no effect and while > I've > > got some old code laying around that suggests setting an environment > > variable ($MYSQL_CLIENT_TIMEOUT) it doesn't work either. > > > > Any ideas? > > > > Terry... > > > > -- > > Dr Terry Judd | Senior Lecturer in Medical Education > > Medical Education Unit > > Melbourne Medical School > > The University of Melbourne > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Stephen Barncard San Francisco Ca. USA more about sqb From revdev at pdslabs.net Fri Oct 1 13:21:19 2010 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 01 Oct 2010 10:21:19 -0700 Subject: Storing an Array as a Custom Property In-Reply-To: References: Message-ID: <4CA6188F.9050901@pdslabs.net> On 10/1/10 9:04 AM, Gregory Lypny wrote: > Hi everyone, > > Page 236 of the LiveCode user guide says that arrays cannot be stored as single custom properties. Can anyone confirm this please? The reason I ask is that I thought that I had read in a past Rev newsletter that it was now possible, but I may be mistaken. > > I'm developing an app in LiveCode and have been saving uni-dimensional arrays as single customs props without apparent problems; however, it may be another story with multi-dimensional arrays. For multi-dimensional arrays you need arrayEncode() and arrayDecode(): put "ice cream" into aMyFoods["favorites"]["desserts"]["cold"] set the uMyFoods of stack "dataContainer" to arrayEncode(aMyFoods) > Regards, > > Gregory -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From ambassador at fourthworld.com Fri Oct 1 14:00:06 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Oct 2010 11:00:06 -0700 Subject: Storing an Array as a Custom Property Message-ID: <4CA621A6.2040503@fourthworld.com> Phil Davis wrote: > On 10/1/10 9:04 AM, Gregory Lypny wrote: >> >> Page 236 of the LiveCode user guide says that arrays cannot be >> stored as single custom properties. Can anyone confirm this >> please? The reason I ask is that I thought that I had read in >> a past Rev newsletter that it was now possible, but I may be >> mistaken. >> >> I'm developing an app in LiveCode and have been saving >> uni-dimensional arrays as single customs props without apparent >> problems; however, it may be another story with multi-dimensional >> arrays. > > For multi-dimensional arrays you need arrayEncode() and arrayDecode(): > > put "ice cream" into aMyFoods["favorites"]["desserts"]["cold"] > set the uMyFoods of stack "dataContainer" to arrayEncode(aMyFoods) I believe the engine does that automatically when using arrays as custom prop values. This would also explain why using deep arrays as prop values is often much slower than using the natively-addressable two-dimensional arrays via property sets and properties. An odd thing about that, though: Back in August Kevin wrote here: Can't you do something like this: put "xyz" into tVar set the tVar of btn 1 to "a" You'll end up with a property called xyz that contains "a" in the default set. So by extension, one might think this would work too: on mouseUp put "gaskin" into tPropSet put "richard" into tProp set the tPropSet[tProp] of me to "Howdy!" end mouseUp But it doesn't. It doesn't throw an error, nor set the result to an error string, but it doesn't set the property either. Instead the simplest I've found is this: on mouseUp put "gaskin" into tPropSet put "richard" into tProp set the customPropertySet of me to tPropSet set the tProp of me to "Howdy!" end mouseUp Is there a way to make that a one-liner using array notation? I know we can do it with hard-wired propset names like this: set the gaskin["richard"] of me to "Howdy!" But how can we do it where the propset name is a variable? -- 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 From bonnmike at gmail.com Fri Oct 1 14:06:32 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 1 Oct 2010 12:06:32 -0600 Subject: Storing an Array as a Custom Property In-Reply-To: <4CA6188F.9050901@pdslabs.net> References: <4CA6188F.9050901@pdslabs.net> Message-ID: You can put multidimensional arrays into properties, at least as of what.. 3.5? If I recall correctly, the only real issue with this is that you have to pull the whole thing back out as a unit to work with it. I'm not positive, but I don't think it arrayencodes and decodes when you get and set. bit not sure. When looking at a property that is an array in the inspector it says this: * The value of this custom property is an array and can only be edited in the Property inspector if it is first converted into a string. Doing this will empty the array. If you are sure you want to do this, double click on this field* On Fri, Oct 1, 2010 at 11:21 AM, Phil Davis wrote: > On 10/1/10 9:04 AM, Gregory Lypny wrote: > >> Hi everyone, >> >> Page 236 of the LiveCode user guide says that arrays cannot be stored as >> single custom properties. Can anyone confirm this please? The reason I ask >> is that I thought that I had read in a past Rev newsletter that it was now >> possible, but I may be mistaken. >> >> I'm developing an app in LiveCode and have been saving uni-dimensional >> arrays as single customs props without apparent problems; however, it may be >> another story with multi-dimensional arrays. >> > > For multi-dimensional arrays you need arrayEncode() and arrayDecode(): > > put "ice cream" into aMyFoods["favorites"]["desserts"]["cold"] > set the uMyFoods of stack "dataContainer" to arrayEncode(aMyFoods) > > Regards, >> >> Gregory >> > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kee at kagi.com Fri Oct 1 14:26:17 2010 From: kee at kagi.com (Kee Nethery) Date: Fri, 1 Oct 2010 11:26:17 -0700 Subject: stack dependencies? In-Reply-To: References: <4CA6188F.9050901@pdslabs.net> Message-ID: <11CA1EE8-3A0A-443F-8594-29082DDA982A@kagi.com> I use the splash screen technique for an internal app I manage. Splash screen is the app, and the user runs the stack it copies to their hard drive. The stack the user uses needs all the various libraries but ... since it never gets compiled, the app builder never scans it. The splash screen needs to have all the various libraries used by the actual user stack included in it so that those libraries will be available. How do I get a complete list of the libraries used by one stack, so that I can check the appropriate checkboxes in the splash screen standalone builder? Thanks, Kee From revdev at pdslabs.net Fri Oct 1 14:47:09 2010 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 01 Oct 2010 11:47:09 -0700 Subject: Storing an Array as a Custom Property In-Reply-To: References: <4CA6188F.9050901@pdslabs.net> Message-ID: <4CA62CAD.4040301@pdslabs.net> On 10/1/10 11:06 AM, Mike Bonner wrote: > You can put multidimensional arrays into properties, at least as of what.. > 3.5? If I recall correctly, the only real issue with this is that you have > to pull the whole thing back out as a unit to work with it. I'm not > positive, but I don't think it arrayencodes and decodes when you get and > set. bit not sure. I stand corrected! Thanks. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bobs at twft.com Fri Oct 1 14:56:37 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 1 Oct 2010 11:56:37 -0700 Subject: MYSQL timeout In-Reply-To: References: <82CDA01C-465D-403E-B3B5-C4B4875C781D@twft.com> Message-ID: <2438FBA4-2BC3-45CC-B004-096370769300@twft.com> Aye. Methinks that when someone replies to an email from the list, there is some kind of identifier in the email that tells a mailer it belongs to a particular thread. So if someone replies to one thread, but substitutes the subject with an entirely new subject, some mailers might just think they were still the same thread. That's my theory and I'm sticking to it. :-) Bob On Oct 1, 2010, at 9:52 AM, stephen barncard wrote: > perhaps only in your mailer. > > On 1 October 2010 11:28, Bob Sneidar wrote: > >> No offense, but how in the HECK did this get stuck in the middle of the >> "IPad's competitor from RIM" thread? >> >> Bob >> >> >> On Sep 28, 2010, at 6:20 PM, Terry Judd wrote: >> >>> The problem of lengthy timeouts when trying to connect to a MSQL server >> that >>> is down/offline is bugging me again. It seems like the default timeout is >> 60 >>> seconds which is way too long to wait for a response but there's no >> obvious >>> way to override it. The socketTimeoutInterval has no effect and while >> I've >>> got some old code laying around that suggests setting an environment >>> variable ($MYSQL_CLIENT_TIMEOUT) it doesn't work either. >>> >>> Any ideas? >>> >>> Terry... >>> >>> -- >>> Dr Terry Judd | Senior Lecturer in Medical Education >>> Medical Education Unit >>> Melbourne Medical School >>> The University of Melbourne >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Fri Oct 1 15:47:34 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 1 Oct 2010 14:47:34 -0500 Subject: [OT][FYI] Graphic Converter 7 has been released. Message-ID: I know a lot of people on this list probably use Graphic Converter as a less-expensive "Photoshop" and Thorsten Lemke has released his latest version, and it ROCKS. He's offereing an incredibly reasonable upgrade offer, and after 5 minutes with this version, I upgraded from the last version for about $25 US. WOW is all I can say. Great features not available anywhere else, not even PS. This is a complete rewrite. http://www.lemkesoft.com -- Stephen Barncard San Francisco Ca. USA more about sqb From psahores at free.fr Fri Oct 1 15:52:59 2010 From: psahores at free.fr (Pierre Sahores) Date: Fri, 1 Oct 2010 21:52:59 +0200 Subject: [OT][FYI] Graphic Converter 7 has been released. In-Reply-To: References: Message-ID: Full confirmed ! GC7 is just incredibly easy to use and powerful. Le 1 oct. 2010 ? 21:47, stephen barncard a ?crit : > I know a lot of people on this list probably use Graphic Converter as a > less-expensive "Photoshop" and Thorsten Lemke has released his latest > version, and it ROCKS. He's offereing an incredibly reasonable upgrade > offer, and after 5 minutes with this version, I upgraded from the last > version for about $25 US. WOW is all I can say. Great features not available > anywhere else, not even PS. This is a complete rewrite. > > > http://www.lemkesoft.com > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From DunbarX at aol.com Fri Oct 1 17:33:27 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 1 Oct 2010 17:33:27 EDT Subject: Storing an Array as a Custom Property Message-ID: Richard, I have to run, but would writing it as a "do" construction work? Craig In a message dated 10/1/10 2:00:59 PM, ambassador at fourthworld.com writes: > > But how can we do it where the propset name is a variable? > From tsj at unimelb.edu.au Fri Oct 1 18:19:16 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 02 Oct 2010 08:19:16 +1000 Subject: MYSQL timeout In-Reply-To: <2438FBA4-2BC3-45CC-B004-096370769300@twft.com> References: <82CDA01C-465D-403E-B3B5-C4B4875C781D@twft.com> <2438FBA4-2BC3-45CC-B004-096370769300@twft.com> Message-ID: <4E2CF911-7FDD-41C5-BAB5-1CBBF3576D76@unimelb.edu.au> That's what I did, so it makes sense. Terry... On 02/10/2010, at 4:56 AM, "Bob Sneidar" wrote: > Aye. Methinks that when someone replies to an email from the list, there is some kind of identifier in the email that tells a mailer it belongs to a particular thread. So if someone replies to one thread, but substitutes the subject with an entirely new subject, some mailers might just think they were still the same thread. > > That's my theory and I'm sticking to it. :-) > > Bob > > > On Oct 1, 2010, at 9:52 AM, stephen barncard wrote: > >> perhaps only in your mailer. >> >> On 1 October 2010 11:28, Bob Sneidar wrote: >> >>> No offense, but how in the HECK did this get stuck in the middle of the >>> "IPad's competitor from RIM" thread? >>> >>> Bob >>> >>> >>> On Sep 28, 2010, at 6:20 PM, Terry Judd wrote: >>> >>>> The problem of lengthy timeouts when trying to connect to a MSQL server >>> that >>>> is down/offline is bugging me again. It seems like the default timeout is >>> 60 >>>> seconds which is way too long to wait for a response but there's no >>> obvious >>>> way to override it. The socketTimeoutInterval has no effect and while >>> I've >>>> got some old code laying around that suggests setting an environment >>>> variable ($MYSQL_CLIENT_TIMEOUT) it doesn't work either. >>>> >>>> Any ideas? >>>> >>>> Terry... >>>> >>>> -- >>>> Dr Terry Judd | Senior Lecturer in Medical Education >>>> Medical Education Unit >>>> Melbourne Medical School >>>> The University of Melbourne >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Fri Oct 1 18:24:10 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 1 Oct 2010 17:24:10 -0500 Subject: MYSQL timeout In-Reply-To: <4E2CF911-7FDD-41C5-BAB5-1CBBF3576D76@unimelb.edu.au> References: <82CDA01C-465D-403E-B3B5-C4B4875C781D@twft.com> <2438FBA4-2BC3-45CC-B004-096370769300@twft.com> <4E2CF911-7FDD-41C5-BAB5-1CBBF3576D76@unimelb.edu.au> Message-ID: google mail seems to keep the threads straignt. Better than any other mailer I've used. On 1 October 2010 17:19, Terry Judd wrote: > That's what I did, so it makes sense. > > Terry... > > On 02/10/2010, at 4:56 AM, "Bob Sneidar" wrote: > > > Aye. Methinks that when someone replies to an email from the list, there > is some kind of identifier in the email that tells a mailer it belongs to a > particular thread. So if someone replies to one thread, but substitutes the > subject with an entirely new subject, some mailers might just think they > were still the same thread. > > > > That's my theory and I'm sticking to it. :-) > > > > Bob > > > > > > On Oct 1, 2010, at 9:52 AM, stephen barncard wrote: > > > >> perhaps only in your mailer. > >> > >> On 1 October 2010 11:28, Bob Sneidar wrote: > >> > >>> No offense, but how in the HECK did this get stuck in the middle of the > >>> "IPad's competitor from RIM" thread? > >>> > >>> Bob > >>> > >>> > >>> On Sep 28, 2010, at 6:20 PM, Terry Judd wrote: > >>> > >>>> The problem of lengthy timeouts when trying to connect to a MSQL > server > >>> that > >>>> is down/offline is bugging me again. It seems like the default timeout > is > >>> 60 > >>>> seconds which is way too long to wait for a response but there's no > >>> obvious > >>>> way to override it. The socketTimeoutInterval has no effect and while > >>> I've > >>>> got some old code laying around that suggests setting an environment > >>>> variable ($MYSQL_CLIENT_TIMEOUT) it doesn't work either. > >>>> > >>>> Any ideas? > >>>> > >>>> Terry... > >>>> > >>>> -- > >>>> Dr Terry Judd | Senior Lecturer in Medical Education > >>>> Medical Education Unit > >>>> Melbourne Medical School > >>>> The University of Melbourne > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-revolution mailing list > >>>> use-revolution at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >> > >> > >> > >> -- > >> > >> > >> > >> Stephen Barncard > >> San Francisco Ca. USA > >> > >> more about sqb > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Stephen Barncard San Francisco Ca. USA more about sqb From kray at sonsothunder.com Sat Oct 2 00:15:23 2010 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Oct 2010 23:15:23 -0500 Subject: Storing an Array as a Custom Property In-Reply-To: <4CA621A6.2040503@fourthworld.com> Message-ID: > Instead the simplest I've found is this: > > on mouseUp > put "gaskin" into tPropSet > put "richard" into tProp > set the customPropertySet of me to tPropSet > set the tProp of me to "Howdy!" > end mouseUp > > Is there a way to make that a one-liner using array notation? The only way I can see to do it is with "do"; and maybe use merge to make it a bit cleaner: on mouseUp put "gaskin" into tPropSet put "richard" into tProp put "Howdy!" into tVal do merge("set the [[tPropSet]][ [[tProp]] ] of me to tVal") end mouseUp Note that you need to have a spaces around [[tProp]] otherwise you get an error... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pete at mollysrevenge.com Sat Oct 2 02:29:21 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 1 Oct 2010 23:29:21 -0700 Subject: LiveCode Datagrid Questions Message-ID: I'm having a number of issues with datagrids created in LiveCode 4.5. Datagrids created by Revolution 4.0 still work fine. I am unable to create custom column behaviors for any columns using the recommended method. I click the plus sign for the column, the card with the row template is displayed, I select the row template group but the Edit Group button in the toolbar or on the Object menu is greyed out and doesn't function. If I select the card containing the template for the datagrid, then select the Row Template group, the Edit Group command is available to me. I have a default column behavior script which I use for all my datagrids. Those created under 4.0 correctly execute the various handlers in that script but any created under 4.5 never execute any of the handlers in that script (the default column behavior is set to the correct button). I see two new handlers in the default column behavior supplied with LiveCode - PreFillinData and ResetData. What are some uses for these handlers? I also saw a recent post to this list regarding some new built in drag and drop reordering handlers in the default script - they don't appear in my default script. I have been using the Data Group Handler plugin. I have removed it from the Plugins folder in the Application bundle but these problems did not go away. Any answers much appreciated. Pete Haworth From david at dvglasgow.wanadoo.co.uk Sat Oct 2 05:08:41 2010 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Sat, 2 Oct 2010 10:08:41 +0100 Subject: data from USB joystick In-Reply-To: <20100929170004.51E05288328@mail.runrev.com> References: <20100929170004.51E05288328@mail.runrev.com> Message-ID: On 29 Sep 2010, at 6:00 pm, -=>JB<=- wrote: > > Exactly and that is why I did not mention it in my first response > because it sounded to me like he wanted to write code that is > going to allow his program to communicate with a USD device > and not depend on anything but his program. You are correct in what you understood, that would be ideal - and I am sure would be valuable to many LiveCode users. However, I am desperate to know whether my idea will work or not, so, I can do some development & testing work using USBOverdrive, and then worry about how to package it all up neatly (and cross platform) later, if it does work. Best Wishes, David Glasgow Carlton Glasgow Partnership i-psych.co.uk From admin at FlexibleLearning.com Sat Oct 2 06:24:58 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sat, 2 Oct 2010 11:24:58 +0100 Subject: Pullout menus disappear In-Reply-To: <20100930170004.638F328812F@mail.runrev.com> Message-ID: If the mouse is moved into a pullout whose first item is disabled, the pullout vanishes as soon as the mouse leaves the main menu and enters the pulllout. Looks like mouse-tracking is flakey. It makes using a hierarchical menu with the first item disabled rather difficult! And yes, I know such menus are not now recommended, but it makes sense in this instance. Is this a general bug, a bug with Windows XP, or just a bug with me? Also, a disabled radiomark (i.e. using "!r(" in front of the item) displays a disabled radiomark, as expected. However, a purportedly disabled checkmark (i.e. using "!c(" in front of the item) displays an ENABLED checkmark. Bug? Hugh Senior From zryip.theslug at gmail.com Sat Oct 2 06:55:00 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 2 Oct 2010 12:55:00 +0200 Subject: LiveCode Datagrid Questions In-Reply-To: References: Message-ID: On Sat, Oct 2, 2010 at 8:29 AM, Peter Haworth wrote: > I'm having a number of issues with datagrids created in LiveCode 4.5. > ?Datagrids created by Revolution 4.0 still work fine. > > I am unable to create custom column behaviors for any columns using the > recommended method. ?I click the plus sign for the column, the card with the > row template is displayed, I select the row template group but the Edit > Group button in the toolbar or on the Object menu is greyed out and doesn't > function. ?If I select the card containing the template for the datagrid, > then select the Row Template group, ?the Edit Group command is available to > me. > > I have a default column behavior script which I use for all my datagrids. > ?Those created under 4.0 correctly execute the various handlers in that > script but any created under 4.5 never execute any of the handlers in that > script (the default column behavior is set to the correct button). > > I see two new handlers in the default column behavior supplied with LiveCode > - PreFillinData and ResetData. ?What are some uses for these handlers? > > I also saw a recent post to this list regarding some new built in drag and > drop reordering handlers in the default script - they don't appear in my > default script. > > I have been using the Data Group Handler plugin. ?I have removed it from the > Plugins folder in the Application bundle but these problems did not go away. > > Any answers much appreciated. Peter, To clarify things about DGH (Data Grid Helper): 1) About interaction with the IDE. - DGH traps double click and click ONLY on datagrid groups. - it interacts with the LiveCode's inspector ONLY for the objects in its template area. 2) About scripts - DGH build scripts to fill column behaviors but it is not able to change how the datagrid library performs. 3) About templates - DGH uses its own way to edit the templates of a datagrid in a special area and never directly in the datagrid template it edits. - DGH not uses the IDE to edit templates. So DGH is not capable to generate the issues you describe: - group capability disable in the IDE (menu and toolbar) - handlers not working in a behavior script Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From claudi.c at fiberworld.nl Sat Oct 2 07:25:56 2010 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sat, 2 Oct 2010 13:25:56 +0200 Subject: Storing an Array as a Custom Property In-Reply-To: References: Message-ID: <90C5171F-2FB7-4A04-AF01-490ABFDB6C1E@fiberworld.nl> Hi Richard, It works if you create it as one var so put "gaskin[richard]" into tPropSet set the tPropset of tObj to tValue Or you can do on mouseUp put "gaskin" into tPropset put "[richard]" after tPropSet set the tPropSet of tObj to tValue end mouseUp I use this the whole time Claudi From zryip.theslug at gmail.com Sat Oct 2 08:28:12 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 2 Oct 2010 14:28:12 +0200 Subject: Drag & drop reordering of a DataGrid form In-Reply-To: References: <2F5F1D99-EA24-4B58-B970-9EA622A6E85C@sweattechnologies.com> <7DF2DF82-BC8B-4215-AA5C-977DB90AA39C@sweattechnologies.com> Message-ID: On Fri, Oct 1, 2010 at 2:23 PM, Monte Goulding wrote: >> Hold the phone. Looking at the data grid behavior script this might already be a feature but I can't find any docs about enabling it. Trevor? > > Talking to myself here but the blog post has been updated with a drag and drop script using the inbuilt support that seems to be undocumented. Scroll to the bottom but I'm leaving my original script as it still might be worthwhile for people that want to give their drag and drop a customised look. > > http://goulding.ws/consulting/blog/ > > Cheers Hi Monte, You are correct and Trevor could confirm that: for now there is no documentation about the drag & drop features of a datagrid. Concerning Drag & drop, Trevor has shared different links. 1) An example with a mp3 library: http://tr.im/data_grid This example shows how reorder lines in a DG or copy lines from a DG table to a DG form 2) A sample stack http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip The code used in the DG group is similar to the script you shared in your blog excepted the dragMove handler is missing. I shared also a small lab stack one or two weeks ago, to demonstrate how drag & drop lines from a DG table to another DG table. http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=11:experiment-15-drag-drop-in-dg&id=7:data-grid&Itemid=63 You have found your way with that so I posted this in case it could be useful for someone in the list. Anyway the Trevor's mp3 library still interesting to study. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From david at vaudevillecourt.tv Sat Oct 2 08:31:25 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 2 Oct 2010 13:31:25 +0100 Subject: An easy way to pipe input into shell commands? Message-ID: Is there a neat way to pipe input into shell commands from STDIN? The usual way I do it is to recreate everything as temporary files and then pass the file references - however it is both a hassle and can leave clutter around although I assume files stored in "the tempname" directory get cleared out properly on all platforms (anyone - I've not tested this cross-platform?). For smaller inputs (one liners) - you can construct a shell command which pipes an echo command - like this: put "echo 'Hello world!' | commandLineThatTakesSTDIN" into someShell > put shell (someShell) > But is you have a lot of text in a variable, that you want to pipe to a shell command this is not going to work - hence the need to write out to a temporary file. I'm just wandering if there is a way to do something like set the contents of STDIN from LiveCode, then just enter the shell command, or if this could be some form of feature request? From m.schonewille at economy-x-talk.com Sat Oct 2 08:34:36 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 2 Oct 2010 14:34:36 +0200 Subject: An easy way to pipe input into shell commands? In-Reply-To: References: Message-ID: <95DEA8F9-FECC-4353-ACD5-A3AA018ACD76@economy-x-talk.com> Hi David, One possibility might be to use CURL to connect to your standalone through a socket and pipe the data from that connection to the next shell command. This will work on Unix machines but might bot work on Windows. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 2 okt 2010, at 14:31, David Bovill wrote: > Is there a neat way to pipe input into shell commands from STDIN? The usual > way I do it is to recreate everything as temporary files and then pass the > file references - however it is both a hassle and can leave clutter around > although I assume files stored in "the tempname" directory get cleared out > properly on all platforms (anyone - I've not tested this cross-platform?). > > For smaller inputs (one liners) - you can construct a shell command which > pipes an echo command - like this: > > put "echo 'Hello world!' | commandLineThatTakesSTDIN" into someShell >> put shell (someShell) >> > > But is you have a lot of text in a variable, that you want to pipe to a > shell command this is not going to work - hence the need to write out to a > temporary file. I'm just wandering if there is a way to do something like > set the contents of STDIN from LiveCode, then just enter the shell command, > or if this could be some form of feature request? From monte at sweattechnologies.com Sat Oct 2 08:51:44 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 2 Oct 2010 22:51:44 +1000 Subject: Drag & drop reordering of a DataGrid form In-Reply-To: References: <2F5F1D99-EA24-4B58-B970-9EA622A6E85C@sweattechnologies.com> <7DF2DF82-BC8B-4215-AA5C-977DB90AA39C@sweattechnologies.com> Message-ID: > 2) A sample stack > http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip > The code used in the DG group is similar to the script you shared in > your blog excepted the dragMove handler is missing. Ah, this stack would have been handy. It doesn't work unless you set the dragAction in dragMove though. Cheers -- Monte Goulding M E R Goulding Software Development Bespoke application development for vertical markets InstallGadget - How to create an installer in 10 seconds revObjective - Making behavior scripts behave From ambassador at fourthworld.com Sat Oct 2 09:18:11 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Oct 2010 06:18:11 -0700 Subject: Storing an Array as a Custom Property Message-ID: <4CA73113.8080205@fourthworld.com> Claudi Cornaz wrote: > It works if you create it as one var so put "gaskin[richard]" into > tPropSet > set the tPropset of tObj to tValue > > Or you can do > > on mouseUp > put "gaskin" into tPropset > put "[richard]" after tPropSet > set the tPropSet of tObj to tValue > end mouseUp > > I use this the whole time Nice! It hadn't occurred to me to put the entire array notation string into a variable. And it avoids the performance penalty of "do" -- good stuff. Thanks! -- 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 From zryip.theslug at gmail.com Sat Oct 2 09:19:37 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 2 Oct 2010 15:19:37 +0200 Subject: Drag & drop reordering of a DataGrid form In-Reply-To: References: <2F5F1D99-EA24-4B58-B970-9EA622A6E85C@sweattechnologies.com> <7DF2DF82-BC8B-4215-AA5C-977DB90AA39C@sweattechnologies.com> Message-ID: On Sat, Oct 2, 2010 at 2:51 PM, Monte Goulding wrote: >> 2) A sample stack >> http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip >> The code used in the DG group is similar to the script you shared in >> your blog excepted the dragMove handler is missing. > > Ah, this stack would have been handy. It doesn't work unless you set the dragAction in dragMove though. Monte, Right. It seems necessary to set the dragAction in the dragMove handler since LiveCode 4.5. When I'm running the same stack with Revolution 4.5 dp2 all works like a charm without the dragMove handler. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From zryip.theslug at gmail.com Sat Oct 2 09:32:15 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 2 Oct 2010 15:32:15 +0200 Subject: Drag & drop reordering of a DataGrid form In-Reply-To: References: <2F5F1D99-EA24-4B58-B970-9EA622A6E85C@sweattechnologies.com> <7DF2DF82-BC8B-4215-AA5C-977DB90AA39C@sweattechnologies.com> Message-ID: > On Sat, Oct 2, 2010 at 2:51 PM, Monte Goulding > wrote: >>> 2) A sample stack >>> http://www.bluemangolearning.com/download/revolution/tools/dragdroptest.zip >>> The code used in the DG group is similar to the script you shared in >>> your blog excepted the dragMove handler is missing. >> >> Ah, this stack would have been handy. It doesn't work unless you set the dragAction in dragMove though. > > Monte, > > Right. It seems necessary to set the dragAction in the dragMove > handler since LiveCode 4.5. > When I'm running the same stack with Revolution 4.5 dp2 all works like > a charm without the dragMove handler. Just to clarify, this is a change in the datagrid library itself not in the LiveCode engine. I have tried this by using the revdatagridlibrary stack from the LiveCode 4.5 into my version of Revolution 4.5 dp2 and now I have to set the dragAction to make the reorder perform. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From jmyepes at mac.com Sat Oct 2 09:40:06 2010 From: jmyepes at mac.com (JosepM) Date: Sat, 2 Oct 2010 06:40:06 -0700 (PDT) Subject: Launch app from MacOSX system bar Message-ID: <1286026806787-2952429.post@n4.nabble.com> Hi, It's posible to launch one app from the system bar like, for example DropBox, Evernote... Any experience? I remember read something in some post but I don't found... Salut, Josep M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Launch-app-from-MacOSX-system-bar-tp2952429p2952429.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sat Oct 2 09:44:00 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 2 Oct 2010 15:44:00 +0200 Subject: Launch app from MacOSX system bar In-Reply-To: <1286026806787-2952429.post@n4.nabble.com> References: <1286026806787-2952429.post@n4.nabble.com> Message-ID: <2089A626-95DE-4635-ABB2-FFDB33CE99BE@economy-x-talk.com> Josep, That's not really what's happening. Whenever you choose an item from the menus in the top-right, the menu item selection is handled by a programme (e.g. a Rev standalone). This programme can launch another programme. Do you have a problem creating a menu icon in the top-right or do you have a problem launching another programme? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 2 okt 2010, at 15:40, JosepM wrote: > > Hi, > > It's posible to launch one app from the system bar like, for example > DropBox, Evernote... > > Any experience? I remember read something in some post but I don't found... > > Salut, > Josep M From jmyepes at mac.com Sat Oct 2 09:51:41 2010 From: jmyepes at mac.com (JosepM) Date: Sat, 2 Oct 2010 06:51:41 -0700 (PDT) Subject: Launch app from MacOSX system bar In-Reply-To: <2089A626-95DE-4635-ABB2-FFDB33CE99BE@economy-x-talk.com> References: <1286026806787-2952429.post@n4.nabble.com> <2089A626-95DE-4635-ABB2-FFDB33CE99BE@economy-x-talk.com> Message-ID: <1286027501093-2952451.post@n4.nabble.com> Hi Mark, I want create a custom icon that launch my standalone. I see that I must create a "menulets", isn't? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Launch-app-from-MacOSX-system-bar-tp2952429p2952451.html Sent from the Revolution - User mailing list archive at Nabble.com. From michael at michaelsmanias.com Sat Oct 2 09:54:45 2010 From: michael at michaelsmanias.com (Michael D Mays) Date: Sat, 2 Oct 2010 08:54:45 -0500 Subject: RevMobile Discussions Message-ID: <4578A63B-EA37-4419-8D19-12AFFFDA4EE4@michaelsmanias.com> Is this the or is there a place for RevMobile discussions? Thanks, Michael From m.schonewille at economy-x-talk.com Sat Oct 2 10:10:00 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 2 Oct 2010 16:10:00 +0200 Subject: Launch app from MacOSX system bar In-Reply-To: <1286027501093-2952451.post@n4.nabble.com> References: <1286026806787-2952429.post@n4.nabble.com> <2089A626-95DE-4635-ABB2-FFDB33CE99BE@economy-x-talk.com> <1286027501093-2952451.post@n4.nabble.com> Message-ID: Hi Josep, You need to create an statusIcon (according o the release notes). For example: on preOpenStack set statusIcon to 23001 set the statusIconMenu to "Open Programme|openStandalone" end preOpenStack and you need a script that handles the menu selection: on iconMenuPick theItem switch theItem case "openStandalone" launch "path/to/your/standalone" break case "somethingElse" -- do something else here break case "quit" quit break end switch end iconMenuPick Keep these scripts in a separate standalone, which runs all the time. Whenever the menu item Open Standalone is selected, the iconMenuPick handler runs and opens your main standalone. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 2 okt 2010, at 15:51, JosepM wrote: > > Hi Mark, > > I want create a custom icon that launch my standalone. I see that I must > create a "menulets", isn't? > > > Salut, > Josep > From claudi.c at fiberworld.nl Sat Oct 2 10:22:35 2010 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sat, 2 Oct 2010 16:22:35 +0200 Subject: Storing an Array as a Custom Property In-Reply-To: <4CA73113.8080205@fourthworld.com> References: <4CA73113.8080205@fourthworld.com> Message-ID: <7A99A1E0-CA0E-4A9A-BD8B-FC33ADE82BFC@fiberworld.nl> There is another one theat works put "richard" into tProp put the gasking[tprop] of tObj Apparantly the set name by itself can't be a var, altough the prop name can. So either put the whole thing in a var (set name en property name) or you can only use the property part as a var. Claudi On 2 okt 2010, at 15:18, Richard Gaskin wrote: > Claudi Cornaz wrote: > >> It works if you create it as one var so put "gaskin[richard]" into >> tPropSet >> set the tPropset of tObj to tValue >> >> Or you can do >> >> on mouseUp >> put "gaskin" into tPropset >> put "[richard]" after tPropSet >> set the tPropSet of tObj to tValue >> end mouseUp >> >> I use this the whole time > > Nice! > > It hadn't occurred to me to put the entire array notation string > into a variable. And it avoids the performance penalty of "do" -- > good stuff. Thanks! > > -- > 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-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Sat Oct 2 10:56:38 2010 From: dsc at swcp.com (Dar Scott) Date: Sat, 2 Oct 2010 08:56:38 -0600 Subject: An easy way to pipe input into shell commands? In-Reply-To: References: Message-ID: <858E0A91-D178-47CB-A15D-67B0BB2A6B91@swcp.com> On Oct 2, 2010, at 6:31 AM, David Bovill wrote: > Is there a neat way to pipe input into shell commands from STDIN? You might consider the slave process feature of LiveCode which has been revamped in 4.5. Use 'open process' to run the command-line tool. Use 'write ... to process' to write to its STDIN. Get the result with 'read from process'. There is an example in the revision notes. This is not new. Working well is presumably new. The limitation is that when you close the pipe to the process, LiveCode (that is, the version of Revolution I tested years ago-- things may have changed) also closes the pipe from the process, so this would not be good for things that do their work after the close, such as sort. > put "echo 'Hello world!' | commandLineThatTakesSTDIN" into someShell > put shell (someShell) Cool! Dar Scott -- ************************************** Dar Scott Dar Scott Consulting and darzLAB 8637 Horacio Place NE Albuquerque, NM 87111 Lab, office, home: +1 505 299 9497 Fax: try 299-9497 Skype: lets set up a time http://www.swcp.com/dsc dsc at swcp.com Computer programming and tinkering ************************************** From coiin at verizon.net Sat Oct 2 11:04:04 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 2 Oct 2010 11:04:04 -0400 Subject: RevMobile Discussions In-Reply-To: <4578A63B-EA37-4419-8D19-12AFFFDA4EE4@michaelsmanias.com> References: <4578A63B-EA37-4419-8D19-12AFFFDA4EE4@michaelsmanias.com> Message-ID: <05AC207E-875A-4728-8742-34D6F7CE3C72@verizon.net> On Oct 2, 2010, at 9:54 AM, Michael D Mays wrote: > >Is this the or is there a place for RevMobile discussions? I would think that here would be a good place. It's not really any different than if you were asking about a standalone specific issue, there isn't a special forum just for that. From dsc at swcp.com Sat Oct 2 11:05:23 2010 From: dsc at swcp.com (Dar Scott) Date: Sat, 2 Oct 2010 09:05:23 -0600 Subject: RevMobile Discussions In-Reply-To: <4578A63B-EA37-4419-8D19-12AFFFDA4EE4@michaelsmanias.com> References: <4578A63B-EA37-4419-8D19-12AFFFDA4EE4@michaelsmanias.com> Message-ID: On Oct 2, 2010, at 7:54 AM, Michael D Mays wrote: > Is this the or is there a place for RevMobile discussions? I cannot answer your question. I can say that I would not mind. I had assumed this is where others would focus and I might focus on other things, but it looks like revMobile is in my future, even in communicating with my microcontroller work. The new licensing makes updating to revMobile licenses just-in-time and low cost, so anybody is just a few steps away. Dar Scott -- ************************************** Dar Scott Dar Scott Consulting and darzLAB 8637 Horacio Place NE Albuquerque, NM 87111 Lab, office, home: +1 505 299 9497 Fax: try 299-9497 Skype & Google: lets set up a time http://www.swcp.com/dsc dsc at swcp.com Computer programming and tinkering ************************************** From jmyepes at mac.com Sat Oct 2 11:22:56 2010 From: jmyepes at mac.com (JosepM) Date: Sat, 2 Oct 2010 08:22:56 -0700 (PDT) Subject: Launch app from MacOSX system bar In-Reply-To: References: <1286026806787-2952429.post@n4.nabble.com> <2089A626-95DE-4635-ABB2-FFDB33CE99BE@economy-x-talk.com> <1286027501093-2952451.post@n4.nabble.com> Message-ID: <1286032976135-2952511.post@n4.nabble.com> Hi Mark, And how I put the standalone into de status bar as status item? As NSStatusItem? Maybe I don't explain myself or I don't understand you..., I refer to put the item to the status bar as Airport icon, Monitor icon, the time, the spotlight, and clicking from this show options and one of them was launch the standalone... Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Launch-app-from-MacOSX-system-bar-tp2952429p2952511.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sat Oct 2 11:36:40 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 2 Oct 2010 17:36:40 +0200 Subject: Launch app from MacOSX system bar In-Reply-To: <1286032976135-2952511.post@n4.nabble.com> References: <1286026806787-2952429.post@n4.nabble.com> <2089A626-95DE-4635-ABB2-FFDB33CE99BE@economy-x-talk.com> <1286027501093-2952451.post@n4.nabble.com> <1286032976135-2952511.post@n4.nabble.com> Message-ID: <0486BE21-1E4C-47C8-A722-D57C9532F438@economy-x-talk.com> Josep, Apparently, you don't know that you can do this with RR 4.5 now. No need for NSStatusItems. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 2 okt 2010, at 17:22, JosepM wrote: > > Hi Mark, > > And how I put the standalone into de status bar as status item? As > NSStatusItem? > > Maybe I don't explain myself or I don't understand you..., I refer to put > the item to the status bar as Airport icon, Monitor icon, the time, the > spotlight, and clicking from this show options and one of them was launch > the standalone... > > Salut, > Josep From klaus at major.on-rev.com Sat Oct 2 11:46:56 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 2 Oct 2010 17:46:56 +0200 Subject: Launch app from MacOSX system bar In-Reply-To: <0486BE21-1E4C-47C8-A722-D57C9532F438@economy-x-talk.com> References: <1286026806787-2952429.post@n4.nabble.com> <2089A626-95DE-4635-ABB2-FFDB33CE99BE@economy-x-talk.com> <1286027501093-2952451.post@n4.nabble.com> <1286032976135-2952511.post@n4.nabble.com> <0486BE21-1E4C-47C8-A722-D57C9532F438@economy-x-talk.com> Message-ID: Hi Josep and Marc, according to the 4.5 Release Notes (page 10-11) this feature is 1. experimental, which is better than unsupported :-) BUT 2. currently only implemented into the Windows version! Am 02.10.2010 um 17:36 schrieb Mark Schonewille: > Josep, > > Apparently, you don't know that you can do this with RR 4.5 now. No need for NSStatusItems. > > -- > Best regards, > Mark Schonewille > > On 2 okt 2010, at 17:22, JosepM wrote: > Hi Mark, >> >> And how I put the standalone into de status bar as status item? As >> NSStatusItem? >> Maybe I don't explain myself or I don't understand you..., I refer to put >> the item to the status bar as Airport icon, Monitor icon, the time, the >> spotlight, and clicking from this show options and one of them was launch >> the standalone... >> >> Salut, >> Josep Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ambassador at fourthworld.com Sat Oct 2 11:53:50 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Oct 2010 08:53:50 -0700 Subject: Launch app from MacOSX system bar Message-ID: <4CA7558E.8030102@fourthworld.com> From the v4.5 release notes: ---------------------------------------------------------------- Status icon support (experimental) Windows, Linux and Mac OS X all have an area where so-called 'status icons' can be displayed. On Windows this is the system tray on the bottom right of the start bar, on Linux this is typically the right of the panel at the top of the screen, and on Mac OS X this is on the menubar. The engine has support for adding a single status icon, and it can be configured using the statusIcon, the statusIconTooltip and the statusIconMenu: set the statusIcon to imageId set the statusIconMenu to iconMenuSpec set the statusIconToolTip to toolTip Here imageId is the id of the image you wish to use as the icon. It will be scaled down automatically to the appropriate size for the platform and then set. The toolTip specifies what message appears when the user hovers over the status icon. The iconMenuSpec allows you to configure a menu that will appear when the user does a 'menu' click on the icon. This string uses a subset of the standard engine menu specification: [ * ] [ '(' ]