Re: [ANN] MobGUI plugin : mobile development aid + movie player question

2011-06-10 Thread John Craig
Thanks to everyone for the feedback - it's still early days for the plugin! I added the iOS movie player object yesterday and it's working ok, but I notice that if I switch it to full screen then press fforward that the result is a black screen and it doesn't return to the card or show the

Problem with umlautes (non ASCII chars) in Windows

2011-06-10 Thread Rolf Kocherhans
I need to get the Computername from a Windows PC, but if the computername contains non ASCII chars I get odd characters. Also, the global variable (%Computername%) from inside LiveCode does not display non ASCII chars correctly. I also tried to use the CMD with the command hostname, which

line colour in a dataGrid table...

2011-06-10 Thread John Dixon
How do I set the lines of a dataGrid table to different colours ?... I can seem to find it in the datagrid manual. be well ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Live LiveCode code event #26 Wrapup

2011-06-10 Thread Björnke von Gierke
so you volunteer for saturday in a week? On 10 Jun 2011, at 02:55, Roger Eller wrote: 2011/6/9 Björnke von Gierke b...@mac.com Hi Here is the wrap up from the last event. I'm sorry it's a bit late, but having no presenters stresses me out disproportionally. I am pretty sure I saw at

Re: find by content with Mac OS

2011-06-10 Thread James Hurley
--- Message: 2 Date: Thu, 09 Jun 2011 14:11:19 -0700 From: Richard Gaskin ambassa...@fourthworld.com To: use-livecode@lists.runrev.com Subject: Re: find by content with Mac OS Message-ID: 4df136f7.3050...@fourthworld.com Content-Type: text/plain; charset=ISO-8859-1;

Re: Live LiveCode code event #26 Wrapup

2011-06-10 Thread Björnke von Gierke
so you'd like to help with organising? On 10 Jun 2011, at 02:45, stephen barncard wrote: Such is the downside of being solely responsible for an international weekly independent television show! 2011/6/9 Björnke von Gierke b...@mac.com Hi Here is the wrap up from the last event. I'm

Re: find by content with Mac OS

2011-06-10 Thread Jim Ault
On Jun 10, 2011, at 3:43 AM, James Hurley wrote Is there something I am missing? Spotlight doesn't appear to index my scripts and I have everything checked in the Mac OS Spotlight Preferences. All versions of Rev and LC do not make the scripts or field data available for spotlight

Re: Using Datagrids with 'stackrunner' like launcher.

2011-06-10 Thread Trevor DeVore
On Tue, Jun 7, 2011 at 6:07 PM, stephen barncard stephenrevoluti...@barncard.com wrote: I can then use any of these stacks anywhere with no IDE. Very nice except I can't seem to make datagrids work on stacks that are used this way. I was able to ascertain that indeed the substack with the

Re: line colour in a dataGrid table...

2011-06-10 Thread Mike Bonner
Is this the one you're looking for? http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7332-How-Can-I-Colorize-Individual-Lines-in-a-Table- On Fri, Jun 10, 2011 at 4:17 AM, John Dixon dixo...@hotmail.co.uk wrote: How do I set the lines of a dataGrid table to different colours

[ANN] Live LiveCode code event #27

2011-06-10 Thread Björnke von Gierke
Here we go. Event 27 crawls into existence on its last tooth, and features these presenters: Andreas Rozek will showcase his recently released iPhone Control Kit, a native iOS widgets creation tool. In addition to a small introduction, he'll also give us a tutorial on how to use it.

Re: New Row into datagrid and edit field

2011-06-10 Thread Trevor DeVore
On Thu, Jun 9, 2011 at 5:57 AM, Alessandro Pisoni alessan...@system-ini.itwrote: I have a button that creates a row in my datagrid but I would be automatically moves to the specific field in that row. how can I do? on mouseup put the dgNumberOfLines of group ElencoTelefoni + 1 into

Re: Reconnecting a stack's datagrid with its template in a stackrunner situation

2011-06-10 Thread Trevor DeVore
On Thu, Jun 9, 2011 at 8:40 PM, stephen barncard stephenrevoluti...@barncard.com wrote: With no error, but the grid is lifeless. Can't scroll, can't put data in etc. See my response to your original email (just posted). It sounds like revdataGridLibrary stack isn't available when your stack

R: using animated gif for a cursor on Windows

