Re: when sent a message, the target can't find itself!

2012-08-04 Thread ambassador
Kay C Lan tFldRef will now equal Let's put something in to field xxx tFldRef is a variable, when you put something into a variable the variable contents change. The "put" command is handy for many things, but its use in HyperCard to allow setting values in objects lent itself to ambiguity, a

Re: Closing/Removing a stack from memory

2012-08-04 Thread Bill Vlahos
Pete, You are correct. Geoff Canyon showed me that lock messages is set before the stack is closed and removed from memory so the closeStack message is never sent. Fortunately Shao Sean pointed out the command revIDEHandleObjectDeleted is sent. This is what I use in a front script in my lcTaskL

Re: when sent a message, the target can't find itself!

2012-08-04 Thread Kay C Lan
On Sun, Aug 5, 2012 at 11:27 AM, Kay C Lan wrote: > put quote & "Sum" & quote into word 8 of tSummaryFldName > -- field "Sum" of card "Sum" of stack "Sum" > > Whoops, a gotcha, if you need to refer to a substack of a mainstack then it's name would be (assuming the main stack is called "Stk1" fie

scroll ball or wheel script

2012-08-04 Thread Kathy Jaqua
Hi Scott Morrow, Your script was just what I needed. Wow, I am really grateful. I am late to respond-I fell asleep :) Kathy Graves Jaqua kgjaq...@sbcglobal.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscrib

Re: when sent a message, the target can't find itself!

2012-08-04 Thread Kay C Lan
On Sun, Aug 5, 2012 at 10:46 AM, Peter M. Brigham wrote: > > The real usefulness of the long name of a control (or card, or stack) is > that it is in itself a complete object reference. So: > > put the long name of fle "xxx" into tFldRef > put "Let's put something in to field xxx" into tFldRef >

Re: when sent a message, the target can't find itself!

2012-08-04 Thread Kay C Lan
On Sun, Aug 5, 2012 at 6:37 AM, Dr. Hawkins wrote: > > In several places, the names of the fields are actually being > constructed by string manipulation (e.g., val_sbt comes from [ fldNam > & "_sbt" ], and then I want to add the $123.45 in val (or possibly > fld fal) to the $852.87 already in f

Push Notification on on-rev

2012-08-04 Thread Thomas McGrath III
Has anyone actually set up push notifications on on-rev ? I am trying to figure this out with not much luck. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Looking for post-secondary student coders for prototype dev

2012-08-04 Thread Alejandro Tejada
Hi David, "For mobile prototypes we have no set capacities and are open to suggested platforms. Our preference, for budget reasons, would be mobile-web or cross platform frameworks." This spec opens a world of possibilities. :-) But this is the part more interesting: "We will employ 'lightweight

Re: when sent a message, the target can't find itself!

2012-08-04 Thread Peter M. Brigham
On Aug 4, 2012, at 10:19 PM, J. Landman Gay wrote: >> The catch is that the handler has no advance knowledge of what field >> or card it can be called from--I'm trying to make something generic >> that can add a currency formatted value to a field that already >> contains a currency formatted valu

Re: when sent a message, the target can't find itself!

2012-08-04 Thread J. Landman Gay
On 8/4/12 5:37 PM, Dr. Hawkins wrote: My real need is the very narrow issue of a handler pulling the value of the field that called it, and then putting something back in. It seems that this should take one line of code, not 8 or 10. The more I think about it, the less I think "the target" is

Re: ANN: GLX2 3.0.10

2012-08-04 Thread Alejandro Tejada
Hi Peter, Peter Haworth wrote > > [snip] > In theory, yes that could be done. > > Are you wanting to compare two arrays that are stored somehwre in two > stack > files, custom properties perhaps? Or are the arrays in script variables? > > If the latter, I couldn't do that within the bounds of

Re: when sent a message, the target can't find itself!

