Re: Keydowns during Socket Read/Writes

2011-02-09 Thread camm29
Mark , Sorry , a few typo's... Within the ReceivedMessage:- I can get the Keydown to work without writing to the socket. I can write to the socket without the Keydown. If i try to write to the socket as a reponse to a Keydown , the write does not happen. As shown in the script below

style of addressing objects

2011-02-09 Thread Tiemo Hollmann TB
Hello, lets say I have a field "f1", grouped in grp "g1" on card "c1". I can address the field e.g.: put "foo" into fld f1 But I could also address: put "foo" into fld f1 of grp g1 Or: put "foo" into fld f1 of cd c1 Or: put "foo" into fld f1 of grp g1 of cd c1 of stack s1 And actually ever

OSX cmd & alt modifiers on left and right arrow keys in text

2011-02-09 Thread Keith Clarke
Hi folks, IIRC Every native OSX text manipulation app on any Mac I've used, has the 'alt' key change cursor movement granularity to word-level and the '⌘/cmd' key to line-level. In the LiveCode IDE and OSX stand alone apps (such as ScreenSteps), the 'alt' key is ignored (granularity remains at c

Re: Obtaining the public IP of a computer...

2011-02-09 Thread Alex Tweedly
PHP ? But we have irev ... You can use http://www.tweedly.org/whatismyip.irev Or if you have your own rev server / on-rev account you can have a script that does -- Alex. On 09/02/2011 07:51, David C. wrote: On Tue, Feb 8, 2011 at 8:43 PM, Paul Dupuis wrote: Hello Paul, If you have

can grouping help me rezising objects?

2011-02-09 Thread Tiemo Hollmann TB
Hello, I have a bunch of objects grouped in several hierarchical groups in a stack which is resizable. Up to now I resize every single object by script just how I need it. Up to now I experienced, that I can't resize the objects of a group by resizing the group. Ok, it isn't that easy how all obj

Re: style of addressing objects

2011-02-09 Thread Klaus on-rev
Hi Tiemo, > Hello, > > lets say I have a field "f1", grouped in grp "g1" on card "c1". > > I can address the field e.g.: put "foo" into fld f1 > But I could also address: put "foo" into fld f1 of grp g1 > Or: put "foo" into fld f1 of cd c1 > Or: put "foo" into fld f1 of grp g1 of cd c1 of stack

Re: Trial Copy

2011-02-09 Thread Andre Garzia
=O living and learning, sorry for my mistake! On Tue, Feb 8, 2011 at 7:52 PM, Heather Nagey wrote: > Yes you can. Since we integrated iOS with the main IDE you can try out the > iOS deployment options for 30 days like any other aspect of LiveCode. Just > select it in the standalone build

AW: style of addressing objects

2011-02-09 Thread Tiemo Hollmann TB
Thanks Klaus, thats how I coded already, but it is good to get a commitment by such a honoured man! Actually I was thinking of compressing, extracting and copying all objects first with DITTO - good you mentioned it Thanky Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode-boun...@lists

Re: AW: style of addressing objects

2011-02-09 Thread Klaus on-rev
Hi Tiemo, > Thanks Klaus, > thats how I coded already, but it is good to get a commitment by such a > honoured man! oh, I feel flattered :-) > Actually I was thinking of compressing, extracting and copying all objects > first with DITTO - good you mentioned it This is a BRILLIANT idea! Glad I

Re: [on-rev] browser not reloading modified irev pages

2011-02-09 Thread Andre Garzia
I suspect martin is right, it is probably cache. One trick is always trying to access your irev page with a timestamp such as: http://www.example.com/mypage.irev?bogus=1234567898776544 if you change the bogus value for every access, you never reach a cached page. On Tue, Feb 8, 2011 at 10:02 PM

Re: OSX cmd & alt modifiers on left and right arrow keys in text

2011-02-09 Thread Björnke von Gierke
On 9 Feb 2011, at 11:13, Keith Clarke wrote: > Can I set something in my LiveCode preferences to change this setting - > ideally in the IDE but at least for any OSX stand alone apps? Besides custom coding selection changes by rawkeydown trapping, no. THe existing behaviour is a weird middle g

a praise for RevIgniter

