Re: revUnplacedGroupIDs has both false positives and negatives?

2015-03-03 Thread Peter Haworth
I wonder if this might be connected with the thread earlier today about the difference between sharedBehavior and backgroundBehavior. On Tue, Mar 3, 2015, 10:16 PM Ralph DiMola wrote: > We had a thread a month or so ago under "Garbage Collection" I had a stack > that was much larger than it shou

RE: revUnplacedGroupIDs has both false positives and negatives?

2015-03-03 Thread Ralph DiMola
We had a thread a month or so ago under "Garbage Collection" I had a stack that was much larger than it should be. Contributors suggested using revUnplacedGroupIDs to loop thru and delete all the orphans. Well I did it. The stack shrunk down but had a group deleted that was placed. I thought in all

Re: Because LC can't do two things at once.

2015-03-03 Thread J. Landman Gay
On March 3, 2015 11:04:43 PM CST, Mark Wieder wrote: >Jacque- > >Tuesday, March 3, 2015, 11:43:36 AM, you wrote: > >> MetaCard beat you to it: hideConsoleWindows > > >My dyslexic eyes read that as 'MeatCard' Call if what you want, but the real reason is that both of us are getting to be a less c

RE: mergExt Update for LC 6.7.3 and 7.0.3

2015-03-03 Thread Ralph DiMola
+1 Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Gerry Sent: Tuesday, March 03, 2015 8:10 PM To: How to use LiveCode Subject: Re: mergExt Update for LC 6.

Re: Because LC can't do two things at once.

2015-03-03 Thread Mark Wieder
Jacque- Tuesday, March 3, 2015, 11:43:36 AM, you wrote: > MetaCard beat you to it: hideConsoleWindows My dyslexic eyes read that as 'MeatCard' -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-03 Thread Mark Wieder
Peter- Actually, BAT0 is a directory, so you want put url "/sys/class/power_supply/BAT0/status" into tStatus and what I see on my Thinkpad running linux Mint 17 is status returns one of three states: Unknown if the laptop is plugged into the AC adapter Discharging if running off the b

revUnplacedGroupIDs has both false positives and negatives?

2015-03-03 Thread Dr. Hawkins
I know that it's undocumented, but has anyone looked seriously at revUnplacedGroupIDs? As I went hunting for crud, missing menus, and whathaveyou, As I stepped through (after blowing a foot off), I found that some of the ids covered by revUnplacedGroupIDs were, in fact, placed. In one case, it w

Re: mergExt Update for LC 6.7.3 and 7.0.3

2015-03-03 Thread Pierre Sahores
Congrats and thanks, Monte. > Le 4 mars 2015 à 00:00, Monte Goulding a écrit : > > Hi LiveCoders > > I have uploaded new builds of all my iOS externals to be compatible with the > latest versions of LiveCode and Apple's 64 bit requirements. > > Cheers > > Monte > > -- > M E R Goulding > So

Re: mergExt Update for LC 6.7.3 and 7.0.3

2015-03-03 Thread Gerry
The mergext externals make it possible to do serious development on iOS in LiveCode. Without Monte's work the platform wouldn't be a serious development took for me. It's that simple. Buy 'em! Gerry On Wed, 4 Mar 2015 at 10:23 am, Monte Goulding wrote: > > On 4 Mar 2015, at 10:19 am, Matthias Re

Re: iOS8 Encrpytion working?

2015-03-03 Thread Mark Talluto
On Mar 2, 2015, at 11:55 AM, Chipp Walters wrote: > I keep getting this error when I BUILD for iOS on 7.0.3 > Any idea why? Runs fine in simulator. Encryption is checked but it's acting > like it's not checked. Chipp and I have already communicated about this. There is a problem with encryptio

Re: Sorting Columns

2015-03-03 Thread JB
Thanks Bob! Any explanation is helpful since I am fairly new to data grids. The commas are thousands delimiters. John Balgenorth On Mar 3, 2015, at 4:13 PM, Bob Sneidar wrote: > dgData returns an array. dgText returns delimited text. if the commas are > thousand delimiters, then strip them.

