Re: Location of dialog box

2011-11-18 Thread James Hurley
Ken and Malte, Thanks for the suggestions. Malte--Your suggestion works well. Thanks. As you say it is a bit of a hack. Ken--I was referring to the stack that opens in response to the RR "Answer" command. Is it possible to set a preopencard handler in that stack? But using a modal stack as y

Re: lc shell and command line

2011-11-18 Thread John Brozycki
Regarding shell commands and LiveCode I've noticed that under OS X, invocation of a shell command is silent. But under Windows, you see a CMD window quickly pop up and disappear. I haven't found any options to prevent the shell command popping up under Windows, but wondered if anyone knew

Re: lc shell and command line

2011-11-18 Thread Mark Schonewille
John, set the hideConsoleWindows to true -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Convert

Re: lc shell and command line

2011-11-18 Thread Mike Bonner
set the hideconsolewindows to true will do what you wish. On Fri, Nov 18, 2011 at 9:27 AM, John Brozycki wrote: > Regarding shell commands and LiveCode > > I've noticed that under OS X, invocation of a shell command is silent. > But under Windows, you see a CMD window quickly pop up and dis

Re: Location of dialog box

2011-11-18 Thread Wilhelm Sanke
On Fri, Nov 18 , 2011, James Hurley jhurley0305 at sbcglobal.net wrote: Ken and Malte, Thanks for the suggestions. Malte--Your suggestion works well. Thanks. As you say it is a bit of a hack. Ken--I was referring to the stack that opens in response to the RR "Answer" command. Is it possi

Re: lc shell and command line