2011-02-09 Thread Andre Garzia
Folks, As some here know, I work half of the week at a company doing PHP work where I maintain and further develop an old codebase used to send marketing campaings and newsletters by email. Our code is very convoluted because the previous 3 programmers had an XGH mentality. I will not enter my inf

Re: OSX cmd & alt modifiers on left and right arrow keys in text

2011-02-09 Thread Keith Clarke
Hmmm. Maybe that's good enough for a hobbyist toolkit but surely this a fundamental issue for a cross-platform development application? I get visual cues that adjust my 'muscle-memory preferences' for modifier keys when I'm in OSX, Ubuntu, Windows XP or 7. However, if I use LiveCode apps - and

Re: Obtaining the public IP of a computer...

2011-02-09 Thread Paul Dupuis
Okay, great suggestions from folks to use a hosted service to return the public IP of the computer a LiveCode app is running on, but, I have to ask because I am now curious, does anyone know of a way to do this that is not dependent upon a hosted service? -- Paul Dupuis Cofounder Researchware,

Re: Obtaining the public IP of a computer...

2011-02-09 Thread Andre Garzia
Paul, I am just saying from my own humble opinion here. I think there might be a way to query the underlining operating system for the IPs but it will not be cross platform but if you are behind routers, switches, nats and so on, I don't think you will ever be able to guess the public IP unless so

Re: Drag and Drop

2011-02-09 Thread Richard Gaskin
Peter Haworth wrote: I'm not sure what changed. It seems to be inconsistent as to whether the snapback happens or not but most of the time it does. Pete Haworth On Feb 8, 2011, at 10:22 PM, Thierry wrote: And Peter, what was working when you answered my mail, and then has changed ? On th

Re: Obtaining the public IP of a computer...

2011-02-09 Thread Alex Tweedly
I don't know of one. I'll go further - there is not, and cannot be, one. Your "public IP address" is assigned for you by the last NAT step between your private network where your machine lives and the public Internet. Note there may be more than one NAT step, and there may be more than one r

Re: Obtaining the public IP of a computer...

2011-02-09 Thread David C.
I'm in agreement with Andre... ...after quite a lot of research, I haven't found a single solution on the Windows side of the issue, that doesn't require a remote source providing the information. Haven't looked into the other platforms, but I'd be surprised to learn that they have some sort of "sp

Re: use-livecode Digest, Vol 89, Issue 16

2011-02-09 Thread Tuviah Snyder
This makes it sound like the only major difference is that RunRev runs on more platforms Tell me does supercard have these yet parentscripts XML Database support Web browser control associative arrays? I would think XML is pretty crucial in application development in this day and age. best, Tu

Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Typing bullets on a Mac is a simple option-8 (I believe) while on Windows it's option-0149. However, type this in Livecode's script editor window and you end up with the blinking insertion point jumping all over the place, which can be quite aggravating. Anybody have any ideas? Thanks, Ray Hors

SuperCard

2011-02-09 Thread Mark Schonewille
Hi Tuviah, The great thing about the SuperCard community is that very nifty externals are often completely free. This gives people access to XML, database support, web browser control. Additionally, SuperCard uses truely native controls. There are many reasons to prefer SuperCard for specific p

Re: Obtaining the public IP of a computer...

2011-02-09 Thread Nonsanity
If you want to know the address on the front of the building, you sorta have to go outside and look. Or in this case, ask someone who's already outside to tell you. William's answer is probably your simplest and stablest bet. Drop it in the msg box: put URL "http://www.whatismyip.com/automation/n

Re: Bullets in Script Editor Window

2011-02-09 Thread Nonsanity
If you only need it once, hit up this site and copy/paste the character you need: http://www.dtp-aus.com/ext_set.htm And if you need to create it from inside a script, use a quoted, pasted dot or numtochar(149), or whatever other character number you want from the chart on that web page. There a

Re: Bullets in Script Editor Window

2011-02-09 Thread dunbarx
Do you mean the issue is strictly in Windows? Because option-8 works fine on my Mac. But how does one type "option 0149"? I would need two friends to help me type that all at once. Craig Newman -Original Message- From: Ray Horsley To: Use-Revolution Sent: Wed, Feb 9, 2011 10:19

Re: Bullets in Script Editor Window

