Re: Control ID problem

2011-03-27 Thread Peter Haworth
Thanks for trying this out. The syntax I had was "put the short name of control ID 1" and it works 99.9% of the time (assuming there is a control id 1), just not in this one circumstance that I haven't been able to track down so I'm not sure what the difference is between what you tried and wha

[no subject]

2011-03-27 Thread Gerry
Has anyone got the new network reachability function to work in iOS? Contrary to page 34 of the new iOS release notes that come with LiveCode 4.6, I'm finding that the reachabilityInfo param of the reachabilityChanged command is empty when a network connection is present; the documentation claim

Re: Control ID problem

2011-03-27 Thread J. Landman Gay
On 3/27/11 2:27 PM, Peter Haworth wrote: - When is the defaultStack property taken into account when referencing a control? It should be as you expected. The control's reference should be evaluated in terms of the defaultstack. However... I just tried your original script statement and it fa

Re: Is HTML text string within current scrolling visible area of browser window?

2011-03-27 Thread Mike Bonner
Might check here http://www.appelsiini.net/projects/viewport Looks interesting and looks like it might be what you're looking for. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this u

Re: Is HTML text string within current scrolling visible area of browser window?

2011-03-27 Thread Jim Ault
On Mar 27, 2011, at 12:27 PM, Keith Clarke wrote: Jim, you've pretty much hit the nail on the head, here. That's exactly what I want to do - except that as I don't control the page source, I can't insert marker tags or strings of my own. However, there are unique strings that I know will

Re: OT: PHP Assist

2011-03-27 Thread stephen barncard
are you URLEncoding( the data after compression? On 27 March 2011 12:05, Dan Friedman wrote: > Gentlemen, > > My goal is to upload compressed data to a file on a sever. I don't want to > use ftp. So, I am trying to use a php script. I am getting Rev to POST the > data, and I have a PHP script

Public Beta.

2011-03-27 Thread Richmond
Here we are at last; or, at least, here I am . . . :) Public Betas; or put another way; 30 day time limited standalones for MacPPC, MacINTEL and Windows of my Devawriter Pro: http://andregarzia.on-rev.com/richmond/PRO/TESTERS/MacINTEL.zip http://andregarzia.on-rev.com/richmond/PRO/TESTERS/MacPP

Re: Is HTML text string within current scrolling visible area of browser window?

2011-03-27 Thread Keith Clarke
Jim, you've pretty much hit the nail on the head, here. That's exactly what I want to do - except that as I don't control the page source, I can't insert marker tags or strings of my own. However, there are unique strings that I know will be present on specific pages. So, if I could do a simple

Re: Control ID problem

2011-03-27 Thread Peter Haworth
I've made the changes necessary to use long IDs in my application as suggested by Scott. For my own eduction though, I'd like to understand how the defaultStack property is used. As a refresher, the following statement is being rejected with an error that it can't find the control: "put the s

OT: PHP Assist

2011-03-27 Thread Dan Friedman
Gentlemen, My goal is to upload compressed data to a file on a sever. I don't want to use ftp. So, I am trying to use a php script. I am getting Rev to POST the data, and I have a PHP script on my server that is writing the data. The problem is that the data that is written is incorrect. N

Re: Is HTML text string within current scrolling visible area of browser window?

2011-03-27 Thread Jim Ault
On Mar 27, 2011, at 7:42 AM, Keith Clarke wrote: Hi Jim, Thanks for the response and the pointers. Good to know that some discovery can be achieved algorithmically - my dream is still alive! You can also use 'marker' tags to add tiny elements that have id's then just check to see if those

Re: Expletive Deleted.

2011-03-27 Thread Colin Holgate
On Mar 27, 2011, at 12:44 PM, Richmond wrote: > For some queer reason nothing happens with that. Where is the mouseup handler? In my case is was in a button. You could have it in the field too, but it would need a right mouse click to make the text disappear. __

Re: Expletive Deleted.

2011-03-27 Thread Richmond
On 03/27/2011 07:41 PM, Colin Holgate wrote: On Mar 27, 2011, at 12:24 PM, Richmond wrote: on mouseUp set th useUnicode to true set the useUnicodeText of the selectedText to numToChar(65288) select after the selectedText end mouseUp Is it possible you're doing it in a too complicated