2011-11-18 Thread Andre Garzia
Guys, As far as I know, you can't ask for the user password and pass it to a shell call with clever use of pipes. That is not how sudo works, you can't: cat password.txt | sudo cd .. or sudo cd .. < password.txt The only way I found to script sudo calls is by using expect ( http://www.nist.

Re: Location of dialog box

2011-11-18 Thread Wilhelm Sanke
Addendum to my last post in this thread: I have used this approach for dialog stacks with the added "newloc" property in many of my stacks, e.g. look at the scripts of buttons "Store image 1" and "Store image 2" in my stack "seamless tiles".

Re: Location of dialog box

2011-11-18 Thread Klaus on-rev
Hu guys, Am 18.11.2011 um 17:56 schrieb Wilhelm Sanke: > On Fri, Nov 18 , 2011, James Hurley jhurley0305 at sbcglobal.net wrote: > >> Ken and Malte, >> Thanks for the suggestions. >> Malte--Your suggestion works well. Thanks. As you say it is a bit of a hack. >> Ken--I was referring to the stac

Data Grid Challenges

2011-11-18 Thread Michael Doub
I am trying to understand what is going on with data grids. I have a stack with 2 cards each with a different data grid. One is set up to have the card script populate the grid using the GetDataForLine technique the other sets the dgData property of the grid. Below you can see the techniqu

Re: lc shell and command line

2011-11-18 Thread Roger Eller
On Fri, Nov 18, 2011 at 12:26 PM, Andre Garzia wrote: > As far as I know, you can't ask for the user password and pass it to a > shell call with clever use of pipes. That is not how sudo works, you can't: > > cat password.txt | sudo cd .. or sudo cd .. < password.txt > > How about this method

Re: lc shell and command line

2011-11-18 Thread Andre Garzia
Roger, Good finding. I gave the same comment as before lol... it appears that this solution works, I haven't tested it. Cheers andre On Fri, Nov 18, 2011 at 3:48 PM, Roger Eller wrote: > On Fri, Nov 18, 2011 at 12:26 PM, Andre Garzia wrote: > > > As far as I know, you can't ask for the user pas

Re: lc shell and command line

2011-11-18 Thread Roger Eller
On Fri, Nov 18, 2011 at 1:00 PM, Andre Garzia wrote: > Roger, > > Good finding. > > Cheers > andre > > I keep the classic Revolution archive, as well as the new LiveCode archive links handy for searching. There's lots of good stuff in both. It's too bad the Developer List is private, and therefo

Read From Socket Question

2011-11-18 Thread Warren Kuhl
I am trying to retrieve data from a socket. When I try: read from socket myDevSock for characters put it into tData ...I get data read from socket myDevSock until crlf put it into tData ...I get data read from socket myDecSock until eof put it into tData ...no data Wouldn't the read until

Re: Location of dialog box

2011-11-18 Thread Ken Ray
> Ken--I was referring to the stack that opens in response to the RR "Answer" > command. Is it possible to set a preopencard handler in that stack? Yes, but for the reasons that Wilhelm wrote you wouldn't be able to distribute a raw stack to someone else and have it work right in their IDE. I *

Re: So Who Has Tried the Kindle Fire Yet (with LiveCode building)?

2011-11-18 Thread Chipp Walters
Dang, Colin-- that was FAST! Thanks for the update. I've been travelling all week while mine is waiting at home. It will be in my grubby hands in a couple hours! Also, I'm about 3/4 through the Steve Jobs bio. Good read, for those of you who haven't checked it out. On Thursday, November 17, 2011,

Re: So Who Has Tried the Kindle Fire Yet (with LiveCode building)?

2011-11-18 Thread Colin Holgate
I ordered it a few days ago, I guess they had plenty of stock. One of my email buddies arrived home to find an empty space outside his front door, where his Fire had been delivered. Hopefully yours will be alright. On Nov 18, 2011, at 3:20 PM, Chipp Walters wrote: > Dang, Colin-- that was FAS

Re: Read From Socket Question

2011-11-18 Thread Pierre Sahores
Should this production ready old example help ? http://www.sahores-conseil.com/insead/page5_en.html Best, Le 18 nov. 2011 à 19:17, Warren Kuhl a écrit : > I am trying to retrieve data from a socket. > > When I try: > > read from socket myDevSock for characters > put it into tData > ...I

Re: DataGrid Speed

2011-11-18 Thread Bob Sneidar
If you use dgText, the datagrid library will create the array internally, 6 one way half a dozen the other, except that the datagrid library knows how to do it right. But if you have an array already, then using dgData is of course quicker. Bob On Nov 13, 2011, at 10:30 AM, Michael Doub wrot

Re: DataGrid Speed

2011-11-18 Thread Bob Sneidar
I think I understood him to say he would build his own array and then populate using dgData. My personal preference, once I understood what datagrids did with arrays, is to always use arrays when I can. sqlYoga returns datagrid compatible arrays, so you can get a data set through a query, and th

Re: Database Strategy

2011-11-18 Thread Bob Sneidar
If you are working with cursors, my personal preference is to parse the data from the cursor, and then close it and forget about it. If you need new data, requery the database. I have mentioned before on the list that sqlYoga has functions for querying a database and returning an array that is

Re: So Who Has Tried the Kindle Fire Yet (with LiveCode building)?

2011-11-18 Thread John Patten
Hi All… Just for clarification… Colin you were able to create a LiveCode app, save it as a standalone for Android. Then upoad the newly created app to a web site, and from the KindleFire access the web site and download and install the app onto your KindleFire? Thanks! John Patten SUSD On

Re: Data Grid Challenges

2011-11-18 Thread Michael Doub
I would like to share some of the wisdom of Zryip The Slug (ZTS) as it may be of some help to others not the list. For the Color problem: ZTS: If you have the need to change the color of the background rectangle of a row and not want to use the row color property of the datagrid, you have to

Making an existing stack a substack of another

2011-11-18 Thread Bob Sneidar
Hi all. I am doing things bass ackwards as usual. I created my main application stack, and now I want to create a splash stack and make my main application a substack of that. I know about the popup menu in the Stack Properties. I set that to the splash stack in my main application stack, then s

Making an existing stack a substack of another

2011-11-18 Thread Bob Sneidar
Never mind I found the command. You set the substacks of the splash stack to a list of the substacks you want. Odd that the menu option does not work though. Seems that is still a bug. Bob > Hi all. I am doing things bass ackwards as usual. I created my main > application stack, and now I w

Confused about substacks

2011-11-18 Thread Bob Sneidar
Hi all. I am a bit confused now. I created a new stack, saved it, made it a substack of my splash stack. No problemo. I can see the substack on the hard drive, I can see the substack in the application browser as a substack of my splash stack. BUT THEN... I right clicked my splash stack in t

Re: Confused about substacks

2011-11-18 Thread Devin Asay
Hi Bob, When you turn a mainstack into a substack of another mainstack, that substack becomes part of the stackfile containing the mainstack. In effect the stackfile containing the former mainstack is "orphaned". Usually I just get rid of these orphaned stackfiles to avoid confusion. Bottom l

Re: Confused about substacks

2011-11-18 Thread Mike Bonner
Assuming you are doing this so that you can save your stack file, yes. When you make a stack a substack, I do believe it incorporates it all together. However, there is a setting in the standalone builder that avoids this when you build a standalone. Its under the stacks heading, "move substacks in

Re: So Who Has Tried the Kindle Fire Yet (with LiveCode building)?

2011-11-18 Thread Colin Holgate
Not exactly that, but all of the elements of what you said. I did wirelessly download several apks to the Fire by touching the url to the apk in an email message. As with all Android devices, that downloaded and installed the app. You do have to go to settings to allow installs of apps from pla

Re: Confused about substacks

2011-11-18 Thread Bob Sneidar
Oic. Because if they are substacks of the splash stack then they are part of the standalone and therefore not editable. That makes sense. I think I am misusing substacks then. I should just make them individual stacks on the hard drive. The goal is to have multiple editable forms open at the sam

Re: Confused about substacks

2011-11-18 Thread Bob Sneidar
Thanks Devin I think I understand now. I am going to avoid the whole problem and go card in new window. Bob On Nov 18, 2011, at 3:42 PM, Devin Asay wrote: > Hi Bob, > > When you turn a mainstack into a substack of another mainstack, that substack > becomes part of the stackfile containing t

Re: Confused about substacks

2011-11-18 Thread Bob Sneidar
Correction. You cannot go to a card in a new window. The command will ignore the new window and just go to the card in the existing window. That would be a nice feature enhancement for having multiple windows open on a single stack. Bob > Thanks Devin I think I understand now. I am going to a

Re: Confused about substacks

2011-11-18 Thread Mike Bonner
Probably what will work is to make a stackrunner type of splash stack with any libraries etc included. Then you can have your real stack with its substacks be opened by the splash. As long as the right support stuff is included the splash you can "go stack.." and it should be fine, and the splashs

Dirty Salsa mini - In Appstore

2011-11-18 Thread ddas
Hi Folks, I am happy to announce that now the power to learn Salsa Dancing is in the palm of your hands. Thanks to Gerry, Richard, Mark, Jacqueline, Scott, Björnke and anyone who helped me but I have missed. Special thanks to Bernd. I swiped a lot of code from him. It's a very simple app that

Re: So Who Has Tried the Kindle Fire Yet (with LiveCode building)?

2011-11-18 Thread Chipp Walters
Oh, that sucks. Mine's ok. The wife stored it and now I'm typing this response. Whoppie! On Friday, November 18, 2011, Colin Holgate wrote: > I ordered it a few days ago, I guess they had plenty of stock. > > One of my email buddies arrived home to find an empty space outside his front door, wher

Re: So Who Has Tried the Kindle Fire Yet (with LiveCode building)?

2011-11-18 Thread Colin Holgate
It turned out to be mis-delivered to his neighbor, and so he got it the next day. On Nov 18, 2011, at 7:56 PM, Chipp Walters wrote: > Oh, that sucks. Mine's ok. The wife stored it and now I'm typing this > response. Whoppie! ___ use-livecode mailing