2011-06-10 Thread bacches...@tin.it
Messaggio originale Da: mstu...@adaptcrm.com Data: 9-giu-2011 18.05 A: use-livecode@lists.runrev.com Ogg: using animated gif for a cursor on Windows Hi All, I'm using an animated gif (rotating dot in a circle) with the cursor on Windows XP, but the gif doesn't animate in LC v4.6.1.

Re: Reconnecting a stack's datagrid with its template in a stackrunner situation

2011-06-10 Thread stephen barncard
Thanks , Trevor for responding to this. It's working now with the dummy substack method, but I will employ the stack sequence thing in the future. sqb On 10 June 2011 05:42, Trevor DeVore li...@mangomultimedia.com wrote: On Thu, Jun 9, 2011 at 8:40 PM, stephen barncard

Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread John Patten
Hi All... I've been looking at all the solutions in the archive for getting the IP address of the machine running a stack. Some shell scripts, some php calls, etc. etc. I have a situation where we are behind a firewall using NAT. So all our computers are running a 10.x.x.x.x address. I'm

Re: [ANN] MobGUI plugin : mobile development aid

2011-06-10 Thread Bob Sneidar
I'm sorry I keep getting advertisements interrupting the presentation. I can't watch this. It sounds promising though. Bob On Jun 9, 2011, at 3:47 PM, Andre Garzia wrote: JC, You made my day!!! I tried creating a similar tool to myself but I couldn't. Your tool is greater than anything I

Re: find by content with Mac OS

2011-06-10 Thread Bob Sneidar
You must have Spotlight indexing turned off. It works for me in ALL of the apps you suggested that it does not. Alternately, you may have a corrupted Spotlight index. You can google how to remedy that. Bob On Jun 9, 2011, at 6:04 PM, Timothy Miller wrote: Thanks Jim and others. I have

Re: find by content with Mac OS

2011-06-10 Thread Bob Sneidar
It does not. What you want to use is that little magnifying glass in the upper right of your screen in the menu bar. Command-F in the Finder only searches for the contents of files, but not I think Address Book files and such. Still using this method, I am not seeing any of my stacks after

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Devin Asay
John, Look at the hostName and hostNameToAddress functions put the hostNameToAddress of the hostName into fld info HTH Devin On Jun 10, 2011, at 11:05 AM, John Patten wrote: Hi All... I've been looking at all the solutions in the archive for getting the IP address of the machine

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Mark Talluto
Hi John, Hope this helps. function getMyIp switch (the platform) case MacOS put shell(/sbin/ifconfig en0) into tEthernetConfig put shell(/sbin/ifconfig en1) into tWirelessConfig if char 1 to 4 of

Re: find by content with Mac OS

2011-06-10 Thread Bob Sneidar
I may have found a solution for this but to test it I need to know what the file type is (not the filename extension) of a LiveCode stack. Anyone? Bob On Jun 9, 2011, at 6:04 PM, Timothy Miller wrote: Thanks Jim and others. I have worked out ways to search my LC stacks quickly and

Re: find by content with Mac OS

2011-06-10 Thread Björnke von Gierke
one way to see filetypes is the detailed files. another way is to go into the ressource fork yourself with the resfile: specifier for URL: put url (resfile: the effective filename of this stack) On 10 Jun 2011, at 19:48, Bob Sneidar wrote: I may have found a solution for this but to test

Re: find by content with Mac OS

2011-06-10 Thread Devin Asay
Bob, On Jun 10, 2011, at 11:48 AM, Bob Sneidar wrote: I may have found a solution for this but to test it I need to know what the file type is (not the filename extension) of a LiveCode stack. Anyone? Are you referring to the Mac file type code? It's RSTK. The creator signature for

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread John Patten
Thanks for the quick replies! I thought I had it figured out with Devin's suggestion. Everything seemed to work with this script: on mouseUp put the hostname into tHostName --wait 1 sec put the hostnametoaddress of tHostName end mouseUp The address returned 10.58.0.109. However,

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Nonsanity
Neither of the solutions given so far in this thread have worked for my on my office PC. I just get my LAN 192.168.x.x number. Here's what I use. They do rely on outside entities, but they are both pretty stable sites that have lasted a good long time... [whatismyip.org] put url

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread John Patten
Actually Chris I wanted the local network, behind the firewall IP address. The project I have in mind is just using sockets in a single classroom. All computers have 10.x.x.x. addresses. Thanks! John Patten SUSD On Jun 10, 2011, at 11:15 AM, Nonsanity wrote: Neither of the solutions

Re: find by content with Mac OS