Re: Quantum tunneling in LiveCode

2015-03-03 Thread Bob Sneidar
May be my mind is too small, but if this is true, then Quantum Mechanics is flawed. But I have to wonder what the quantum definition of “at once” is. :-) Bob S On Mar 2, 2015, at 13:07 , stgoldb...@aol.com wrote: In quantum mechanics something can be in more than one

Re: Sorting Columns

2015-03-03 Thread JB
Thank you, for the info and code. John Balgenorth On Mar 3, 2015, at 2:16 PM, Geoff Canyon wrote: > On Tue, Mar 3, 2015 at 8:18 AM, wrote: > >> function goodNumber var >> repeat for each char tChar in var >>if var is in "0123456789" then put tChar after temp >> end repeat >> return te

Re: Sorting Columns

2015-03-03 Thread Bob Sneidar
dgData returns an array. dgText returns delimited text. if the commas are thousand delimiters, then strip them. I’ve often thought of trying to implement a “displayAs functionality for Datagrids, like Excel does, where the value is one thing but the display is another. Your situation really unde

Re: Sorting Columns

2015-03-03 Thread JB
Thanks for the info, Srl. John Balgenorth On Mar 3, 2015, at 11:30 AM, Sri wrote: > dunbarx wrote >> An easy way is to extract the full dataset, perhaps with the "dgData". >> This will give you a tab and return delimited list. > > 1. I think Craig meant dgText (dgData is an array). > > 2. D

Re: DB connection times

2015-03-03 Thread Bob Sneidar
Sorry yes, I meant Char(). Bob S > On Mar 2, 2015, at 20:00 , Dr. Hawkins wrote: > > On Mon, Mar 2, 2015 at 9:25 AM, Bob Sneidar > wrote: > >> To optimize connections and transfer of data, one of the things you can do >> is use VarChar() instead of TEXT whenever possible. A very knowledgabl

Re: [OT] Invalid host address

2015-03-03 Thread Bob Sneidar
It sounds like their DNS might be hosed. Perhaps the user has manual assigned a DNS server instead of the local network assigning one for him. Perhaps that DNS server is inaccessible at certain locations. Some users like to manually set their DNS to Google’s DNS or OpenDNS. This can get them int

Re: [OT] Invalid host address

2015-03-03 Thread Bob Sneidar
Good point. I mentioned before that I have adopted the method of opening a socket to the host first, checking for errors, before actually trying to send any data. That might be something you want to implement. I put it at the start of a Database Reconnect handler I wrote just for this sort of th

Re: mergExt Update for LC 6.7.3 and 7.0.3

2015-03-03 Thread Monte Goulding
On 4 Mar 2015, at 10:19 am, Matthias Rebbe | M-R-D wrote: > thank you again for all your effort. > > Purchasing (and renewing) the mergExt Complete suite was one of my best > business decisions. :) Thanks Matthias The 64 bit push has been quite a bit of work over the last few weeks so it's

Re: mergExt Update for LC 6.7.3 and 7.0.3

2015-03-03 Thread Matthias Rebbe | M-R-D
thank you again for all your effort. Purchasing (and renewing) the mergExt Complete suite was one of my best business decisions. :) Matthias > Am 04.03.2015 um 00:00 schrieb Monte Goulding : > > Hi LiveCoders > > I have uploaded new builds of all my iOS externals to be compatible with the

mergExt Update for LC 6.7.3 and 7.0.3

2015-03-03 Thread Monte Goulding
Hi LiveCoders I have uploaded new builds of all my iOS externals to be compatible with the latest versions of LiveCode and Apple's 64 bit requirements. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an exter

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-03 Thread Peter M. Brigham
on 3/3/15, I wrote: > OK, as usual, I find some tweaks *after* I hit the send button. I changed > caseSwitch() so it handles the case of an empty tCheckValue, allowing > getPowerSource() to report "no battery" if getting the URL returns empty. > The expansion of caseSwitch() is useful in and o