2011-02-09 Thread David C.
> But how does one type "option 0149"? I would need two friends to help me type > that all at once. Heh... in windows it's Alt 0149 and when you turn loose of the alt key, the silly thing automagically appears. ;-) Best regards, David C. ___ use-livec

RE: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Chris, Very useful web page. Thanks, however, I was hoping to discover a simple key stroke which would produce a bullet (available in most fonts) on demand instead of having to copy and paste. Thanks, Ray Horsley LinkIt! Software -Original Message- From: use-livecode-boun...@lists.runr

FTP and Proxy Servers

2011-02-09 Thread JACK RARICK
I've tried! I really have. But I just can't get it. Is there a trick or secret that any of you might have to use FTP behind a proxy server? Put "ftp://"; & myUserName & ":" & myPassword & "@" & "mystorage:"&myPortNum & "/"&filename into ftpString put url ftpString into url ("file:"& FilePath)

RE: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Craig, It works fine on my Mac, too. I'm only having problems on the Windows side. The way it works it you hold down the option (alt) key and type a zero, then (continuing to hold down the option key) you type a 1, etc, till you finish typing 0, 1, 4, 9. The bullet should appear when you release

Re: Bullets in Script Editor Window

2011-02-09 Thread Mike Bonner
Just tried it here, is working for me so I have a stupid question. If you're using the keypad, is your numlock on? On Wed, Feb 9, 2011 at 9:03 AM, Ray Horsley wrote: > Craig, > > It works fine on my Mac, too. I'm only having problems on the Windows > side. > The way it works it you hold down t

Re: Bullets in Script Editor Window

2011-02-09 Thread dunbarx
Ray. I was joking, of course. Type all four chars with the altkey down. Why do I think I am being put on? Craig -Original Message- From: Ray Horsley To: 'How to use LiveCode' Sent: Wed, Feb 9, 2011 11:03 am Subject: RE: Bullets in Script Editor Window Craig, It works fine on

Re: Bullets in Script Editor Window

2011-02-09 Thread dunbarx
Oh. It really does work. What do you know? For me it does not matter if numLock is on or not. Works both ways. Craig -Original Message- From: Mike Bonner To: How to use LiveCode Sent: Wed, Feb 9, 2011 11:21 am Subject: Re: Bullets in Script Editor Window Just tried it here, is

RE: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Not a stupid question at all. As a matter of fact I was just looking into that. I believe the numlock is on but I'm using one of those real thin Mac keyboards (on a Windows machine) so there's no 'numlock' key per say but rather a combination of keys to flip it on and off. You wouldn't have any

RE: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Got it! It's shift-clear. Now I can type my bullets in the script editor window. With no numlock light on this darn keyboard you just have to experiment a little. Thanks to all, Ray Horsley LinkIt! Software -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-liv

Re: FTP and Proxy Servers

2011-02-09 Thread Dave Cragg
On 9 Feb 2011, at 16:03, JACK RARICK wrote: > I've tried! I really have. But I just can't get it. Is there a trick or > secret that any of you might have to use FTP behind a proxy server? No good news. As far as I know, there is no built-in support for FTP over a proxy server. Cheers Dave __

If Not FTP - then?

2011-02-09 Thread JACK RARICK
> I've tried! I really have. But I just can't get it. Is there a trick or > secret that any of you might have to use FTP behind a proxy server? >No good news. As far as I know, there is no built-in support for FTP over a >proxy server. That makes sense! - but is there a work around to move fi

Re: style of addressing objects

2011-02-09 Thread Bob Sneidar
Besides quoting all object names, I would also use more descriptive names to make the code easier to read. Bob On Feb 9, 2011, at 2:12 AM, Tiemo Hollmann TB wrote: > Hello, > > lets say I have a field "f1", grouped in grp "g1" on card "c1". > > > > I can address the field e.g.: put "foo"

Re: If Not FTP - then?

2011-02-09 Thread Andre Garzia
if you control both sides, use HTTP. On Wed, Feb 9, 2011 at 3:10 PM, JACK RARICK wrote: > >> I've tried!  I really have. But I just can't get it. Is there a trick or >> secret that any of you might have to use FTP behind a proxy server? > >>No good news. As far as I know, there is no built-in su

Re: Bullets in Script Editor Window