2012-08-04 Thread J. Landman Gay
On 8/4/12 5:37 PM, Dr. Hawkins wrote: The catch is that the handler has no advance knowledge of what field or card it can be called from--I'm trying to make something generic that can add a currency formatted value to a field that already contains a currency formatted value. It doesn't matter.

Re: ANN: GLX2 3.0.10

2012-08-04 Thread Peter Haworth
Hi Alejandro, In theory, yes that could be done. Are you wanting to compare two arrays that are stored somehwre in two stack files, custom properties perhaps? Or are the arrays in script variables? If the latter, I couldn't do that within the bounds of lcStackDiff but I might be able to pull out

Android fragmentation not so serious, says study

2012-08-04 Thread Alejandro Tejada
Read the article here: http://www.linuxfordevices.com/c/a/News/Localytics-Android-usage-study/ "According to study, 73 percent of Android handsets tracked by Localytics run Android 2.3 ("Gingerbread") and 23 percent still run Android 2.2 ("Froyo")" "Addressing the concern that Android developers m

Re: ANN: GLX2 3.0.10

2012-08-04 Thread Alejandro Tejada
Hi Alex and Peter, Alex Tweedly wrote > > [snip] > you could maybe consider extending lcStackDiff to > cover .lc and .livecode text files as well as scripts > within stacks. > This would be excellent! Could you extend this script to produce the differences between the text of two elements in a

Re: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread Rick Harrison
Hi Dixie, Thanks for trying! I hope someone comes along with a solution. Thanks again. Rick On Aug 4, 2012, at 4:54 PM, John Dixon wrote: > > > > Rick... > Ignore my posts... all I did was disable it... I'm going to shut up ! > >> Rick... >> >> iphoneControlSet inputID, "enabled", "

Closing/Removing a stack from memory

2012-08-04 Thread Peter Haworth
Unless I'm missing something, closing and removing a stack from memory does not trigger a closeStack message. That seems really strange to me but be that as it may, is there some other message that can be used to trap when that happens? Pete lcSQL Software ___

Re: ANN: GLX2 3.0.10

2012-08-04 Thread Peter Haworth
Good idea Alex. The scripts are written out to plain text files to do the comparison so the mechanism for checking any type of plain text file is already in place. Unfortunately, I've never used revServer so I'm not familiar with where the .lc and .livecode files are kept. Are they kept in specif

Re: Simple script doesn't work

2012-08-04 Thread Mark Schonewille
Hi Tim, That's right, it won't work. Try this: on openStack send "initialize" to me in 0 secs end openStack on initialize choose browse tool close window revTools close window revStartCenter end initialize I think that the Start Center has an option to not show up om startup. -- Best

Simple script doesn't work

2012-08-04 Thread Timothy Miller
In certain frequently-used stacks, I get tired of closing the revTools window, choosing the browse tool, and so on. Y this script no work? on OpenCard choose browse tool close window revTools close window revStartCentre end OpenCard I've tried on openCard, on preOpenCard, on openStack

Re: ANN: GLX2 3.0.10

2012-08-04 Thread Alex Tweedly
In this case, it was a revServer script (i.e. simple text file), so lcStackDiff wasn't directly applicable, but the display of differences in a script in lcStackDiff looks really helpful; you could maybe consider extending lcStackDiff to cover .lc and .livecode text files as well as scripts wit

Re: ANN: GLX2 3.0.10

2012-08-04 Thread Peter Haworth
Can't kelp putting in a plug for my lcStackDiff plugin. It will show you the differences between two versions of a stack file, including exactly which lines were changed in scripts. Not a replacement for undo, just another tool to add to the arsenal to figure out what you might have done to cause

Re: when sent a message, the target can't find itself!

2012-08-04 Thread Dr. Hawkins
On Sat, Aug 4, 2012 at 2:58 PM, J. Landman Gay wrote: > If you substitute "field x of card y" for every instance of "the long name > of the target" in your script, you'll probably see the problem right away. > As Alex mentioned, the "put" line evaluates to: > > put 45 into fld (field x of card y