Re: Sorting Columns

2015-03-03 Thread Geoff Canyon
On Tue, Mar 3, 2015 at 8:18 AM, wrote: > function goodNumber var > repeat for each char tChar in var > if var is in "0123456789" then put tChar after temp > end repeat > return temp > end goodNumber > It's worth checking, but this might be faster (but less robust): function goodNumber

Re: Sorting Columns

2015-03-03 Thread dunbarx
Sri is right about all that. I could surely have been more helpful about the difference between "dgData" and "dgText". I assumed that tab and return delimited data implied a tab delim. All good, though. Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sor

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-03 Thread Peter M. Brigham
OK, as usual, I find some tweaks *after* I hit the send button. I changed caseSwitch() so it handles the case of an empty tCheckValue, allowing getPowerSource() to report "no battery" if getting the URL returns empty. The expansion of caseSwitch() is useful in and of itself…. -- Peter Peter M

Re: Because LC can't do two things at once.

2015-03-03 Thread J. Landman Gay
On 3/3/2015 1:32 PM, Bob Sneidar wrote: Wouldn’t hurt for RunRev to add an argument to hide the Microsoft command window when shelling out. Looks ominous to an end user when a command window pops up then disappears with nothing to show for it. MetaCard beat you to it: hideConsoleWindows -- Jac

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-03 Thread Peter M. Brigham
Sorry, I left out the "word 1" part. The Unix case should read: put url "/sys/class/power_supply/BAT0/" into tStatus if tSource = empty then put url "/sys/class/power_supply/BAT1/" into tStatus put word 1 of tStatus into tStatus return caseSwitch(tStatus,"disc

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-03 Thread Peter M. Brigham
Assuming that when you saw "full" that meant AC connected but fully charged, here is what I have. Probably should be tested on all 3 platforms before letting it fly as a finished utility. Works a peach on the Mac. function getPowerSource -- returns the current power source for a laptop --

Re: Sorting Columns

2015-03-03 Thread Sri
dunbarx wrote > An easy way is to extract the full dataset, perhaps with the "dgData". > This will give you a tab and return delimited list. 1. I think Craig meant dgText (dgData is an array). 2. Don't forget to set itemDel to tab Regards, Sri. -- View this message in context: http://runtim

Re: sane way to keep menubar on mac (and what about windows???)

2015-03-03 Thread Bob Sneidar
Wha?? Where?? Not home but Pro? Bob S On Mar 2, 2015, at 08:42 , Richard Gaskin mailto:ambassa...@fourthworld.com>> wrote: So with VirtualBox being free and open, and a Win license being under $100 ___ use-livecode mailing list use-livecode@lists.ru

Re: Because LC can't do two things at once.

2015-03-03 Thread Bob Sneidar
Wouldn’t hurt for RunRev to add an argument to hide the Microsoft command window when shelling out. Looks ominous to an end user when a command window pops up then disappears with nothing to show for it. Bob S On Mar 2, 2015, at 07:20 , miked...@gmail.com wrote: It

Project Browser Disclosure Triangles Not Responding

2015-03-03 Thread Mike Kerner
I have a project that seems to be having an issue with the project browser: if I click on one of the disclosure triangles, the object (even cards) won't expand. Anyone else? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, G

OT: Need Panorama Developer (for hire)

2015-03-03 Thread Brahmanathaswami
If you do Panorama using PanoTour Pro from Kolor.. please contact me off list Thank you. Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please vis

Re: Fwd: Quantum tunneling in LiveCode

2015-03-03 Thread Peter Haworth
While on the subject of out-of-the-normal message paths, I came across another one a couple of months ago. openControl messages are sent to the highest level group and then DOWN to any of it's child groups which seems the opposite of the normal message direction. It gets more interesting though.

Re: Quantum tunneling in LiveCode

2015-03-03 Thread Paul Hibbert
> > On Mar 3, 2015, at 7:13 AM, Richard Gaskin wrote: > > So all that said, we might consider what you're seeing to be a bug. I think another big issue here is the lack of up-to-date documentation, and this helps to illustrate the depth of this problem. According to the dictionary 'sharedBeha

Re: Fwd: Quantum tunneling in LiveCode

2015-03-03 Thread J. Landman Gay
On 3/3/2015 9:13 AM, Richard Gaskin wrote: The backgroundBehavior property is a tricky thing, I think of it like this: A message to an object will always go to the object's owner group(s) first, if any. After that it hits the card and follows the normal hierarchy. -- Jacqueline Landman Gay

Re: ANN: Re-Collections iOS app now available - FREE for a limited time

2015-03-03 Thread William Prothero
Alan: Nice Idea. I downloaded it and will try it out, but first I’ve gotta select the photos from my humungous photo library to go onto my iPad. Great work! Bill > On Mar 2, 2015, at 3:07 AM, Alan Stenhouse wrote: > > G’day all! > > Just wanted to let you know I’ve just released another iOS ap

Re: Fwd: Quantum tunneling in LiveCode

2015-03-03 Thread Michael Doub
Richard, Very nice explanation of this. I always wondered about the relationship between this properties. Thanks, Mike On 3/3/15 10:13 AM, Richard Gaskin wrote: Stephen Goldberg wrote: > I think the bottom line is to be cautious about putting mouseUp > scripts in background groups, or t

Re: Fwd: Quantum tunneling in LiveCode

2015-03-03 Thread Peter Haworth
Thanks for that explanation Richard. I finally get the difference between sharedBehavior and backgroundBehavior. Seems like sharedBehavior is the one to use for everything except old HC stacks. On Tue, Mar 3, 2015, 7:14 AM Richard Gaskin wrote: > Stephen Goldberg wrote: > > > I think the bottom

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-03 Thread Richard Gaskin
Peter M. Brigham wrote: > So it looks from your links that I should use "/sys/class/power_supply > /BAT0/" for the URL on Unix, and check for "charging" or > "discharging" as the first word?? ...or "full", as I saw last night while testing this. So far I'm only seeing one-word values, so using "

Re: Fwd: Quantum tunneling in LiveCode

2015-03-03 Thread Richard Gaskin
Stephen Goldberg wrote: > I think the bottom line is to be cautious about putting mouseUp > scripts in background groups, or to put a disclaimer in the group > at the beginning of the group handler the line (as mentioned in > the User Manual (pg 131, 5.3.9): > > if the owner of the target is not

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-03 Thread Peter M. Brigham
So it looks from your links that I should use "/sys/class/power_supply/BAT0/" for the URL on Unix, and check for "charging" or "discharging" as the first word?? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 2, 2015, at 2:18 PM, Richard Gaskin wrote: > Peter

Re: Sorting Columns

2015-03-03 Thread JB
Thank you very much, Craig! John Balgenorth On Mar 3, 2015, at 6:18 AM, dunb...@aol.com wrote: > An easy way is to extract the full dataset, perhaps with the "dgData". This > will give you a tab and return delimited list. Then you might sort by a > function: > > > sort yourData numeric by g

Re: Sorting Columns

2015-03-03 Thread dunbarx
An easy way is to extract the full dataset, perhaps with the "dgData". This will give you a tab and return delimited list. Then you might sort by a function: sort yourData numeric by goodNumber(item columnOfInterest of each) where: function goodNumber var repeat for each char tChar in var

Fwd: Quantum tunneling in LiveCode

2015-03-03 Thread stgoldb...@aol.com
The issue of a background group being in two places at once is not quite clarified. Getting back to the script sequence below, when there is a mouseUp handler in a background group, the message, on clicking on the grouped button goes from: button --> group --> card --> stack When clicking on

Sorting Columns

2015-03-03 Thread JB
I have a data grid and one of the columns has numbers with commas included. If I use the property inspector and select the header column I can choose sort by text or numeric. Due to the commas neither of the sort types gives me a correct sort. Do I need to make another array and strip the comma