2011-02-09 Thread Bob Sneidar
I wonder if you can trap for alt-8 just for windows, issue a command to type numtochar(149) and pass everything else? Bob On Feb 9, 2011, at 7:19 AM, Ray Horsley wrote: > Typing bullets on a Mac is a simple option-8 (I believe) while on Windows > it's option-0149. However, type this in Liveco

Re: Bullets in Script Editor Window

2011-02-09 Thread Bob Sneidar
The Clear key on the keypad is numlock. Bob On Feb 9, 2011, at 8:41 AM, Ray Horsley wrote: > Not a stupid question at all. As a matter of fact I was just looking into > that. I believe the numlock is on but I'm using one of those real thin Mac > keyboards (on a Windows machine) so there's no

Re: If Not FTP - then?

2011-02-09 Thread Dave Cragg
On 9 Feb 2011, at 17:10, JACK RARICK wrote: > >> I've tried! I really have. But I just can't get it. Is there a trick or >> secret that any of you might have to use FTP behind a proxy server? > >> No good news. As far as I know, there is no built-in support for FTP over a >> proxy server. >

Re: If Not FTP - then?

2011-02-09 Thread Andre Garzia
Hi There Dave, I think the OP could use HTTP to get the files if he controls both sides of the conversation. If he controls only the receiving side and wants to grab a file from FTP server that is behind a proxy then he can use shell() with curl on linux and macs and maybe some vbscript magic on

Re: Drag and Drop

2011-02-09 Thread Peter Haworth
I'm a Mac with OSX 10.6, LC 4.5.3 Pete Haworth On Feb 8, 2011, at 11:45 PM, Thierry wrote: > > Le 9 févr. 2011 à 08:28, Peter Haworth a écrit : > >> I'm not sure what changed. It seems to be inconsistent as to whether the >> snapback happens or not but most of the time it does. >> > > Than

RE: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
I think it's probably a matter of which keyboard you're using. Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com Sent: Wednesday, February 09, 2011 11:41 AM To: use-livecode@lists.runrev.com Subje

RE: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Not a bad idea. I'll try adding something like that to the script editor stack. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Wednesday, February 09, 2011 12:19 PM To: How to use L

Re: style of addressing objects

2011-02-09 Thread Peter Haworth
I always put quotes around any object names. Personally, if an object is in a group, I always qualify it with the group name. I was bitten a couple of times because I added a control at a later date of the same type and name as an existing one, so using the group name avoids potential future c

Re: Drag and Drop

2011-02-09 Thread Peter Haworth
I can confirm that Ben's workaround fixes the problem. Pete Haworth On Feb 9, 2011, at 6:08 AM, Richard Gaskin wrote: > On this I would go with Ben Beaumont's analysis, since he's working > side-by-side with the engine team and has an understanding of what it's doing > under the hood in a way

Photo Gallery Models

2011-02-09 Thread Sivakatirswami
I'm needing to create an app that has a photo gallery where we can re-arrange the photos by drag and drop, change the file names, send a rotate command etc. I have most of the code for the individual any individual photo operation already built, filename management and processing is trivial,

Working ScreenRect: Linux

2011-02-09 Thread Richmond
Aaagh! On Linux (Ubuntu 11.04 beta with GNOME) there is no difference between the screenRect and the working screenRect Livecode FAILS to pick up GNOME panels, Avant Window Navigator and Docky. I am not entirely surpised by AWN and Docky as they are add-ons; but the failure to pick up my to

Re: can grouping help me rezising objects?

2011-02-09 Thread Jan Schenkel
--- On Wed, 2/9/11, Tiemo Hollmann TB wrote: > Hello, > > I have a bunch of objects grouped in several hierarchical > groups in a stack > which is resizable. > > Up to now I resize every single object by script just how I > need it. Up to > now I experienced, that I can't resize the objects of a

Some more thoughts on multithreading