Re: when sent a message, the target can't find itself!

2012-08-04 Thread Mike Bonner
if I have a command "putit" in the field script and send "putit" to field "myfield" and the command putit has the line "put 85 into the target" it works fine for me. As was pointed out, you have to watch your references put 45 into fld (the long name of the target) actually says put 45 into *

Re: when sent a message, the target can't find itself!

2012-08-04 Thread J. Landman Gay
On 8/4/12 4:53 PM, Dr. Hawkins wrote: On Sat, Aug 4, 2012 at 2:31 PM, Mike Bonner wrote: Change it to put exists(the long name of the target) and it should behave as expected. Thanks. That got the exists() working. Maybe I'm dense, but I cant get access to the field to work the same way.

Re: when sent a message, the target can't find itself!

2012-08-04 Thread Dr. Hawkins
On Sat, Aug 4, 2012 at 2:31 PM, Mike Bonner wrote: > > Change it to > > put exists(the long name of the target) > > and it should behave as expected. Thanks. That got the exists() working. Maybe I'm dense, but I cant get access to the field to work the same way. put the text of (the long nam

Re: ANN: GLX2 3.0.10

2012-08-04 Thread Alex Tweedly
I can immediately think of a use case for it. In fact, I experienced it about 10 minutes before seeing this email. In Coda2, editing a revServer file. Save it, upload ("publish") it, test it - disaster. I've messed up something badly, not obviously anything to do with wha I intended to change.

Looking for post-secondary student coders for prototype dev

2012-08-04 Thread David Baker (3open)
Hi there, Not sure where else to post this. A non-profit standards development org (casrai.org) is starting a new program to pay post-secondary coders to build demonstration prototype software. Here is s link to the call: http://casrai.org/program/commons/program-to-develop-prototypes-for-demonst

Re: ANN: GLX2 3.0.10

2012-08-04 Thread Keith Clarke
Never mind an IDE that prevents the creation of dodgy code - right now I'd be delighted to get a fix for Mountain Lion so that it doesn't crash before I even get my development environment back up and running. Life for me has suddenly reverted to the instability of 20th century Windows. Fortuna

Re: when sent a message, the target can't find itself!

2012-08-04 Thread Mike Bonner
the long name of the target will return something like field "Field" of card id 1002 of stack "Untitled 1" Since it is the fully qualified name of the target, if you try to use field the long name of the target it is trying to see if field field "Field" of card id 1002 of stack "Untitled 1" e

when sent a message, the target can't find itself!

2012-08-04 Thread Dr. Hawkins
I'm sending a message to a field on another card to add my formatted values. But while in that field, the handler can't find it! put the long name of the target field blah group blah . . . put the id of the target it has one put the long id of t

Re: Need beta testers for new database library

2012-08-04 Thread Alejandro Tejada
Hi Andre, Andre Garzia-3 wrote > > I need some beta testers for the new database library that I am > releasing. I just want some more opinions before releasing it. Anyone > wants to join? Send me a private email at andre@ > It is the library that I've shown during the last conference. > I don'

Re: ANN: GLX2 3.0.10

2012-08-04 Thread Alejandro Tejada
Hi Keith, Keith Clarke wrote > > Allowing undos past the last save is a huge advantage, as frequent > saving is often used to mitigate the risk of instability, rather than > create a hard 'version'. > Cmd-S (or Ctrl-S) is your friend when developing or working with flaky > apps or IDEs. > I ag

RE: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread John Dixon
Rick... Ignore my posts... all I did was disable it... I'm going to shut up ! > Rick... > > iphoneControlSet inputID, "enabled", "false" has worked for me...:-) > > The script I used... > > on openCard >if environment() = "mobile" then > iphoneControlCreate "multiline" >