Re: Expletive Deleted.

2011-03-27 Thread Colin Holgate
On Mar 27, 2011, at 12:24 PM, Richmond wrote: > on mouseUp > set th useUnicode to true > set the useUnicodeText of the selectedText to numToChar(65288) > select after the selectedText > end mouseUp Is it possible you're doing it in a too complicated way? Here's my script, which also leav

Re: Expletive Deleted.

2011-03-27 Thread Richmond
on mouseUp put the number of chars in fld "TESTEXT" into CHARZ put (CHARZ - 2) into HARZ set the unicodeText of fld "TESTEXT" to char 1 to HARZ of fld "TESTEXT" end mouseUp works very well indeed (chopping off 2 because this is unicodeText) deleting text from the end of the string. The pro

Re: Expletive Deleted.

2011-03-27 Thread Richmond
On 03/27/2011 07:14 PM, Colin Holgate wrote: Either one of your ideas is working ok for me. How are you testing? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Expletive Deleted.

2011-03-27 Thread Colin Holgate
Either one of your ideas is working ok for me. How are you testing? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/l

Re: Expletive Deleted.

2011-03-27 Thread Richmond
On 03/27/2011 07:09 PM, Mark Schonewille wrote: Richmond, Often I do things like set the unicodeText of fld x to char 1 to (word 2 of the selectedChunk - 1) of the unicodeText of fld x& myNewUnicodeText& char (word 4 of the selectedChunk + 1) to -1 of the unicodeText of fld x I don't know

Re: Expletive Deleted.

2011-03-27 Thread Mark Schonewille
Richmond, Often I do things like set the unicodeText of fld x to char 1 to (word 2 of the selectedChunk - 1) of the unicodeText of fld x & myNewUnicodeText & char (word 4 of the selectedChunk + 1) to -1 of the unicodeText of fld x I don't know whether this still works in the latest verion of L

Expletive Deleted.

2011-03-27 Thread Richmond
I am trying to find out how to implement char deletion in Unicode. I expected that: set unicodeText of the selectedText to numToChar(65288) or set unicodeText of the selectedText to numToChar(127) would do the trick; but they didn't . . . :( Has anybody run up against this problem before.

Re: Is HTML text string within current scrolling visible area of browser window?

2011-03-27 Thread Keith Clarke
...thanks again, Jim - I'll study that option, too. Best, Keith.. On 27 Mar 2011, at 14:57, Jim Ault wrote: >> I'm trying to discover whether it's possible to check programmatically >> (maybe with Javascript, Jquery, etc.) whether a specific element on a web >> page (that is readable from the p

Re: Is HTML text string within current scrolling visible area of browser window?

2011-03-27 Thread Keith Clarke
Hi Jim, Thanks for the response and the pointers. Good to know that some discovery can be achieved algorithmically - my dream is still alive! Thanks also for the specific pointers - more for the research list. Best, Keith.. On 27 Mar 2011, at 14:29, Jim Ault wrote: > > On Mar 27, 2011, at 3

Re: Is HTML text string within current scrolling visible area of browser window?

2011-03-27 Thread Jim Ault
On Mar 27, 2011, at 3:55 AM, Keith Clarke wrote: Hi folks, Can anyone help me with the correct terms to seed my Google search? I'm trying to discover whether it's possible to check programmatically (maybe with Javascript, Jquery, etc.) whether a specific element on a web page (that is read

Re: Is HTML text string within current scrolling visible area of browser window?

2011-03-27 Thread Jim Ault
On Mar 27, 2011, at 3:55 AM, Keith Clarke wrote: Hi folks, Can anyone help me with the correct terms to seed my Google search? I'm trying to discover whether it's possible to check programmatically (maybe with Javascript, Jquery, etc.) whether a specific element on a web page (that is read

Is HTML text string within current scrolling visible area of browser window?

2011-03-27 Thread Keith Clarke
Hi folks, Can anyone help me with the correct terms to seed my Google search? I'm trying to discover whether it's possible to check programmatically (maybe with Javascript, Jquery, etc.) whether a specific element on a web page (that is readable from the page HTML), such as a specific div, tag