Stupid Q number 999

2016-05-19 Thread RM
How do you open a stack using a script? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: A Personal Challenge

2016-05-19 Thread Mike Bonner
Truly wish I could pledge more. Hey Heather (if you're watching this thread) If I pledge more, can I wait till the first to pay up? On Thu, May 19, 2016 at 2:53 PM, Paul Dupuis wrote: > On 5/18/2016 11:06 PM, Mark Smith wrote: > > Thanks, now go double down!! > > > > Just

Re: Stupid Q number 999

2016-05-19 Thread Roger Eller
Do you mean using a shell script, batch file, etc. or using a command line in the message box? On Thu, May 19, 2016 at 4:40 PM, RM wrote: > How do you open a stack using a script? > > Richmond. > > ___ > use-livecode

Re: Blast message to multiple objects..

2016-05-19 Thread Alex Tweedly
Rather than have "all controls matching a mask ..." get the message, I think it would be better to introduce a publish-subscribe model. One example (not one you can use directly :-) is in the IDE, see the publish/subscribe section of

Blast message to multiple objects..

2016-05-19 Thread Mike Bonner
I don't suppose its possible to dispatch or send a message to a group of objects all at once is there? (for example lets call a bunch of buttons named *cough* sprite##) Its not that difficult to write a loop to dispatch to each, but it would be very interesting if one could release a message

Re: [OT] Want to help build a new HyperCard

2016-05-19 Thread RM
I'm on it: http://forums.livecode.com/viewtopic.php?f=25=27328 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Infinite LiveCode, APIs and the Google Sheets API?

2016-05-19 Thread Monte Goulding
The situation was (and still is) that there's no straight C or C++ SDK so iOS and Mac cross compiles fine but Windows they only have C# which if we can make externals with its news to me. The logical way to support using these Apis on all platforms is to implement in script but that is

Re: Using the MergGoogle with Google Sheets

2016-05-19 Thread Monte Goulding
Is this a typo in your code or in your copying the answer dialog content? Sent from my iPhone > On 20 May 2016, at 8:17 AM, JOHN PATTEN wrote: > > mergGoogelAuth ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Using the MergGoogle with Google Sheets

2016-05-19 Thread Monte Goulding
> On 20 May 2016, at 9:19 AM, Monte Goulding wrote: > > In earlier versions of LiveCode I should mention here that it will not work in versions of LC prior to 6.7.10 or in any version of LC Community. Cheers Monte ___

Re: Infinite LiveCode, APIs and the Google Sheets API?

2016-05-19 Thread Mike Kerner
Roger, My situation is similar. I just have the code running on a Mac, pulling the data from the various sources and generating/updating the spreadsheets. You know how to get a hold of me if you want to bounce ideas around... On Thu, May 19, 2016 at 3:36 PM, JOHN PATTEN

Re: Infinite LiveCode, APIs and the Google Sheets API?

2016-05-19 Thread Rick Harrison
Hi Mike, Https in mergGoogle for communicating the data, and then relying on Google to provide storage security at their end of the Cloud. Ok, thanks for the information! Rick > On May 19, 2016, at 2:58 PM, Mike Kerner wrote: > > Rick, > mergGoogle uses https. > >

Re: Palette command problem

2016-05-19 Thread panagiotis merakos
Hi Richmond, Does [set the style of stack "newTools" to palette] work? On 19 May 2016 22:29, "RM" wrote: > So, I have this command in the stackScript of a stack: > > on openStack > palette stack "newTools" > end openStack > > and the stack is not becoming a

Re: Using the MergGoogle with Google Sheets

2016-05-19 Thread JOHN PATTEN
Oops… Yes that was a typo. It returns 219,25,11,mergGoogleAuth 465,25,11” Is it my understanding that the example stack should work right out of the “box?” Also, the part about the pScope in the sample stack, it is “https://spreadsheets.google.com/feeds

Re: Menu Checkmarks - how to do it??

2016-05-19 Thread Marty Knapp
Bob, you need to use "!c" before the menu item to set the checkmark, but if it's an Option menu or a Combo Box the checkmark will not work. Marty Knapp Hi all. API says that setting the checkmark of a menu item will have no effect. Is there a way to do it then?? Shouldn't there be?? I can

Re: A Personal Challenge

2016-05-19 Thread Paul Dupuis
On 5/18/2016 11:06 PM, Mark Smith wrote: > Thanks, now go double down!! > Just doubled down. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Palette command problem

2016-05-19 Thread RM
So, I have this command in the stackScript of a stack: on openStack palette stack "newTools" end openStack and the stack is not becoming a palette. I'm obviously missing something. Richmond. ___ use-livecode mailing list

Re: Trevor DeVore interviews CTO and CEO

2016-05-19 Thread Bob Sneidar
Years ago, a company called Now Software decided it was time to refactor their aging code base to produce a more modern application that would be much easier to develop new features for. They wanted to switch from a proprietary database to a SQL base so that it would be easier to create other

Menu Checkmarks - how to do it??

2016-05-19 Thread Bob Sneidar
Hi all. API says that setting the checkmark of a menu item will have no effect. Is there a way to do it then?? Shouldn't there be?? I can put numtocodepoint(baseConvert("2713",16,10)) & space before the item, but it moves the text of the menu item to the right, instead of justifying it the

Using the MergGoogle with Google Sheets

2016-05-19 Thread JOHN PATTEN
Hi all! I have the MergGoogle extension and sample stack. I am attempting to get the sample stack included with mergGoogle working. I have gone to Google and created a OAuth 2.0 client ID and client secret. I have exchanged the existing client ID and added my client secret the “on

Re: Using the MergGoogle with Google Sheets

2016-05-19 Thread Monte Goulding
> On 20 May 2016, at 8:38 AM, JOHN PATTEN wrote: > > Oops… Yes that was a typo. It returns 219,25,11,mergGoogleAuth 465,25,11” > > Is it my understanding that the example stack should work right out of the > “box?” It should in LiveCode 8 Indy + work out of the box. In

Re: Installing LiveCode 8

2016-05-19 Thread Kay C Lan
On Thu, May 19, 2016 at 3:39 PM, gagsoft wrote: > "Error while loading stack /Volumes/liveCode Indy 8.0.0/LiveCode Indy > 8.0.0.app/contents/tools/toolset/libraries/revidelibrary.8.livecodescript" > On my installation that file certainly exists so a re-download of the

Re: Installing LiveCode 8

2016-05-19 Thread Peter TB Brett
On 19/05/2016 08:39, gagsoft wrote: Many thanks I will try this. Just for information on the error message that was presented while installing. "Error while loading stack /Volumes/liveCode Indy 8.0.0/LiveCode Indy 8.0.0.app/contents/tools/toolset/libraries/revidelibrary.8.livecodescript" Are

Re: Blast message to multiple objects..

2016-05-19 Thread Mark Wieder
On 05/19/2016 03:38 PM, Mike Bonner wrote: I don't suppose its possible to dispatch or send a message to a group of objects all at once is there? (for example lets call a bunch of buttons named *cough* sprite##) See if this helps. I threw this together several years ago, but it should still

Re: Blast message to multiple objects..

2016-05-19 Thread Mike Bonner
Thank you Mark! Looking through the stack now. (a bit over my head so far) Interesting stuff, I'll hopefully grok it well enough to make use of it. On Thu, May 19, 2016 at 8:48 PM, Mark Wieder wrote: > On 05/19/2016 03:38 PM, Mike Bonner wrote: > >> I don't suppose its

Re: Trevor DeVore interviews CTO and CEO

2016-05-19 Thread Roland Huettmann
I really liked your words, Bob . I once managed a developer team coming from far. One of the guys wanted to learn skiing and I had a wild thought, I bring him up to the highest peak of the mountains above 10,000 feet, and we just try. It took almost a full day to go down the slopes. I never ever

Re: Blast message to multiple objects..

2016-05-19 Thread Mike Bonner
Does anyone know a way to get _internal calls to function outside of the ide? On Thu, May 19, 2016 at 5:35 PM, Mike Bonner wrote: > Thank you! I'll start reading. > > On Thu, May 19, 2016 at 5:30 PM, Alex Tweedly wrote: > >> >> Rather than have "all

Re: Blast message to multiple objects..

2016-05-19 Thread Mark Wieder
On 05/19/2016 08:36 PM, Mike Bonner wrote: Thank you Mark! Looking through the stack now. (a bit over my head so far) Interesting stuff, I'll hopefully grok it well enough to make use of it. The tl;dr: Use libDispatcher as a substack. Open the stack. Click on the API button for

Re: LiveCode Quits

2016-05-19 Thread Dave Kilroy
Hi Javier - I'm wondering if it might be something in your preferences folder (either a corrupted preferences file or a plugin). If you try saving your preferences folder as something else and then make a new empty folder with original name and location - and then start up LC8 do you get any

[OT] Want to help build a new HyperCard

2016-05-19 Thread RM
Over on the Yahoo group "Discussion Group for Hypercard" there is this topic. This seems to be a seasonal phenomenon, which never comes to much, and I cannot help wondering why it keeps coming up. One thing that does cross my mind is that maybe (?) some of these people haven't heard about

Another Q from the Yahoo HC group

2016-05-19 Thread RM
Sorry, but got caught by this. "Op 10-May-16 om 14:38 schreef Andrew Ferguson andrewferguson500@... [HyperCard]: > > > A modernised UI was one of the stated goals of the kickstarter project. > This hasn't been started yet, though, and I can't find any mention of it > in the LiveCode roadmap. > >

Re: Storing and retrieving data from a SQL database

2016-05-19 Thread Bob Sneidar
sqlYoga escapes their data. You may want to download it. The source is free now (correct me if I am wrong), compliments to Trevor DeVore. I bet you could get his escaping code from that. Bob S On May 18, 2016, at 17:16 , Paul Dupuis >

Re: [OT] Want to help build a new HyperCard

2016-05-19 Thread Colin Holgate
As you will have read, the people involved find the LiveCode UI to be more complicated than it needs to be for most users. If LiveCode had ‘set the userlevel to 1’, etc, they would be more happy. > On May 19, 2016, at 6:08 AM, RM wrote: > > Over on the Yahoo

Re: [OT] Want to help build a new HyperCard

2016-05-19 Thread Richard Gaskin
RM wrote: > Over on the Yahoo group "Discussion Group for Hypercard" there is > this topic. > > This seems to be a seasonal phenomenon, which never comes to much, > and I cannot help wondering why it keeps coming up. In those discussions and similar ones I've had with many HyperCard fans over

Re: Storing and retrieving data from a SQL database

2016-05-19 Thread Mike Kerner
Remember the conversations about handling CSV? All I will tell you from escaping data for SQL is...good luck. I accidentally discovered SQL injection (as did everyone else, I'm sure) 30 years ago when C/S was just getting legs. Since then, we have yet to come up with an escaping scheme that

Re: Installing LiveCode 8

2016-05-19 Thread Mike Bonner
Based on this: "Error while loading stack /Volumes/liveCode Indy 8.0.0/LiveCode Indy 8.0.0.app/contents/tools/toolset/libraries/ revidelibrary.8.livecodescript" It looks like you're right Peter. On Thu, May 19, 2016 at 2:29 AM, Peter TB Brett wrote: > On 19/05/2016

Re: Bullet • Mac/Win

2016-05-19 Thread Mike Bonner
nevermind. Lead with 0x so it knows its hex. On Thu, May 19, 2016 at 7:37 AM, Mike Bonner wrote: > put numtocodepoint(baseconvert("26BD",16,10)) should put your socker ball. > > numtocodepoint seems to want only a base 10, so convert from hex first. > > On Thu, May 19, 2016

Re: Another Q from the Yahoo HC group

2016-05-19 Thread Roger Eller
At least for number 1, I think the LC UI needs to be sensible, but not necessarily like every other dev environment out there. We can already block out the distractions of the underlying desktop with: set the backdrop to gray ~Roger On Thu, May 19, 2016 at 6:15 AM, RM

Re: [OT] Want to help build a new HyperCard

2016-05-19 Thread Richmond
That has already been discussed over in the forums. They should not be worrying about building a new Hypercard; they should just work out how to do a sort of Metacard" front-end for Livecode. Mind you, the kids I teach Livecode to don't seem to have problems with the LC 7.0 interface.

Re: Bullet • Mac/Win

2016-05-19 Thread Klaus major-k
Hi all, on my Mac I have this wonderfull little system palette in the menubar showing me „Emojis and Symbols“ and give me somethong like this for e.g. „Soccer ball“: Unicode U+26BD UTF8 E2 9A BD How can I use this information with numtocodepoint() or codepointtonum(), if at all? Tried several

Re: Bullet • Mac/Win

2016-05-19 Thread Klaus major-k
Hi Mike, > Am 19.05.2016 um 15:38 schrieb Mike Bonner : > > nevermind. Lead with 0x so it knows its hex. AHA! :-D Thanks a bunch! > On Thu, May 19, 2016 at 7:37 AM, Mike Bonner wrote: > >> put numtocodepoint(baseconvert("26BD",16,10)) should put your

Re: Another Q from the Yahoo HC group

2016-05-19 Thread Richard Gaskin
RM wrote: > Sorry, but got caught by this. > > "Op 10-May-16 om 14:38 schreef Andrew Ferguson > andrewferguson500 at ... [HyperCard]: > > > > A modernised UI was one of the stated goals of the kickstarter > > project. > > This hasn't been started yet, though, and I can't find any mention >

Re: Bullet • Mac/Win

2016-05-19 Thread Mike Bonner
put numtocodepoint(baseconvert("26BD",16,10)) should put your socker ball. numtocodepoint seems to want only a base 10, so convert from hex first. On Thu, May 19, 2016 at 7:33 AM, Klaus major-k wrote: > Hi all, > > on my Mac I have this wonderfull little system palette in the

Re: Storing and retrieving data from a SQL database

2016-05-19 Thread Paul Dupuis
On 5/19/2016 10:41 AM, Mike Kerner wrote: > Remember the conversations about handling CSV? All I will tell you from > escaping data for SQL is...good luck. I accidentally discovered SQL > injection (as did everyone else, I'm sure) 30 years ago when C/S was just > getting legs. Since then, we

Re: [OT] Want to help build a new HyperCard

2016-05-19 Thread Robert Brenstein
There was actually a Hypercard-like front-end being built in Metacard at some point and was actually quite advanced as I recall. If I am not mistaken it was made open-source. RObert On 19.05.2016 at 16:07 Uhr +0300 Richmond apparently wrote: That has already been discussed over in the

Re: Storing and retrieving data from a SQL database

2016-05-19 Thread Peter Haworth
No substitution or escaping involved, although the dictionary makes constant reference to to substitution which is misleading. I think it's worth a short explanation of what goes on behind the scenes. Although executing an sql statement in lc is just one call, it's multiple calls to the sql

Trevor DeVore interviews CTO and CEO

2016-05-19 Thread Heather Laine
Dear List Folks, Great interview just been posted to the blog! Some searching questions from Trevor :) https://livecode.com/trevor-devore-interviews-kevin-mark-on-infinite-livecode/ Enjoy. Regards, Heather

Re: Trevor DeVore interviews CTO and CEO

2016-05-19 Thread Earthednet-wp
Great interview! I can only imagine what the dev team went through to do this project. I'm happy to double my pledge. With this campaign, and the great foundation that has been laid with the first Kickstarter campaign, new feature and tools should come out much faster. Best, Bill William

Re: Storing and retrieving data from a SQL database

2016-05-19 Thread Peter TB Brett
On 19/05/2016 16:41, Paul Dupuis wrote: Mike and Peter: So you're both saying that if I use either: revExecuteSQL myID, "insert into mytable values(:1,:2)", "Variable1","Variable2" OR revExecuteSQL myID,"insert into mytable values(:1,:2)","myArray" where myArray[1] has the content for the first

Re: Storing and retrieving data from a SQL database

2016-05-19 Thread Mike Kerner
No, it won't escape it, and it won't just substitute it. Substitution would be put "INSERT INTO myTable VALUES("&")" If you were to use substitution in a query, you would have to put quotes around the contents of variable1 and variable2 before you passed them or they wouldn't go at all (and if

Re: Storing and retrieving data from a SQL database

2016-05-19 Thread Paul Dupuis
Thank you. I'll try switching my code over to using query parameters. On 5/19/2016 12:01 PM, Mike Kerner wrote: > No, it won't escape it, and it won't just substitute it. > > Substitution would be > put "INSERT INTO myTable VALUES("&")" > > If you were to use substitution in a query, you would

Infinite LiveCode, APIs and the Google Sheets API?

2016-05-19 Thread JOHN PATTEN
Hi All, So, I have never dived into any APIs, or LiveCode (Widget) Builder, but yesterday I read about the the release of the Google Sheets API (https://developers.google.com/sheets/ ). If you look at the Google Sheets documentation it lists some quick

What Newbies Expect

2016-05-19 Thread Sannyasin Brahmanathaswami
I do a lot of LC advocacy. Occasionally I hook a "whale" This is a real case: This older man has work in the software "specification" field for 25 years. He doesn't actually code, but has written books on the whole enterprise software development process. Now a consultant for the IRS in

Rev Zip Archive call backs?

2016-05-19 Thread Ray
Greetings, I'm using some of the commands from the Revolution Zip library and the revZipCloseArchive takes about 25 seconds to close up and save a 36 meg file. Does anybody know of any way to get call backs from this command so I could display a progress graph? Thanks. Ray

Re: [OT] Want to help build a new HyperCard

2016-05-19 Thread Mark Rauterkus
Hi, Wow. Richard's vision with a K-12 package as a subset of Community LiveCode is exciting. If it was made to run on the Raspberry Pi 3, then it might be even better. Years ago, Hugh was working on an authoring system that I was enamored with called FootNotes. That was mostly about ebook

OOH - Run Android Apps On Chromebooks

2016-05-19 Thread Mike Kerner
This looks interesting: http://www.zdnet.com/article/google-brings-android-apps-play-store-to-chromebooks-and-just-made-them-more-valuable-for-business/ -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on

Re: Rev Zip Archive call backs?

2016-05-19 Thread Ray
Now how did I miss that? Thanks Paul! On 5/19/2016 2:33 PM, Paul Dupuis wrote: On 5/19/2016 2:09 PM, Ray wrote: Greetings, I'm using some of the commands from the Revolution Zip library and the revZipCloseArchive takes about 25 seconds to close up and save a 36 meg file. Does anybody know

Re: Infinite LiveCode, APIs and the Google Sheets API?

2016-05-19 Thread Mike Kerner
One of the nice things about mergGoogle, by the way, over trying to implement an API, is that mergGoogle is asynchronous, which makes it very speedy. For example, I have, here, several spreadsheets with multiple sheets per spreadsheet, and thousands of cells that we update nearly continuously.

Re: Infinite LiveCode, APIs and the Google Sheets API?

2016-05-19 Thread Roger Eller
Mike, was that for Desktop too? That's where I could use LC based google tools the most. ~Roger On Thu, May 19, 2016 at 2:37 PM, Mike Kerner wrote: > look at MergGoogle. It's a widget that we paid Monte to write so we could > have all sorts of fun with Google

Re: Rev Zip Archive call backs?

2016-05-19 Thread Paul Dupuis
On 5/19/2016 2:09 PM, Ray wrote: > Greetings, > > I'm using some of the commands from the Revolution Zip library and the > revZipCloseArchive takes about 25 seconds to close up and save a 36 > meg file. Does anybody know of any way to get call backs from this > command so I could display a

Re: LiveCode Quits

2016-05-19 Thread Javier Miranda
Dave, I tried renaming the "My LiveCode" folder, before installing, I also removed all of the LiveCode registry entries, but I still cant use LiveCode. After I try to the software (and fail to run), I see a newly created My LiveCode folder. What do you mean wirh "Preferences"? Do you have any

Re: Infinite LiveCode, APIs and the Google Sheets API?

2016-05-19 Thread Rick Harrison
Hi Mike, Very interesting… How secure is the data throughout the process? Rick > On May 19, 2016, at 2:37 PM, Mike Kerner wrote: > > look at MergGoogle. It's a widget that we paid Monte to write so we could > have all sorts of fun with Google Sheets, and might I

Re: What Newbies Expect

2016-05-19 Thread Devin Asay
> On May 19, 2016, at 1:32 PM, Sannyasin Brahmanathaswami > wrote: > > wow.. .thanks I will send him this link. Still a lot of materials there. > > What he needs for mock ups really would be just > > 1 Stack Structure > 3 Controls > 6 Groups and Backgrounds BR, Do these

Re: What Newbies Expect

2016-05-19 Thread Richard Gaskin
Sannyasin Brahmanathaswami wrote: > What he needs for mock ups really would be just > > 1 Stack Structure > 3 Controls > 6 Groups and Backgrounds How much of the User Guide has he read? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the

Re: Infinite LiveCode, APIs and the Google Sheets API?

2016-05-19 Thread Roger Eller
Yes, I just saw it is for Mac too. And as it goes, my PC/Windows only users are the group using spreadsheets the most. A LC server port could possibly bridge the functionality to other platforms, although it might require the server to be a Mac so it can use the OS X external. ~Roger On Thu,

Re: A Personal Challenge

2016-05-19 Thread Peter Bogdanoff
After Todd’s offer I went ahead and multiplied my pledge by 10. Peter On May 18, 2016, at 8:06 PM, Mark Smith wrote: > Apologies for cross posting... > > In the last couple of days, 173 backers (excluding Livecode) have > contributed $22,833 towards the Infinite

Re: What Newbies Expect

2016-05-19 Thread J. Landman Gay
On 5/19/2016 12:59 PM, Sannyasin Brahmanathaswami wrote: So, how could this be made easy for a newbie? The Scripting Conference stacks were created years ago with the idea of presenting LC to new users, and I think they do it more conceptually than individual tutorials. The stacks are old

Re: What Newbies Expect

2016-05-19 Thread Sannyasin Brahmanathaswami
wow.. .thanks I will send him this link. Still a lot of materials there. What he needs for mock ups really would be just 1 Stack Structure 3 Controls 6 Groups and Backgrounds BR On 5/19/16, 9:21 AM, "use-livecode on behalf of J. Landman Gay"

Re: Infinite LiveCode, APIs and the Google Sheets API?

2016-05-19 Thread JOHN PATTEN
Thanks Mike… I’m going to go take a look right now :) Cheers! John Patten SUSD > On May 19, 2016, at 11:37 AM, Mike Kerner wrote: > > look at MergGoogle. It's a widget that we paid Monte to write so we could > have all sorts of fun with Google Sheets, and might I

Re: Installing LiveCode 8

2016-05-19 Thread gagsoft
Many thanks I will try this. Just for information on the error message that was presented while installing. "Error while loading stack /Volumes/liveCode Indy 8.0.0/LiveCode Indy 8.0.0.app/contents/tools/toolset/libraries/revidelibrary.8.livecodescript" > On 19 May 2016, at 8:06 AM, Kay C Lan