2011-06-10 Thread Bob Sneidar
Well the solutions presented in blogs i have seen are not panning out. Oddly, zip files containing Livecode stacks ARE being found by Spotlight, but not the stacks themselves. I think this will require the Livecode people to create a valid mdimporter file for livecode stacks. Bob On Jun 10,

Re: line colour in a dataGrid table...

2011-06-10 Thread Bob Sneidar
I believe Datagrid Helper can do this as well. Bob On Jun 10, 2011, at 3:17 AM, John Dixon wrote: How do I set the lines of a dataGrid table to different colours ?... I can seem to find it in the datagrid manual. be well

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Bob Sneidar
This works for me. Methinks it is going to give you the address of the primary adapter. Do you have multiple adapters? Any bridging going on, like with Parallels networking? Also, if the hostname function is using DNS, then it may be that your DNS records are stale. This is just a guess though.

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Bob Sneidar
He wants the local are network IP, not the public NAT address. Bob On Jun 10, 2011, at 11:15 AM, Nonsanity wrote: Neither of the solutions given so far in this thread have worked for my on my office PC. I just get my LAN 192.168.x.x number. Here's what I use. They do rely on outside

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Jim Ault
On Jun 10, 2011, at 11:20 AM, John Patten wrote: Actually Chris I wanted the local network, behind the firewall IP address. The project I have in mind is just using sockets in a single classroom. All computers have 10.x.x.x. addresses. Thanks! You could try this. When you send a

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Phil Davis
On 6/10/11 11:12 AM, John Patten wrote: Thanks for the quick replies! I thought I had it figured out with Devin's suggestion. Everything seemed to work with this script: on mouseUp put the hostname into tHostName --wait 1 sec put the hostnametoaddress of tHostName end mouseUp The

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Nonsanity
haha I completely failed to grasp that. :) How about: put char 2 to -2 of word 3 of shell( ping -n 1 word 2 of shell(ping -n 1 localhost) ) into msg ~ Chris Innanen ~ Nonsanity On Fri, Jun 10, 2011 at 2:20 PM, John Patten johnpat...@mac.com wrote: Actually Chris I wanted the local

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Bob Sneidar
So if you are using Apples, I wonder if there is a way to access the bonjour address? When I ping the name of my computer in terminal, with .local appended to the end I get the actual IP of the primary adapter. Now if I issue the Livecode command put the hostname in the message box it returns

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Bob Sneidar
Or don't use localhost at all! It will always return 127.0.0.1. That is the loopback address of every adapter under the sun. Bob On Jun 10, 2011, at 11:49 AM, Nonsanity wrote: haha I completely failed to grasp that. :) How about: put char 2 to -2 of word 3 of shell( ping -n 1 word 2

[Slightly OT] CSS or Javascript for a web page div that ignores vertical scrolling?

2011-06-10 Thread Keith Clarke
Hi folks, I'm having a little trouble with search terms for sorting the web page that will contain my project revlet... I want to place a little floating widget part-way down the right margin of the web page that stays put vertically wrt the browser window as the lengthy, underlying page

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Mike Bonner
On my machine (with virtualbox) using the example from above works, but returns both addresses, for the machine as well as the virtualbox network interface. *on mouseUp put the hostname into tHostName --wait 1 sec put the hostnametoaddress of tHostName **end mouseUp* * * Seems like if its

Re: find by content with Mac OS

2011-06-10 Thread Timothy Miller
I forced Spotlight to re-index. Now it finds-by-content all of the stuff in Apple applications it couldn't previously find. Sorry about the confusion. For most purposes, exporting LC data to a text file so Spotlight could find it by content would be far more trouble than it was worth. Certainly

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Nonsanity
In my last code, the localhost was just to get the hostName, something that can also be done with LC's built in hostName function/prop like so: put char 2 to -2 of word 3 of shell( ping -n 1 the hostName ) into msg It's just an optional way to get the hostName if LC was failing to do that

Re: [Slightly OT] CSS or Javascript for a web page div that ignores vertical scrolling?

2011-06-10 Thread Mark Schonewille
Hi Keith, Set the position style property to fixed. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here

Re: [Slightly OT] CSS or Javascript for a web page div that ignores vertical scrolling?

2011-06-10 Thread Keith Clarke
Ah great - thanks Mark! I ignored the obvious as I thought position was just about relative positioning within nested containers, but you seeded my Google search perfectly http://www.w3.org/Style/Examples/007/menus Best, Keith.. On 10 Jun 2011, at 20:12, Mark Schonewille wrote: Hi Keith,

R: using animated gif for a cursor on Windows