RE: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread John Dixon
Rick... iphoneControlSet inputID, "enabled", "false" has worked for me...:-) The script I used... on openCard if environment() = "mobile" then iphoneControlCreate "multiline" put the result into inputID iphoneControlSet inputID, "rect", the rect of grc 2 iphon

Re: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread Rick Harrison
Hi Dixie, Tried that just now.. Nice try.. but no joy… ;-( Other ideas? Rick On Aug 4, 2012, at 4:37 PM, John Dixon wrote: > iphoneControlSet idOrName, "focus", "false".. ? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visi

RE: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread John Dixon
Rick... iphoneControlSet idOrName, "focus", "false".. ? > From: harri...@all-auctions.com > Subject: RE: Disable "Copy Select-All Define" in iOS Scroller? > Date: Sat, 4 Aug 2012 16:29:45 -0400 > To: use-livecode@lists.runrev.com > > Hi Dixie, > > I don't think that is the problem. Unless I'm

RE: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread Rick Harrison
Hi Dixie, I don't think that is the problem. Unless I'm not understanding your question. I'm creating the control like this: iphoneControlCreate "multiline", "ViewingField3" If I do this: put mobileControlGet("ViewingField3", "id") into VarID3 answer "VarID3 = " & VarID3 VarID3 shows u

Re: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread Rick Harrison
Hi Dixie, It has to be something other than editable, because "Copy Select-ALL Define" in and of themselves are not allowing any editing to take place on the field. You may Select-All but you cannot delete anything etc. Rick On Aug 4, 2012, at 4:19 PM, John Dixon wrote: > > > Oops sorry Ric

RE: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread John Dixon
Oops sorry Rick... I read it weong. I see you have given it a reference.. apologies Dixie > From: dixo...@hotmail.co.uk > To: use-livecode@lists.runrev.com > Subject: RE: Disable "Copy Select-All Define" in iOS Scroller? > Date: Sat, 4 Aug 2012 20:52:07 +0100 > > > > Rick... > > Is it perh

RE: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread John Dixon
Rick... Is it perhaps because you have not given the iphoneControlSet command an ID reference.. as in :- iphoneControlSet IDorName, property, value Dixe > I'm already doing this: > iphoneControlSet "ViewingField3", "editable", false > That isn't cutting it. > Is there something different I n

Re: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread Rick Harrison
Hi Dixie, I'm already doing this: iphoneControlSet "ViewingField3", "editable", false That isn't cutting it. Is there something different I need to do? Thanks, Rick On Aug 4, 2012, at 3:22 PM, John Dixon wrote: > > >> From page 76 of the iOS release notes... > editableread/write Det

RE: Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread John Dixon
>From page 76 of the iOS release notes... editableread/write Determines whether the text field can be edited. This is a boolean value. Dixie > Hi there, > > Ok, I give up. How do I turn off the > "Copy Select All Define" of a > Multiline Native iOS Scroller Field? > > Anyone? > >

Disable "Copy Select-All Define" in iOS Scroller?

2012-08-04 Thread Rick Harrison
Hi there, Ok, I give up. How do I turn off the "Copy Select All Define" of a Multiline Native iOS Scroller Field? Anyone? Thanks in advance! Rick ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, un

Re: physical book..

2012-08-04 Thread Colin Holgate
The release date was changed, it was brought forward one month. Amazon could get it to you by Monday! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: h

Re: physical book..

2012-08-04 Thread Brian K. Duck
Congratulations, from Michigan. I just got a note from B&N, apparently they expected it sooner! I can't wait, but i suppose I have to... Dear Brian Duck , We want to give you an update about the pre-ordered item(s) listed below. Unfortunately, we just got word that the release date f

Re: ANN: GLX2 3.0.10

2012-08-04 Thread Keith Clarke
Allowing undos past the last save is a huge advantage, as frequent saving is often used to mitigate the risk of instability, rather than create a hard 'version'. Cmd-S (or Ctrl-S) is your friend when developing or working with flaky apps or IDEs. However, consider the constant saving in Google