2011-02-09 Thread Jan Schenkel
[Sorry for the late reply - I've been very busy and only now found the time o collect my thoughts on this interesting topic] This thread has brought up various reasons for some form of multithreading and several interesting ideas as to how this might be implemented. In the heat of the discussio

RE: Keydowns during Socket Read/Writes

2011-02-09 Thread Camm
Could this be a bug ??? From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of cam...@tesco.net Sent: 09 February 2011 09:02 To: How to use LiveCode Subject: Re: Keydowns during Socket Read/Writes Mark , Sorry , a few typo's... Within th

Re: Working ScreenRect: Linux

2011-02-09 Thread David C.
On Wed, Feb 9, 2011 at 1:56 PM, Richmond wrote: > Aaagh! > > On Linux (Ubuntu 11.04 beta with GNOME) there is no difference between the > screenRect > and the working screenRect > > Livecode FAILS to pick up GNOME panels, Avant Window Navigator and Docky. > > I am not entirely surpised by AWN and

Re: Some more thoughts on multithreading

2011-02-09 Thread Nonsanity
This is similar to what I was putting forward. I've thought more about it more and have a sample scenario: The user sees "Mainstack" with all the buttons and a progress bar, etc. There is also a "Workhorse" stack that has all the heavy-duty processing scripts, opened like so from the Mainstack:

Re: Working ScreenRect: Linux

2011-02-09 Thread Richard Gaskin
Richmond wrote: On Linux (Ubuntu 11.04 beta with GNOME) there is no difference between the screenRect and the working screenRect Livecode FAILS to pick up GNOME panels, Avant Window Navigator and Docky. I am not entirely surpised by AWN and Docky as they are add-ons; but the failure to pick up

Setting the location of controls

2011-02-09 Thread Peter Haworth
Continuing to work on dragging controls from a palette to another stack. I have everything working as I want it to except for an anomaly when the control is a datagrid. For all controls except a datagrid, the control is created with it's top left corner exactly at the mouse location at dragEn

Re: Some more thoughts on multithreading

2011-02-09 Thread Bob Sneidar
I wonder why a lot of people think the threaded stack has to be sandboxed? The engine opened it, the engine knows how to communicate with it and other stacks. I really don't understand why a threaded stack would be inaccessible to other stacks. The only thing is that a threaded stack or perhaps

Re: a praise for RevIgniter

2011-02-09 Thread Robert Mann
Yes indeed, what struck me most is that.. revIgniter.. JUST WORKS!! What is written in the doc.; actually worked with no surprise... for me, so I join you in that praise!! Robert By the way, Id' be really happy to share some .irev handlers I had to make to build CMS sites with revIgniter (like

Re: a praise for RevIgniter

2011-02-09 Thread Bill Vlahos
I would love a tutorial. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Feb 9, 2011, at 6:07 PM, Robert Mann wrote: > > Yes indeed, what struck me most is that.. revIgniter.. JUST WORKS

Re: Some more thoughts on multithreading

2011-02-09 Thread Nonsanity
On Wed, Feb 9, 2011 at 6:42 PM, Bob Sneidar wrote: > I wonder why a lot of people think the threaded stack has to be sandboxed? > The engine opened it, the engine knows how to communicate with it and other > stacks. I really don't understand why a threaded stack would be inaccessible > to other s

Re: Some more thoughts on multithreading

2011-02-09 Thread Nonsanity
On Wed, Feb 9, 2011 at 11:33 PM, Nonsanity wrote: > get the number of chars in the SerialData of this stack > repeat with a = 1 to it > put char it & return after fld 1 > end repeat > > get the number of chars in the SerialData of this stack repeat with a = 1 to it put char a of the Seria

Re: a praise for RevIgniter

2011-02-09 Thread stephen barncard
There are good examples in the docs. Revingniter rocks. Hats off to author Ralf Bitter. On 9 February 2011 19:38, Bill Vlahos wrote: > I would love a tutorial. > > Bill Vlahos > _ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you

AW: style of addressing objects

2011-02-09 Thread Tiemo Hollmann TB
Thanks Pete and Bob for your style guides Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] Im Auftrag von Peter Haworth > Gesendet: Mittwoch, 9. Februar 2011 19:07 > An: How to use LiveCode > Betreff: Re: style

AW: can grouping help me rezising objects?

2011-02-09 Thread Tiemo Hollmann TB
Thank you Jan, that was a helpful hint! Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] Im Auftrag von Jan Schenkel > Gesendet: Mittwoch, 9. Februar 2011 21:16 > An: How to use LiveCode > Betreff: Re: can grou