2011-06-10 Thread Mark Stuart
on Fri Jun 10 08:24:20 CDT 2011, baccheschi at tin.it wrote: perhapse may help you.. putting it on a .gif script on mouseUp set the repeatcount of img ID its_ID to -1 set cursor to 0 repeat until the mouseclick set the loc of img ID its_ID to the mouseloc end repeat set the

Re: R: using animated gif for a cursor on Windows

2011-06-10 Thread Björnke von Gierke
well, you can set the cursor to different images repeatedly, therefore creating a fake animation, kind of? On 10 Jun 2011, at 21:29, Mark Stuart wrote: on Fri Jun 10 08:24:20 CDT 2011, baccheschi at tin.it wrote: perhapse may help you.. putting it on a .gif script on mouseUp set the

Re: find by content with Mac OS

2011-06-10 Thread James Hurley
- Message: 4 Date: Fri, 10 Jun 2011 10:32:45 -0700 From: Bob Sneidar b...@twft.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: find by content with Mac OS Message-ID: d5d8a1a4-b064-42ef-ad61-dcd6d5cec...@twft.com Content-Type: text/plain;

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Bob Sneidar
Unless, as was the case with me, it returns the FQDN from the AD DNS, and that happens to be wrong. I get lgos-mp-bobsneidar.cccm.lan. THAT is from our AD DNS, NOT the actual hostname of the computer as all computers will see it. What if there are computers that are not a part of that domain,

Re: find by content with Mac OS

2011-06-10 Thread Bob Sneidar
The two methods produce 2 different results for me. Bob On Jun 10, 2011, at 12:55 PM, James Hurley wrote: - Message: 4 Date: Fri, 10 Jun 2011 10:32:45 -0700 From: Bob Sneidar b...@twft.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: find

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Mark Talluto
On Jun 10, 2011, at 11:12 AM, John Patten wrote: Mark, I'm assuming there is a shell script for Ubuntu too that will do the same parse action as your script example? Your example should help me to understand how to parse the shell script. Hi John, Not sure what it is. But it will be easy

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Mark Talluto
On Jun 10, 2011, at 11:15 AM, Nonsanity wrote: Neither of the solutions given so far in this thread have worked for my on my office PC. I just get my LAN 192.168.x.x number. Here's what I use. They do rely on outside entities, but they are both pretty stable sites that have lasted a good

Re: line colour in a dataGrid table...

2011-06-10 Thread Anthony Howe
It sure can! On 11/06/2011, at 4:27 AM, Bob Sneidar b...@twft.com wrote: I believe Datagrid Helper can do this as well. Bob On Jun 10, 2011, at 3:17 AM, John Dixon wrote: How do I set the lines of a dataGrid table to different colours ?... I can seem to find it in the datagrid

Re: [Slightly OT] CSS or Javascript for a web page div that ignores vertical scrolling?

2011-06-10 Thread Michael Kann
It looks like for older browsers you might have to add a !DOCTYPE to make it work. --- http://www.w3schools.com/css/css_positioning.asp --

Re: [ANN] MobGUI plugin : mobile development aid

2011-06-10 Thread John Craig
I posted a new version earlier today. The iOS movie player, and some experimental retina control resizing is included. Thanks for all the feedback so far. http://www.splash21.com/MobGUI/ On 09/06/2011 00:51, John Craig wrote: Following a good response after the live demo on livecode.tv,

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread John Patten
I settled on Mark's shell script process to get IP address. I managed to kludge together a case for Linux (Ubuntu Netbook) too. I did not quite understand the matchtext line with its (?s) and (.*?)'s but the Mac OSX case and Linux case almost worked without any changes. The Linux shell is

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Jim Ault
How does the matchText call know just to capture the IP address in the variable retVal? Okay, you said you wanted to know what is going on, so here it is. Modifier at the beginning of a statement (?s) says that the '.' char CAN match a return char, thus the match can span 2 or more lines

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread J. Landman Gay
On 6/10/11 8:21 PM, Jim Ault wrote: The () parens are telling the engine to capture any chars that meet the conditions inside and assign them to the first variable specified. In this case, it is 'retVal' If there were a second set of (), then those chars would be assigned to the second variable

Re: Why No Built in GetMyIP call in LiveCode?

2011-06-10 Thread Jim Ault
On Jun 10, 2011, at 7:39 PM, J. Landman Gay wrote: On 6/10/11 8:21 PM, Jim Ault wrote: The () parens are telling the engine to capture any chars that meet the conditions inside and assign them to the first variable specified. In this case, it is 'retVal' If there were a second set of (),