Re: Palette command problem

2016-05-20 Thread Kay C Lan
On Fri, May 20, 2016 at 10:56 PM, J. Landman Gay
 wrote:
> Richard explained it pretty well.  I think of the command form as a
> temporary override.

Yes he did and that's a nice summary. Thanks.

___
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/listinfo/use-livecode


Re: Blast message to multiple objects..

2016-05-20 Thread Mike Bonner
Thank you SO much!  I'm having a blast working with your library.  So far,
I have a send loop running that sends out a "moveQuarry" event to all
registered buttons, and another button that clones a quarry button and
registers it for the movequarry event. (random movement)

I'll be adding a checkDistance event, which can then register a button with
the "flee" event if the hunter is close enough (temporarily unregistering
movequarry) and of course an "intersect" check.  if the hunter intersects,
unregister and hide self.

Speed so far is really good too. (lock and unlock screen as usual making a
huge difference)

Hopefully I'll get better at thinking this way so I can make better use of
the library.  (mvc is new to me)


On Thu, May 19, 2016 at 10:40 PM, Mark Wieder 
wrote:

> 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 documentation.
>
> Aside from "start using stack libDispatcher", you'll be interested in:
>
> RegisterEvent
> SendEvent
> UnregisterEvent
>
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
> ___
> 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/listinfo/use-livecode
>
___
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/listinfo/use-livecode


Re: Storing and retrieving data from a SQL database

2016-05-20 Thread Peter Haworth
Tabs shouldn't be a problem so I suspect something else.

Have you tried using LC to select the data after updating it?  As mentioned
in an earlier post, if you use revDataFromQuery to do the SELECT, be sure
to use something other than tab/return for the column/row delimiters.

I'm wondering if whatever program you used to "directly check" the data has
a problem with the tabs (fingers crossed it wasn't SQLiteAdmin!).

Pete

On Fri, May 20, 2016 at 6:33 PM Paul Dupuis  wrote:

> Apparently, you either DO need to escape certain characters even when
> using parametrized queries.
>
> I have the code below: I pass it an array where the description
> pArray[7] contains several lines of text from a field and the second
> line contains a tab
>
> command updateInDatabase pArray
>   --
>
> pArray[1]=ID,[2]=Name,[3]=Type,[4]=Topic,[5]=Subtopic,[6]=Duration,[7]=Description,[8]=Source
>   put the databaseID of this stack into tDatabaseID
>   put "UPDATE mytable SET
> name=:2,type=:3,topic=:4,subtopic=:5,duration=:6,description=:7,source=:8
> WHERE
> id=:1" into tQuery
>   revExecuteSQL tDatabaseID,tQuery,"pArray"
>   get the result
>   if it is not a number then
> -- error
> put it
>   else
> -- number of rows changed
>   end if
> end updateInDatabase
>
> This executes and indicates a row was update in the database and a
> direct check of the SQLite database shows that columns were updated
> EXCEPT for description where any content that was in pArray[7] AFTER and
> including the TAB is missing. So apparently TABs can not be included in
> data passed by parameters.
>
> OR is this a LiveCode 8 bug?
>
> ___
> 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/listinfo/use-livecode
>
___
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/listinfo/use-livecode


Re: A Personal Challenge

2016-05-20 Thread Mark Smith
Peter Bogdanoff wrote
> After Todd’s offer I went ahead and multiplied my pledge by 10.
> 
> Peter


NICE. And thanks! I wish I could say we are almost there but it looks like
we still have a long way to go. Any suggestions?





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/A-Personal-Challenge-tp4704836p4704999.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode

Re: A Personal Challenge

2016-05-20 Thread Mark Smith
Mike Bonner wrote
> I feel like i'm in that  movie.. "Help me, help you..."  Pledge increased.

Brilliant! Thanks

Now, any suggestions on how to reach the "community" base to encourage them
to contribute?

Mark



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/A-Personal-Challenge-tp4704836p4704998.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Re: Storing and retrieving data from a SQL database

2016-05-20 Thread Paul Dupuis
Apparently, you either DO need to escape certain characters even when
using parametrized queries.

I have the code below: I pass it an array where the description
pArray[7] contains several lines of text from a field and the second
line contains a tab

command updateInDatabase pArray 
  --
pArray[1]=ID,[2]=Name,[3]=Type,[4]=Topic,[5]=Subtopic,[6]=Duration,[7]=Description,[8]=Source
  put the databaseID of this stack into tDatabaseID
  put "UPDATE mytable SET
name=:2,type=:3,topic=:4,subtopic=:5,duration=:6,description=:7,source=:8 WHERE
id=:1" into tQuery
  revExecuteSQL tDatabaseID,tQuery,"pArray"
  get the result
  if it is not a number then
-- error
put it
  else
-- number of rows changed
  end if
end updateInDatabase

This executes and indicates a row was update in the database and a
direct check of the SQLite database shows that columns were updated
EXCEPT for description where any content that was in pArray[7] AFTER and
including the TAB is missing. So apparently TABs can not be included in
data passed by parameters.

OR is this a LiveCode 8 bug?

___
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/listinfo/use-livecode


Re: Trevor DeVore interviews CTO and CEO

2016-05-20 Thread Mark Wieder

On 05/19/2016 08:39 AM, Heather Laine wrote:

Dear List Folks,

Great interview just been posted to the blog!


Finally got around to reading this today. Great questions, Trevor!
And wide-ranging, thoughtful answers from Kevin and Mark. If I needed 
reassuring that we were on the right track (I don't), this would have 
done the trick.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
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/listinfo/use-livecode


Re: Problems with Xcode

2016-05-20 Thread Dave Kilroy
Hi Martin, I notice from your error message that LiveCode is trying to
connect to Xcode2.app, is that what you have called your copy of Xcode 6.2
or is that an older version of Xcode on your system?

Sometimes the path to Xcode does not get updated in LiveCode's 'mobile
support' preferences and that can produce errors similar to yours...

First thing to try is to remove references to Xcode completely in LiveCode's
preferences pane, exit and restart LiveCode and enter the path to the
correct version of Xcode - follow that with a test build

If that doesn't work and you are comfortable with terminal then open
terminal and type "xcode-select -p" (without the quote marks) - this should
give you the system-wide default path to Xcode assets - if it points to the
wrong version then you can reset it by entering "sudo xcode-select -switch
/path/to/this/xcode/version" (swapping out "/path/to/this/xcode/version"
with the path to the version of Xcode you want to use)

BTW I used the differentiate and store old versions of Xcode by renaming the
Xcode app file, but I've had no more trouble since I instead made version
numbered folders for them (within the Applications folder) so that each
version of the app is still called "Xcode.app"

Please note: the above terminal commands worked for me, and I got them from
a LiveCode staff member ages ago - but I know very little about terminal so
I offer those snippets with NO GUARANTEE WHATSOEVER which is why I suggest
only those who know what they are doing in terminal use them

Best of luck!

Dave



-
"The first 90% of the task takes 90% of the time, and the last 10% takes the 
other 90% of the time."
Peter M. Brigham 
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Problems-with-Xcode-tp4704964p4704994.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Re: Livcode and AWS S3 (Windows)

2016-05-20 Thread stephen barncard
This was the one written by the 'late' Mark Smith, the bass player, right?

Yes that code is probably 10 years old.
but all his stuff was creative and useful Runrev programming.
He worked in areas not deemed typical for a 'scripting language'.

His code inspired me to mess around extracting and modifying audio files
using Runrev>LC.
sqb

Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Fri, May 20, 2016 at 2:17 PM, Skip Kimpel  wrote:

> Anybody have experience with S3 buckets and Livecode?  The LibS3.rev that
> exists out there seems to be dated and has issues connecting.
>
> AND it has to run within an Windows standalone.
>
> Any help would be GREATLY appreciated!
>
> SKIP
> ___
> 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/listinfo/use-livecode
>
___
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/listinfo/use-livecode


Line graph widget not working on Windows?

2016-05-20 Thread Ton Kuypers
Can anyone confirm if the line graph widget is working on Windows PC’s please?


Met vriendelijke groeten,
Warm Regards,



Ton Kuypers
+32 (0) 477 739 530

Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium
www.publishingtools4u.com





___
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/listinfo/use-livecode

Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Monte Goulding

> On 21 May 2016, at 5:53 AM, Roger Eller  wrote:
> 
> That's so weird.  Me too.

Woah guys stop farting and submit a bug report ;-)

Clearly there’s something that needs to be investigated.

Cheers

Monte
___
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/listinfo/use-livecode

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

2016-05-20 Thread Peter Bogdanoff
I’m working on a project related to this discussion.

It’s a specialized tool for music students in the form of a runtime application 
that has a tool palette and inspector—reproducing LiveCode’s IDE in a 
simplified, targeted manner.

So I’m very interested in understanding how LiveCode’s IDE does things.

If you look at the script of the LC IDE tool palette you’ll see scripts for 
dragging and dropping controls onto a stack.

edit the script of stack “revtools"

Peter


On May 20, 2016, at 12:41 PM, RM  wrote:

> Thanks to suggestions by Peter Bogdanoff much better indeed.
> 
> R.
> 
> On 20.05.2016 22:14, RM wrote:
>> Keeps on getting better.
>> 
>> I am now at the stage where I would be grateful for anyone who wishes to 
>> deploy a vaguely "Hypercardy" simplified UI
>> for Livecode 8.0 to try the thing out and give me feedback. Anyone who 
>> wishes is, of course, welcome to muck around with
>> the stack and improve things - just upload your improved version.
>> 
>> Richmond.
>> 
>> On 20.05.2016 18:18, RM wrote:
>>> "Open" button now works, "Import Image" button added [and it works!], 
>>> "Save" button still proving a problem.
>>> 
>>> R.
>>> 
>>> On 20.05.2016 10:22, RM wrote:
 Just uploaded a revision that works a whole lot better!
 
 On 19.05.2016 23:44, RM wrote:
> 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:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
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/listinfo/use-livecode


Livcode and AWS S3 (Windows)

2016-05-20 Thread Skip Kimpel
Anybody have experience with S3 buckets and Livecode?  The LibS3.rev that
exists out there seems to be dated and has issues connecting.

AND it has to run within an Windows standalone.

Any help would be GREATLY appreciated!

SKIP
___
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/listinfo/use-livecode


Re: Arrays vs databases

2016-05-20 Thread Mark Talluto

> On May 20, 2016, at 12:47 PM, Bob Sneidar  wrote:
> 
> If there were a way to "query" an array which returned another array with 
> matching keys, that would be okay. But I cannot search an array right now, so 
> as a database for finding information, it's not all that great. Oh sure, I 
> can write repeat loops to go through every single key to find the ones I 
> need, but I would have to write the logic for all that. Ick! Why not just use 
> a memory based database, or even an sqLite database? I just do not see the 
> point to using arrays as a database when there are single and multiuser 
> solutions all over the place.
> 
> Bob S

In relation to the OP, it might be that arrays are a very comfortable storage 
mechanism. It is true that traditional DBs have many useful commands to search 
data. Chunking and other LC array commands are very powerful in their own right.

In the end, there are a lot of options available to best meet the needs for any 
developer. Nothing wrong with considering your options.


Best regards,

Mark Talluto
livecloud.io 
canelasoftware.com 



___
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/listinfo/use-livecode


Re: Arrays vs databases

2016-05-20 Thread Richard Gaskin

Bob Sneidar wrote:

> If there were a way to "query" an array which returned another array
> with matching keys, that would be okay. But I cannot search an array
> right now, so as a database for finding information, it's not all
> that great. Oh sure, I can write repeat loops to go through every
> single key to find the ones I need, but I would have to write the
> logic for all that. Ick! Why not just use a memory based database,
> or even an sqLite database? I just do not see the point to using
> arrays as a database when there are single and multiuser solutions
> all over the place.

A key-value store is a specific type of database, usually used when 
aggregate operations (like collection-wide search) are relatively 
uncommon compared to retrieving a single element.


Still, any aggregate operation takes time.  With an RDBMS is means 
slogging through chunks of memory-mapped blocks pulled up from disk, 
sifting through fairly complex structures to find the IDs you're looking 
for and then deeper to find the return values you want.


Fortunately you only need to do most of that work on unindexed fields, 
and indexes can be made for any data storage mechanism. In fact, 
MongoDB's index is structurally very similar to MySQL's.


Relational DBs are great, but there are many ways to work with data.

In addition to MongoDB and CouchDB, memcached, Cassandra, Neo4J and 
others are worth studying to appreciate the scope of data management 
options we have at our disposal.


And for simple things, simple structures work great.  Arrays have a 
valuable role in many data tasks, as do humble chunk expressions.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
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/listinfo/use-livecode


Re: Arrays vs databases

2016-05-20 Thread Paul Looney

> On May 20, 2016, at 12:47 PM, Bob Sneidar  wrote:
> 
> If there were a way to "query" an array which returned another array with 
> matching keys, that would be okay. But I cannot search an array right now, so 
> as a database for finding information, it's not all that great. Oh sure, I 
> can write repeat loops to go through every single key to find the ones I 
> need, but I would have to write the logic for all that. Ick! Why not just use 
> a memory based database, or even an sqLite database? I just do not see the 
> point to using arrays as a database when there are single and multiuser 
> solutions all over the place.

One answer is that, with “LSON”, you can do all of your work with LC and a text 
file db. There is no need to learn the (often arcane) syntax of a DBMS.

Repeat loops in LC are often “fast enough”. This morning I was working on a 
project that has a database of over 6,000 records in a 15 MB file text file. 
This text file was already stored in RAM as an array. I wanted to retrieve some 
names from line 2 of a field (so it included a chunk expression). Here are the 
benchmark timings:

Process times (in milliseconds) 
Get data from server: 78
Prep data, process chunks: 2
Build array for deleting duplicates: 2
Delete duplicates: 0
Sort list: 0
Load fields: 0
Total: 83

That is over 72,000 records per second. I’m using a five year old MacBook Pro 
(2.2 Ghz Sandybridge Core i7). And the code is not optimized. You will notice 
that three steps in the process were too fast to time with milliseconds.

This speed is certainly sufficient for much work.

Paul Looney

BTW, My text file db is multiuser.

___
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/listinfo/use-livecode

Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Bob Sneidar
If yer in the same room with him, that should do it! 

Bob S


> On May 20, 2016, at 12:51 , Mike Kerner  wrote:
> 
> I tried, that, but all I did was fart.
> 
> On Fri, May 20, 2016 at 3:48 PM, Roger Eller 
> wrote:
> 
>> Let's focus the energy of our group consciousness, and see if we can wake
>> him up to check email.  :)
>> 
>> 


___
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/listinfo/use-livecode


Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Mike Kerner
I tried, that, but all I did was fart.

On Fri, May 20, 2016 at 3:48 PM, Roger Eller 
wrote:

> Let's focus the energy of our group consciousness, and see if we can wake
> him up to check email.  :)
>
>
> On Fri, May 20, 2016 at 3:19 PM, Mike Kerner 
> wrote:
>
> > And I'm just guessing at things to try, so I don't even now if it's
> > relevant, since everything works for me.  The next thing to do is to
> > contact Monte, I suppose.
> >
> > On Fri, May 20, 2016 at 3:15 PM, Mike Kerner 
> > wrote:
> >
> > > Go into Keychain Access, then do a search for "mergGoogle".
> > >
> > > On Fri, May 20, 2016 at 2:42 PM, JOHN PATTEN 
> wrote:
> > >
> > >> Mike,
> > >>
> > >> I never remember ever getting a request for Keychain access from
> > >> LiveCode. I may have a long time ago, and just don’t remember though.
> > >>
> > >> Is there a way to check and see if LiveCode has access to the
> Keychain?
> > >> When I look in the KeyChain app I don’t see any references for
> LiveCode.
> > >>
> > >> Thanks!
> > >>
> > >> John Patten
> > >> SUSD
> > >>
> > >> > On May 20, 2016, at 11:06 AM, Mike Kerner <
> mikeker...@roadrunner.com>
> > >> wrote:
> > >> >
> > >> > I just tried 6.7.8 mac with merggoogle 1.0.12 test stack, and it
> works
> > >> > fine.  if I go up to 7.1.4 Stable or 8.0.1 rc1 I get the answer
> > dialogs
> > >> of
> > >> > death.
> > >> >
> > >> > Next question:  Did you ever ban LC from getting access to your
> > >> keychain?
> > >> > At some time, you probably got a dialog asking for access to it.
> > >> >
> > >> > On Fri, May 20, 2016 at 1:56 PM, JOHN PATTEN  > >> > wrote:
> > >> >
> > >> >> Hi All,
> > >> >>
> > >> >> I have tried the demo stack in multiple versions of Livecode,
> > including
> > >> >> 6.7.8, and I get the same result. An answer dialog appears when the
> > >> stack
> > >> >> launches: https://flic.kr/p/Hkzs88  <
> > >> https://flic.kr/p/Hkzs88 >
> > >> >>
> > >> >> I even copied the mergGoogle.lcext extension into the Extensions
> > folder
> > >> >> identified in the Preferences.
> > >> >>
> > >> >> There must be something else that is not quite right now with
> > published
> > >> >> extension, or a change at Google. However, that doesn’t explain why
> > >> Mike’s
> > >> >> is still working.
> > >> >>
> > >> >> Thank you!
> > >> >>
> > >> >> John Patten
> > >> >> SUSD
> > >> >>
> > >> >>
> > >> >>
> > >> >>
> > >> >>> On May 20, 2016, at 10:44 AM, Mike Kerner <
> > mikeker...@roadrunner.com>
> > >> >> wrote:
> > >> >>>
> > >> >>> OK, so try it with 6.8.10.  I just ran the latest version with
> > 6.7.2,
> > >> >>> though.  My every-day instance runs in 6.7.8
> > >> >>>
> > >> >>> On Fri, May 20, 2016 at 12:48 PM, Roger Eller <
> > >> >> roger.e.el...@sealedair.com>
> > >> >>> wrote:
> > >> >>>
> > >>  Monte said a few emails back that 6.8.10 is the oldest version
> that
> > >> >> works
> > >>  with the external.
> > >> 
> > >>  ~Roger
> > >> 
> > >>  On Fri, May 20, 2016 at 12:23 PM, Mike Kerner <
> > >> >> mikeker...@roadrunner.com>
> > >>  wrote:
> > >> 
> > >> > I just tried opening the sample in 8 and in 7 and it fails in
> > both.
> > >> >> Try
> > >> > 6.  I did 6.7.8 and 6.7.2.  mergGoogle might require a
> recompile.
> > >>  ___
> > >>  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/listinfo/use-livecode
> > >> 
> > >> >>>
> > >> >>>
> > >> >>>
> > >> >>> --
> > >> >>> 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 hold for a few hours,
> > >> >>>  and did a little diving.
> > >> >>> And God said, "This is good."
> > >> >>> ___
> > >> >>> 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/listinfo/use-livecode
> > >> >>
> > >> >> ___
> > >> >> use-livecode mailing list
> > >> >> use-livecode@lists.runrev.com  use-livecode@lists.runrev.com>
> > >> >> Please visit this url to subscribe, unsubscribe and manage your
> > >> >> subscription preferences:
> > >> >> http://lists.runrev.com/mailman/listinfo/use-livecode <
> > >> http://lists.runrev.com/mailman/listinfo/use-livecode>
> > >> >>
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > On the first day, God created the heavens and the Earth
> > >> > On the second day, God created the oceans.
> > >> > On 

Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Roger Eller
Let's focus the energy of our group consciousness, and see if we can wake
him up to check email.  :)


On Fri, May 20, 2016 at 3:19 PM, Mike Kerner 
wrote:

> And I'm just guessing at things to try, so I don't even now if it's
> relevant, since everything works for me.  The next thing to do is to
> contact Monte, I suppose.
>
> On Fri, May 20, 2016 at 3:15 PM, Mike Kerner 
> wrote:
>
> > Go into Keychain Access, then do a search for "mergGoogle".
> >
> > On Fri, May 20, 2016 at 2:42 PM, JOHN PATTEN  wrote:
> >
> >> Mike,
> >>
> >> I never remember ever getting a request for Keychain access from
> >> LiveCode. I may have a long time ago, and just don’t remember though.
> >>
> >> Is there a way to check and see if LiveCode has access to the Keychain?
> >> When I look in the KeyChain app I don’t see any references for LiveCode.
> >>
> >> Thanks!
> >>
> >> John Patten
> >> SUSD
> >>
> >> > On May 20, 2016, at 11:06 AM, Mike Kerner 
> >> wrote:
> >> >
> >> > I just tried 6.7.8 mac with merggoogle 1.0.12 test stack, and it works
> >> > fine.  if I go up to 7.1.4 Stable or 8.0.1 rc1 I get the answer
> dialogs
> >> of
> >> > death.
> >> >
> >> > Next question:  Did you ever ban LC from getting access to your
> >> keychain?
> >> > At some time, you probably got a dialog asking for access to it.
> >> >
> >> > On Fri, May 20, 2016 at 1:56 PM, JOHN PATTEN  >> > wrote:
> >> >
> >> >> Hi All,
> >> >>
> >> >> I have tried the demo stack in multiple versions of Livecode,
> including
> >> >> 6.7.8, and I get the same result. An answer dialog appears when the
> >> stack
> >> >> launches: https://flic.kr/p/Hkzs88  <
> >> https://flic.kr/p/Hkzs88 >
> >> >>
> >> >> I even copied the mergGoogle.lcext extension into the Extensions
> folder
> >> >> identified in the Preferences.
> >> >>
> >> >> There must be something else that is not quite right now with
> published
> >> >> extension, or a change at Google. However, that doesn’t explain why
> >> Mike’s
> >> >> is still working.
> >> >>
> >> >> Thank you!
> >> >>
> >> >> John Patten
> >> >> SUSD
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>> On May 20, 2016, at 10:44 AM, Mike Kerner <
> mikeker...@roadrunner.com>
> >> >> wrote:
> >> >>>
> >> >>> OK, so try it with 6.8.10.  I just ran the latest version with
> 6.7.2,
> >> >>> though.  My every-day instance runs in 6.7.8
> >> >>>
> >> >>> On Fri, May 20, 2016 at 12:48 PM, Roger Eller <
> >> >> roger.e.el...@sealedair.com>
> >> >>> wrote:
> >> >>>
> >>  Monte said a few emails back that 6.8.10 is the oldest version that
> >> >> works
> >>  with the external.
> >> 
> >>  ~Roger
> >> 
> >>  On Fri, May 20, 2016 at 12:23 PM, Mike Kerner <
> >> >> mikeker...@roadrunner.com>
> >>  wrote:
> >> 
> >> > I just tried opening the sample in 8 and in 7 and it fails in
> both.
> >> >> Try
> >> > 6.  I did 6.7.8 and 6.7.2.  mergGoogle might require a recompile.
> >>  ___
> >>  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/listinfo/use-livecode
> >> 
> >> >>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>> 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 hold for a few hours,
> >> >>>  and did a little diving.
> >> >>> And God said, "This is good."
> >> >>> ___
> >> >>> 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/listinfo/use-livecode
> >> >>
> >> >> ___
> >> >> 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/listinfo/use-livecode <
> >> http://lists.runrev.com/mailman/listinfo/use-livecode>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > 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 hold for a few hours,
> >> >   and did a little diving.
> >> > And God said, "This is good."
> >> > ___
> >> > use-livecode mailing list
> >> > use-livecode@lists.runrev.com 
> >> > Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> > 

Re: Arrays vs databases

2016-05-20 Thread Bob Sneidar
If there were a way to "query" an array which returned another array with 
matching keys, that would be okay. But I cannot search an array right now, so 
as a database for finding information, it's not all that great. Oh sure, I can 
write repeat loops to go through every single key to find the ones I need, but 
I would have to write the logic for all that. Ick! Why not just use a memory 
based database, or even an sqLite database? I just do not see the point to 
using arrays as a database when there are single and multiuser solutions all 
over the place.

Bob S


On May 20, 2016, at 10:35 , Mark Talluto 
> wrote:

Using arrays to make your own key/value type database is very doable. The 
performance is probably indistinguishable with other databases for many types 
of apps. You can store data to disk easily with arrayEncode(); LSON as Richard 
has coined it.

The beauty of existing databases can not be ignored though. They do much more 
than store/retrieve data. Queries are one of the things that make databases so 
powerful.

Choosing the right path really depends on your needs. From my experience, 
LiveCode arrays make a fine database model for a wide range of applications. 
The best part is they are using a syntax you already know.

If you are interested in seeing a  proof of concept you may want to try 
LiveCloud. It might give you some ideas on where to go if plan to make your own 
database. You are definitely embarking on a fun experience. I would suggest you 
explore it further.

Best regards,

Mark Talluto

___
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/listinfo/use-livecode


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

2016-05-20 Thread RM

Thanks to suggestions by Peter Bogdanoff much better indeed.

R.

On 20.05.2016 22:14, RM wrote:

Keeps on getting better.

I am now at the stage where I would be grateful for anyone who wishes 
to deploy a vaguely "Hypercardy" simplified UI
for Livecode 8.0 to try the thing out and give me feedback. Anyone who 
wishes is, of course, welcome to muck around with

the stack and improve things - just upload your improved version.

Richmond.

On 20.05.2016 18:18, RM wrote:
"Open" button now works, "Import Image" button added [and it works!], 
"Save" button still proving a problem.


R.

On 20.05.2016 10:22, RM wrote:

Just uploaded a revision that works a whole lot better!

On 19.05.2016 23:44, RM wrote:

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:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Storing and retrieving data from a SQL database

2016-05-20 Thread Mike Kerner
That's what I do when I have an indeterminate number of keys, or if I am
writing generic code that handles data from dissimilar tables in a similar
way.  Do what you want, but best practice (with good reason) seems to still
be to use parameterized queries except where you cannot.



On Fri, May 20, 2016 at 2:25 PM, Dr. Hawkins  wrote:

> On Wed, May 18, 2016 at 7:17 PM, Mike Kerner 
> wrote:
>
> > Why not just use parameterized queries?
>
>
> Is this practical when using a compound query (in a BEGIN/END with dozens
> to hundreds of commands)?
>
> It would seem that I would have to make an "interesting" loop to create a
> huge array, and and code the keys back into my statements . . .
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> 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/listinfo/use-livecode
>



-- 
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 hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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/listinfo/use-livecode


Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Mike Kerner
And I'm just guessing at things to try, so I don't even now if it's
relevant, since everything works for me.  The next thing to do is to
contact Monte, I suppose.

On Fri, May 20, 2016 at 3:15 PM, Mike Kerner 
wrote:

> Go into Keychain Access, then do a search for "mergGoogle".
>
> On Fri, May 20, 2016 at 2:42 PM, JOHN PATTEN  wrote:
>
>> Mike,
>>
>> I never remember ever getting a request for Keychain access from
>> LiveCode. I may have a long time ago, and just don’t remember though.
>>
>> Is there a way to check and see if LiveCode has access to the Keychain?
>> When I look in the KeyChain app I don’t see any references for LiveCode.
>>
>> Thanks!
>>
>> John Patten
>> SUSD
>>
>> > On May 20, 2016, at 11:06 AM, Mike Kerner 
>> wrote:
>> >
>> > I just tried 6.7.8 mac with merggoogle 1.0.12 test stack, and it works
>> > fine.  if I go up to 7.1.4 Stable or 8.0.1 rc1 I get the answer dialogs
>> of
>> > death.
>> >
>> > Next question:  Did you ever ban LC from getting access to your
>> keychain?
>> > At some time, you probably got a dialog asking for access to it.
>> >
>> > On Fri, May 20, 2016 at 1:56 PM, JOHN PATTEN > > wrote:
>> >
>> >> Hi All,
>> >>
>> >> I have tried the demo stack in multiple versions of Livecode, including
>> >> 6.7.8, and I get the same result. An answer dialog appears when the
>> stack
>> >> launches: https://flic.kr/p/Hkzs88  <
>> https://flic.kr/p/Hkzs88 >
>> >>
>> >> I even copied the mergGoogle.lcext extension into the Extensions folder
>> >> identified in the Preferences.
>> >>
>> >> There must be something else that is not quite right now with published
>> >> extension, or a change at Google. However, that doesn’t explain why
>> Mike’s
>> >> is still working.
>> >>
>> >> Thank you!
>> >>
>> >> John Patten
>> >> SUSD
>> >>
>> >>
>> >>
>> >>
>> >>> On May 20, 2016, at 10:44 AM, Mike Kerner 
>> >> wrote:
>> >>>
>> >>> OK, so try it with 6.8.10.  I just ran the latest version with 6.7.2,
>> >>> though.  My every-day instance runs in 6.7.8
>> >>>
>> >>> On Fri, May 20, 2016 at 12:48 PM, Roger Eller <
>> >> roger.e.el...@sealedair.com>
>> >>> wrote:
>> >>>
>>  Monte said a few emails back that 6.8.10 is the oldest version that
>> >> works
>>  with the external.
>> 
>>  ~Roger
>> 
>>  On Fri, May 20, 2016 at 12:23 PM, Mike Kerner <
>> >> mikeker...@roadrunner.com>
>>  wrote:
>> 
>> > I just tried opening the sample in 8 and in 7 and it fails in both.
>> >> Try
>> > 6.  I did 6.7.8 and 6.7.2.  mergGoogle might require a recompile.
>>  ___
>>  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/listinfo/use-livecode
>> 
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> 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 hold for a few hours,
>> >>>  and did a little diving.
>> >>> And God said, "This is good."
>> >>> ___
>> >>> 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/listinfo/use-livecode
>> >>
>> >> ___
>> >> 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/listinfo/use-livecode <
>> http://lists.runrev.com/mailman/listinfo/use-livecode>
>> >>
>> >
>> >
>> >
>> > --
>> > 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 hold for a few hours,
>> >   and did a little diving.
>> > And God said, "This is good."
>> > ___
>> > 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/listinfo/use-livecode <
>> http://lists.runrev.com/mailman/listinfo/use-livecode>
>> ___
>> 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/listinfo/use-livecode
>>
>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the 

Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Mike Kerner
Go into Keychain Access, then do a search for "mergGoogle".

On Fri, May 20, 2016 at 2:42 PM, JOHN PATTEN  wrote:

> Mike,
>
> I never remember ever getting a request for Keychain access from LiveCode.
> I may have a long time ago, and just don’t remember though.
>
> Is there a way to check and see if LiveCode has access to the Keychain?
> When I look in the KeyChain app I don’t see any references for LiveCode.
>
> Thanks!
>
> John Patten
> SUSD
>
> > On May 20, 2016, at 11:06 AM, Mike Kerner 
> wrote:
> >
> > I just tried 6.7.8 mac with merggoogle 1.0.12 test stack, and it works
> > fine.  if I go up to 7.1.4 Stable or 8.0.1 rc1 I get the answer dialogs
> of
> > death.
> >
> > Next question:  Did you ever ban LC from getting access to your keychain?
> > At some time, you probably got a dialog asking for access to it.
> >
> > On Fri, May 20, 2016 at 1:56 PM, JOHN PATTEN > wrote:
> >
> >> Hi All,
> >>
> >> I have tried the demo stack in multiple versions of Livecode, including
> >> 6.7.8, and I get the same result. An answer dialog appears when the
> stack
> >> launches: https://flic.kr/p/Hkzs88  <
> https://flic.kr/p/Hkzs88 >
> >>
> >> I even copied the mergGoogle.lcext extension into the Extensions folder
> >> identified in the Preferences.
> >>
> >> There must be something else that is not quite right now with published
> >> extension, or a change at Google. However, that doesn’t explain why
> Mike’s
> >> is still working.
> >>
> >> Thank you!
> >>
> >> John Patten
> >> SUSD
> >>
> >>
> >>
> >>
> >>> On May 20, 2016, at 10:44 AM, Mike Kerner 
> >> wrote:
> >>>
> >>> OK, so try it with 6.8.10.  I just ran the latest version with 6.7.2,
> >>> though.  My every-day instance runs in 6.7.8
> >>>
> >>> On Fri, May 20, 2016 at 12:48 PM, Roger Eller <
> >> roger.e.el...@sealedair.com>
> >>> wrote:
> >>>
>  Monte said a few emails back that 6.8.10 is the oldest version that
> >> works
>  with the external.
> 
>  ~Roger
> 
>  On Fri, May 20, 2016 at 12:23 PM, Mike Kerner <
> >> mikeker...@roadrunner.com>
>  wrote:
> 
> > I just tried opening the sample in 8 and in 7 and it fails in both.
> >> Try
> > 6.  I did 6.7.8 and 6.7.2.  mergGoogle might require a recompile.
>  ___
>  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/listinfo/use-livecode
> 
> >>>
> >>>
> >>>
> >>> --
> >>> 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 hold for a few hours,
> >>>  and did a little diving.
> >>> And God said, "This is good."
> >>> ___
> >>> 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/listinfo/use-livecode
> >>
> >> ___
> >> 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/listinfo/use-livecode <
> http://lists.runrev.com/mailman/listinfo/use-livecode>
> >>
> >
> >
> >
> > --
> > 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 hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > ___
> > 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/listinfo/use-livecode <
> http://lists.runrev.com/mailman/listinfo/use-livecode>
> ___
> 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/listinfo/use-livecode
>



-- 
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 hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:

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

2016-05-20 Thread RM

Keeps on getting better.

I am now at the stage where I would be grateful for anyone who wishes to 
deploy a vaguely "Hypercardy" simplified UI
for Livecode 8.0 to try the thing out and give me feedback. Anyone who 
wishes is, of course, welcome to muck around with

the stack and improve things - just upload your improved version.

Richmond.

On 20.05.2016 18:18, RM wrote:
"Open" button now works, "Import Image" button added [and it works!], 
"Save" button still proving a problem.


R.

On 20.05.2016 10:22, RM wrote:

Just uploaded a revision that works a whole lot better!

On 19.05.2016 23:44, RM wrote:

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:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread JOHN PATTEN
Mike,

I never remember ever getting a request for Keychain access from LiveCode. I 
may have a long time ago, and just don’t remember though.  

Is there a way to check and see if LiveCode has access to the Keychain? When I 
look in the KeyChain app I don’t see any references for LiveCode.

Thanks!

John Patten
SUSD

> On May 20, 2016, at 11:06 AM, Mike Kerner  wrote:
> 
> I just tried 6.7.8 mac with merggoogle 1.0.12 test stack, and it works
> fine.  if I go up to 7.1.4 Stable or 8.0.1 rc1 I get the answer dialogs of
> death.
> 
> Next question:  Did you ever ban LC from getting access to your keychain?
> At some time, you probably got a dialog asking for access to it.
> 
> On Fri, May 20, 2016 at 1:56 PM, JOHN PATTEN  > wrote:
> 
>> Hi All,
>> 
>> I have tried the demo stack in multiple versions of Livecode, including
>> 6.7.8, and I get the same result. An answer dialog appears when the stack
>> launches: https://flic.kr/p/Hkzs88  
>> >
>> 
>> I even copied the mergGoogle.lcext extension into the Extensions folder
>> identified in the Preferences.
>> 
>> There must be something else that is not quite right now with published
>> extension, or a change at Google. However, that doesn’t explain why Mike’s
>> is still working.
>> 
>> Thank you!
>> 
>> John Patten
>> SUSD
>> 
>> 
>> 
>> 
>>> On May 20, 2016, at 10:44 AM, Mike Kerner 
>> wrote:
>>> 
>>> OK, so try it with 6.8.10.  I just ran the latest version with 6.7.2,
>>> though.  My every-day instance runs in 6.7.8
>>> 
>>> On Fri, May 20, 2016 at 12:48 PM, Roger Eller <
>> roger.e.el...@sealedair.com>
>>> wrote:
>>> 
 Monte said a few emails back that 6.8.10 is the oldest version that
>> works
 with the external.
 
 ~Roger
 
 On Fri, May 20, 2016 at 12:23 PM, Mike Kerner <
>> mikeker...@roadrunner.com>
 wrote:
 
> I just tried opening the sample in 8 and in 7 and it fails in both.
>> Try
> 6.  I did 6.7.8 and 6.7.2.  mergGoogle might require a recompile.
 ___
 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/listinfo/use-livecode
 
>>> 
>>> 
>>> 
>>> --
>>> 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 hold for a few hours,
>>>  and did a little diving.
>>> And God said, "This is good."
>>> ___
>>> 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/listinfo/use-livecode
>> 
>> ___
>> 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/listinfo/use-livecode 
>> 
>> 
> 
> 
> 
> -- 
> 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 hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> 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/listinfo/use-livecode 
> 
___
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/listinfo/use-livecode

Re: Stupid Q number 1000

2016-05-20 Thread RM

That WAS a bit goofy of me. Thanks.

Richmond.

On 20.05.2016 18:23, Klaus major-k wrote:

Hi Richmond,


Am 20.05.2016 um 17:17 schrieb RM :

I wonder why this script doesn't work in LC 8.0.1:

on mouseUp
   ask file "Choose where you wish to save your stack"
  if the result = "cancel"
  then exit mouseUp
  else
 save stack "New Stack"
 end if
end mouseUp

for the same reason this will not work in earlier version:
It is missing the „point"! :-D

This works, spot the difference:
on mouseUp
   ask file "Choose where you wish to save your stack"
   if the result = "cancel" then
 exit mouseUp
   else
 set the filename of stack "New Stack" to it
 save stack "New Stack"
  end if
end mouseUp


Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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/listinfo/use-livecode



___
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/listinfo/use-livecode

Re: Storing and retrieving data from a SQL database

2016-05-20 Thread Dr. Hawkins
On Wed, May 18, 2016 at 7:17 PM, Mike Kerner 
wrote:

> Why not just use parameterized queries?


Is this practical when using a compound query (in a BEGIN/END with dozens
to hundreds of commands)?

It would seem that I would have to make an "interesting" loop to create a
huge array, and and code the keys back into my statements . . .


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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/listinfo/use-livecode


Re: Arrays vs databases

2016-05-20 Thread Dr. Hawkins
On Fri, May 20, 2016 at 10:35 AM, Mark Talluto 
wrote:

> Using arrays to make your own key/value type database is very doable. The
> performance is probably indistinguishable with other databases for many
> types of apps. You can store data to disk easily with arrayEncode(); LSON
> as Richard has coined it.
>

I did this, and accessed by function calls.

And then I adjusted the function to allow it to be either an array or a
:memory: SQLite.

And then I found that the database worked far better for me.  Particularly,
the ability to SELECT WHERE works very well for what I'm doing.  I would
have had to reinvent this with a way to loop through my array in live code
(quite doable, yes) which is already there with the database.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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/listinfo/use-livecode


Re: Trevor DeVore interviews CTO and CEO

2016-05-20 Thread Roland Huettmann
Anyone interested in skiing the Swiss alpes next winter season - just
contact me off-list ).

Just raised my pledge to $500.
On May 20, 2016 11:41 AM, "Dave Kilroy"  wrote:

> Roland I really liked your words!
>
> The best skiing is when you are a bit scared - the best goals are the scary
> goals
>
> LiveCode workers I take my hat off to you all
>
> PS: wanna go skiing?
>
>
>
> -
> "The first 90% of the task takes 90% of the time, and the last 10% takes
> the other 90% of the time."
> Peter M. Brigham
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Trevor-DeVore-interviews-CTO-and-CEO-tp4704862p4704929.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
> 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/listinfo/use-livecode
>
___
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/listinfo/use-livecode


Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Mike Kerner
I just tried 6.7.8 mac with merggoogle 1.0.12 test stack, and it works
fine.  if I go up to 7.1.4 Stable or 8.0.1 rc1 I get the answer dialogs of
death.

Next question:  Did you ever ban LC from getting access to your keychain?
At some time, you probably got a dialog asking for access to it.

On Fri, May 20, 2016 at 1:56 PM, JOHN PATTEN  wrote:

> Hi All,
>
> I have tried the demo stack in multiple versions of Livecode, including
> 6.7.8, and I get the same result. An answer dialog appears when the stack
> launches: https://flic.kr/p/Hkzs88 
>
> I even copied the mergGoogle.lcext extension into the Extensions folder
> identified in the Preferences.
>
> There must be something else that is not quite right now with published
> extension, or a change at Google. However, that doesn’t explain why Mike’s
> is still working.
>
> Thank you!
>
> John Patten
> SUSD
>
>
>
>
> > On May 20, 2016, at 10:44 AM, Mike Kerner 
> wrote:
> >
> > OK, so try it with 6.8.10.  I just ran the latest version with 6.7.2,
> > though.  My every-day instance runs in 6.7.8
> >
> > On Fri, May 20, 2016 at 12:48 PM, Roger Eller <
> roger.e.el...@sealedair.com>
> > wrote:
> >
> >> Monte said a few emails back that 6.8.10 is the oldest version that
> works
> >> with the external.
> >>
> >> ~Roger
> >>
> >> On Fri, May 20, 2016 at 12:23 PM, Mike Kerner <
> mikeker...@roadrunner.com>
> >> wrote:
> >>
> >>> I just tried opening the sample in 8 and in 7 and it fails in both.
> Try
> >>> 6.  I did 6.7.8 and 6.7.2.  mergGoogle might require a recompile.
> >> ___
> >> 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/listinfo/use-livecode
> >>
> >
> >
> >
> > --
> > 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 hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > ___
> > 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/listinfo/use-livecode
>
> ___
> 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/listinfo/use-livecode
>



-- 
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 hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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/listinfo/use-livecode

Re: AW: Don't understand unicode handling

2016-05-20 Thread J. Landman Gay

On 5/20/2016 12:53 PM, Tiemo Hollmann TB wrote:

Bonsoir Thierry,

thank you for the helpful link, with your help, I found the right
conversion, though I don't understand what is going on :)
For my issue the solution was not to use uniEncode() when importing the file
into LC, but just putting the file into a field.
But using uniDecode() when exporting it from LC.

I think my problem is that you don't see what type of coding a file has. If
you have to handle with unknown data, you just have to try the different
combinations of encode/decode/do nothing with the data, because a file has
no label "I am UTF-8".


In LC 7 and above, the old unicode syntax is deprecated and the new 
encoding syntax is easier to use. Whenever you import or export text you 
need to translate it using the new textEncode and textDecode functions.


To bring unicode text into LC:

  get textDecode(,"UTF8")

and to export it:

  put textEncode(tText,"UTF8") into file 

If you are not sure what the unicode encoding is, it is almost always 
safe to assume UTF-8. The dictionary has examples.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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/listinfo/use-livecode


Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread JOHN PATTEN
Hi All, 

I have tried the demo stack in multiple versions of Livecode, including 6.7.8, 
and I get the same result. An answer dialog appears when the stack launches: 
https://flic.kr/p/Hkzs88 

I even copied the mergGoogle.lcext extension into the Extensions folder 
identified in the Preferences.

There must be something else that is not quite right now with published 
extension, or a change at Google. However, that doesn’t explain why Mike’s is 
still working. 

Thank you!

John Patten
SUSD




> On May 20, 2016, at 10:44 AM, Mike Kerner  wrote:
> 
> OK, so try it with 6.8.10.  I just ran the latest version with 6.7.2,
> though.  My every-day instance runs in 6.7.8
> 
> On Fri, May 20, 2016 at 12:48 PM, Roger Eller 
> wrote:
> 
>> Monte said a few emails back that 6.8.10 is the oldest version that works
>> with the external.
>> 
>> ~Roger
>> 
>> On Fri, May 20, 2016 at 12:23 PM, Mike Kerner 
>> wrote:
>> 
>>> I just tried opening the sample in 8 and in 7 and it fails in both.  Try
>>> 6.  I did 6.7.8 and 6.7.2.  mergGoogle might require a recompile.
>> ___
>> 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/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> 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 hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> 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/listinfo/use-livecode

___
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/listinfo/use-livecode

AW: Don't understand unicode handling

2016-05-20 Thread Tiemo Hollmann TB
Bonsoir Thierry,

thank you for the helpful link, with your help, I found the right
conversion, though I don't understand what is going on :)
For my issue the solution was not to use uniEncode() when importing the file
into LC, but just putting the file into a field.
But using uniDecode() when exporting it from LC.

I think my problem is that you don't see what type of coding a file has. If
you have to handle with unknown data, you just have to try the different
combinations of encode/decode/do nothing with the data, because a file has
no label "I am UTF-8".

Thanks
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Thierry Douez
Gesendet: Freitag, 20. Mai 2016 19:07
An: How to use LiveCode 
Betreff: Re: Don't understand unicode handling

Hallo Tiemo,


from: http://lessons.livecode.com/m/4071/l/12304-how-do-i-use-unicode-in-rev


To import text from a UTF-8 file and display it in our stack we just need to
read it in, uniEncode() it and then display it as we learnt earlier.

*put* url ("file:greek.txt") into tUnicodeText

*set* the unicodeText of field 1 to uniEncode(tUnicodeText,"UTF8")

If we want to export text from our stack we simply go in the other direction

*put* uniDecode(the unicodeText of field 1,"UTF8") into tUTF8Text

*put* tUTF8Text into url("file:greek2.txt")



Guess it's what you need


Regards,

Thierry


Thierry Douez - http://sunny-tdz.com
___
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/listinfo/use-livecode


___
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/listinfo/use-livecode


Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Mike Kerner
OK, so try it with 6.8.10.  I just ran the latest version with 6.7.2,
though.  My every-day instance runs in 6.7.8

On Fri, May 20, 2016 at 12:48 PM, Roger Eller 
wrote:

> Monte said a few emails back that 6.8.10 is the oldest version that works
> with the external.
>
> ~Roger
>
> On Fri, May 20, 2016 at 12:23 PM, Mike Kerner 
> wrote:
>
> > I just tried opening the sample in 8 and in 7 and it fails in both.  Try
> > 6.  I did 6.7.8 and 6.7.2.  mergGoogle might require a recompile.
> ___
> 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/listinfo/use-livecode
>



-- 
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 hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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/listinfo/use-livecode


Re: Arrays vs databases

2016-05-20 Thread Mark Talluto

> On May 20, 2016, at 12:53 AM, Matt Maier  wrote:
> 
> I already know how to use Livecode and I think I can do everything I need
> using arrays.
> 
> According to this lesson, I can store an array as a custom property of a
> stack which can be saved and loaded.
> http://lessons.livecode.com/m/4071/l/17375-how-do-i-save-custom-properties-in-a-standalone-application
> 
> Something I've done myself already is to either save the array as JSON in a
> text file or just as a binary with encode.
> 
> So, in the most naive sense, it looks like I can have a key-value store
> without installing and learning anything new. But databases have extra
> functionality to deal with stuff like multiple simultaneous users, data
> integrity, and performance optimization.
> 
> Can I just setup an instance of Livecode to act like an in-memory,
> key-value database? Maybe have a standalone stack act as the controller and
> have it mirror it's state in a separate stack that can be saved and loaded.
> 
> I don't know enough about database design to frame the tradeoffs. Can
> someone who groks both Livecode and databases comment on this idea?


Using arrays to make your own key/value type database is very doable. The 
performance is probably indistinguishable with other databases for many types 
of apps. You can store data to disk easily with arrayEncode(); LSON as Richard 
has coined it. 

The beauty of existing databases can not be ignored though. They do much more 
than store/retrieve data. Queries are one of the things that make databases so 
powerful. 

Choosing the right path really depends on your needs. From my experience, 
LiveCode arrays make a fine database model for a wide range of applications. 
The best part is they are using a syntax you already know. 

If you are interested in seeing a  proof of concept you may want to try 
LiveCloud. It might give you some ideas on where to go if plan to make your own 
database. You are definitely embarking on a fun experience. I would suggest you 
explore it further.

Best regards,

Mark Talluto
livecloud.io 
canelasoftware.com 



___
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/listinfo/use-livecode


Problems with Xcode

2016-05-20 Thread martin meili
Hi there
I hope somebody of you pros can help me:

What is wrong here?

When trying putting together my app for my iphone 4 by the help of „Save as 
Standalone application……“ there’s popping up the message: „linking for arm 
(arm7) failed with xcrun: error: active developer  path 
(„Applications/Xcode2.app/Contents/Developer“) does not exist, use xcode-select 
to change“.
If I look at the package contents of Xcode so I can find this missing folder 
„Developer“; but inside there, there must be missing something ………

iMac 3.06 Ghz
OSX 10.9.5
Xcode 6.2

LiveCode 7.1.3
Settings „Mobile Support": green square / Available device SDKs: 8.2 / 
Available simulators 8.2



My little game-app is running without any problems in the iOS 8.2. Simulator, 
but when creating the standalone ……

Martin

___
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/listinfo/use-livecode


Re: Don't understand unicode handling

2016-05-20 Thread Thierry Douez
Hallo Tiemo,


from: http://lessons.livecode.com/m/4071/l/12304-how-do-i-use-unicode-in-rev


To import text from a UTF-8 file and display it in our stack we just need
to read it in, uniEncode() it and then display it as we learnt earlier.

*put* url ("file:greek.txt") into tUnicodeText

*set* the unicodeText of field 1 to uniEncode(tUnicodeText,"UTF8")

If we want to export text from our stack we simply go in the other direction

*put* uniDecode(the unicodeText of field 1,"UTF8") into tUTF8Text

*put* tUTF8Text into url("file:greek2.txt")



Guess it's what you need


Regards,

Thierry


Thierry Douez - http://sunny-tdz.com
___
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/listinfo/use-livecode


Don't understand unicode handling

2016-05-20 Thread Tiemo Hollmann TB
Hello,

I have a file exported from an older genealogy program A, which I want to
import into another genealogy program B. Program B is pretty new and modern
and is supposed to support Unicode.

When directly importing that exchange file, all special chars get corrupted
in program B.

When reading the export file into a field of a LC 8.0 program and writing
the field with LC via: put fld "Out" into URL "file:myFile"

and importing that LC file into program B the special chars are still
corrupted.

My thinking was, that in the moment, you get data into a field in LC 8.0, LC
converts it automatically into Unicode and so it would be also Unicode, when
writing this field into a file.

 

I am also using UltraEdit as an editor. Opening the exported file I can
convert the data "from ASCII to UTF-8 (Unicode editing)". If I do that with
the exported file, all special chars are fine, when importing the file into
program B

 

Do I still have to convert data with LC 8? Where am I thinking wrong?

Thanks for a push into the right direction

Tiemo

 

 

 

 

 

___
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/listinfo/use-livecode


Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Roger Eller
Monte said a few emails back that 6.8.10 is the oldest version that works
with the external.

~Roger

On Fri, May 20, 2016 at 12:23 PM, Mike Kerner 
wrote:

> I just tried opening the sample in 8 and in 7 and it fails in both.  Try
> 6.  I did 6.7.8 and 6.7.2.  mergGoogle might require a recompile.
___
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/listinfo/use-livecode


Re: 2 Days: Time to Stretch for SQLite Goal

2016-05-20 Thread Peter Bogdanoff
Suggestion:

To help those who don’t know why this is a Good Thing… And for LC users who 
haven’t pledged yet.

Would someone briefly describe why this is, maybe in terms of: 
1. the need (that I might have where a database would help)
2. the problem (the difficulty of setting up/accessing/using it)
3. LC’s Easy SQLite library as the solution. (SQLite is good? This will really 
solve the problem?)

I myself know I’m going to need to use databases, but have no idea if and how 
much this going to help me. Would someone please inform me?

Peter Bogdanoff


>> Next Target: Easy SQLite for $7000
>> Way to go! We've made the baseline and FFI is yours. Next, we've got 2 days 
>> left to finish the job. For another $7000 we'll do a complete worked 
>> example, adding a brand new Builder library for SQLite and showing you every 
>> step of the way how its done. Webinars, tutorials, the lot. After all, 
>> however good a new feature is, its useless if you don't know how to use it! 
>> We'll show you. And you'll get a silk smooth way to use SQLite databases, in 
>> any app anywhere. Accessing your data will be as easy as:
>> 

___
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/listinfo/use-livecode


Re: Possible display/answer dialog bug

2016-05-20 Thread Bob Sneidar
Thanks Klaus! Worked a peach. So the upshot here is that "as sheet" will only 
work if the defaultStack is visible, otherwise it will act like a non-sheet 
style menu.

Bob S



try setting „the defaultstack“ to your „target“ stack, worked here in a quick 
test
with one button in a stack „untitled 1“:
on mouseup
put „For :-)“ into pMsg
set the defaultstack to "t1"
answer warning pMsg as sheet
end mouseup

And the sheet appeared in the (not in front) stack „t1“!

Bob S

Best

Klaus

___
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/listinfo/use-livecode

And while I'm at it...

2016-05-20 Thread Bob Sneidar
Here is another thing I cannot seem to do. When I open a substack, I hide the 
mainstack. I would like to show the mainstack by intercepting some message that 
gets sent to it when I close the substack, without having to script each and 
every substack to do it explicitly. But nothing works. resumeStack does not 
seem to be sent to a hidden stack, even when it is the only stack open in the 
IDE besides the IDE stacks. focusIn never gets sent either. 

Is there a message that gets sent to a hidden stack when it is the only stack 
open? Apparently hidden stacks do not become the topStack until shown. 

Bob S



___
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/listinfo/use-livecode


Re: Possible display/answer dialog bug

2016-05-20 Thread Klaus major-k
Hi Bob,

> Am 20.05.2016 um 17:58 schrieb Bob Sneidar :
> 
> Sorry for the verbosity of this post. 
> 
> Okay here is a possible menu display bug that only will affect OS X. I have a 
> main stack and a number of substacks I call "Modules." Each has it's own menu 
> which contains a button called "Modules" so no matter where I am I can open 
> any of the other modules. However, the code for navigating to these "Modules" 
> is in the Main Stack module menu button (so I only have one place to go to 
> modify the code). The other modules simply call the menuPick in the Main 
> Stack menu script, passing the menu parameter. 
> 
> Here's the problem. If the main stack is not visible, and I call answer with 
> "as sheet" from the main stack menu, I get the normal dialog, NOT a sheet 
> attached to the topStack. Apparently "as sheet" will only attach the dialog 
> to the stack of the script CALLING it, and NOT to the topStack, which to me 
> is a kind of anomaly. 
> 
> Now I thought I could get around this by using:
> send ("answer warning " & tMsg & " as sheet") to stack tTopStack
> 
> but what I get is a detached answer dialog where the message is "For" (do not 
> ask me where the hell THAT came from.) "For" does not occur anywhere in tMsg. 
> 
> I can work around this using this handler in each module's stack script:
> 
> on answerLocal pMode, pMsg
>   put "answer" && pMode && quote & pMsg& quote && "as sheet" into tCommand
>   do tCommand
> end answerLocal
> 
> then using:
> dispatch answerLocal to stack tTopStack with "Warning", tMsg
> 
> Still, I'm wondering if this is the intended behavior. Shouldn't "as sheet" 
> be directed to whatever stack is the topStack and not the calling stack? 

try setting „the defaultstack“ to your „target“ stack, worked here in a quick 
test 
with one button in a stack „untitled 1“:
on mouseup
put „For :-)“ into pMsg
 set the defaultstack to "t1"
 answer warning pMsg as sheet
end mouseup

And the sheet appeared in the (not in front) stack „t1“!

> Bob S

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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/listinfo/use-livecode

Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Mike Kerner
I just tried opening the sample in 8 and in 7 and it fails in both.  Try
6.  I did 6.7.8 and 6.7.2.  mergGoogle might require a recompile.

On Fri, May 20, 2016 at 12:20 PM, Mike Kerner 
wrote:

> ok, I see the dialog.  Just for the heck of it, try opening the stack in
> LC 6 or 7.
>
> On Fri, May 20, 2016 at 12:19 PM, Mike Kerner 
> wrote:
>
>> U what answer dialog?  The first time you open the stack, you should
>> see a separate window with a google login request.
>>
>> On Fri, May 20, 2016 at 11:53 AM, JOHN PATTEN  wrote:
>>
>>> Hi Mike,
>>>
>>> Oh, Should mention there is no “login” request either. It just shows the
>>> “answer” dialogue when the demo app is launched.
>>>
>>> Thank you!
>>>
>>>
>>> > On May 20, 2016, at 8:49 AM, JOHN PATTEN  wrote:
>>> >
>>> > When I launch the example mergGoogle stack this is what it does:
>>> >
>>> > https://flic.kr/p/Hkzs88 
>>> >
>>> > Thanks!
>>> >
>>> >
>>> >> On May 20, 2016, at 8:39 AM, Mike Kerner 
>>> wrote:
>>> >>
>>> >> Let's back you up.  When you open the test stack and log in, what
>>> happens?
>>> >>
>>> >> On Fri, May 20, 2016 at 10:58 AM, JOHN PATTEN 
>>> wrote:
>>> >>
>>> >>> Hi All,
>>> >>>
>>> >>> I’m still not getting this to work. I thought maybe it was because I
>>> was
>>> >>> trying to talk to Google through our Google Apps For Education
>>> (Enterprise)
>>> >>> edition at school.  I tried with my regular Google Account at home,
>>> but got
>>> >>> the same results. The stack answers with:
>>> >>> 219,25,11,mergGoogleAuth465,25,11.
>>> >>>
>>> >>> Just for clarification on the Google Console components screen, I am
>>> >>> logging into the Google API site and creating new Credentials of
>>> type Web
>>> >>> Application. Do I have to enable a specific API? I see all the
>>> Google Apps
>>> >>> APIs, but nothing specifically for Google Sheets.
>>> >>>
>>> >>> Also, I am putting the “client secret” in quotes like the rest of the
>>> >>> mergeGoogleAuth script.
>>> >>>
>>> >>> And, I am using LiveCode 8.0, Build 13018 on a Mac running OS X
>>> 10.11.3.
>>> >>>
>>> >>> Thank you!
>>> >>>
>>> >>> John Patten
>>> >>> SUSD
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>>  On May 19, 2016, at 4:22 PM, Monte Goulding 
>>> wrote:
>>> 
>>> 
>>> > 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
>>>  ___
>>>  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/listinfo/use-livecode
>>> >>>
>>> >>>
>>> >>> ___
>>> >>> 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/listinfo/use-livecode
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> 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 hold for a few hours,
>>> >>  and did a little diving.
>>> >> And God said, "This is good."
>>> >> ___
>>> >> 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/listinfo/use-livecode
>>> >
>>> > ___
>>> > 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/listinfo/use-livecode
>>>
>>>
>>> ___
>>> 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/listinfo/use-livecode
>>>
>>
>>
>>
>> --
>> 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 hold for a few hours,
>>and did a little diving.
>> And God said, "This is good."
>>
>
>
>
> --
> 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 hold for a few hours,
>and did a little diving.
> And God said, "This is 

Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Mike Kerner
ok, I see the dialog.  Just for the heck of it, try opening the stack in LC
6 or 7.

On Fri, May 20, 2016 at 12:19 PM, Mike Kerner 
wrote:

> U what answer dialog?  The first time you open the stack, you should
> see a separate window with a google login request.
>
> On Fri, May 20, 2016 at 11:53 AM, JOHN PATTEN  wrote:
>
>> Hi Mike,
>>
>> Oh, Should mention there is no “login” request either. It just shows the
>> “answer” dialogue when the demo app is launched.
>>
>> Thank you!
>>
>>
>> > On May 20, 2016, at 8:49 AM, JOHN PATTEN  wrote:
>> >
>> > When I launch the example mergGoogle stack this is what it does:
>> >
>> > https://flic.kr/p/Hkzs88 
>> >
>> > Thanks!
>> >
>> >
>> >> On May 20, 2016, at 8:39 AM, Mike Kerner 
>> wrote:
>> >>
>> >> Let's back you up.  When you open the test stack and log in, what
>> happens?
>> >>
>> >> On Fri, May 20, 2016 at 10:58 AM, JOHN PATTEN 
>> wrote:
>> >>
>> >>> Hi All,
>> >>>
>> >>> I’m still not getting this to work. I thought maybe it was because I
>> was
>> >>> trying to talk to Google through our Google Apps For Education
>> (Enterprise)
>> >>> edition at school.  I tried with my regular Google Account at home,
>> but got
>> >>> the same results. The stack answers with:
>> >>> 219,25,11,mergGoogleAuth465,25,11.
>> >>>
>> >>> Just for clarification on the Google Console components screen, I am
>> >>> logging into the Google API site and creating new Credentials of type
>> Web
>> >>> Application. Do I have to enable a specific API? I see all the Google
>> Apps
>> >>> APIs, but nothing specifically for Google Sheets.
>> >>>
>> >>> Also, I am putting the “client secret” in quotes like the rest of the
>> >>> mergeGoogleAuth script.
>> >>>
>> >>> And, I am using LiveCode 8.0, Build 13018 on a Mac running OS X
>> 10.11.3.
>> >>>
>> >>> Thank you!
>> >>>
>> >>> John Patten
>> >>> SUSD
>> >>>
>> >>>
>> >>>
>> >>>
>>  On May 19, 2016, at 4:22 PM, Monte Goulding 
>> wrote:
>> 
>> 
>> > 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
>>  ___
>>  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/listinfo/use-livecode
>> >>>
>> >>>
>> >>> ___
>> >>> 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/listinfo/use-livecode
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> 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 hold for a few hours,
>> >>  and did a little diving.
>> >> And God said, "This is good."
>> >> ___
>> >> 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/listinfo/use-livecode
>> >
>> > ___
>> > 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/listinfo/use-livecode
>>
>>
>> ___
>> 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/listinfo/use-livecode
>>
>
>
>
> --
> 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 hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>



-- 
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 hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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/listinfo/use-livecode

Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Mike Kerner
U what answer dialog?  The first time you open the stack, you should
see a separate window with a google login request.

On Fri, May 20, 2016 at 11:53 AM, JOHN PATTEN  wrote:

> Hi Mike,
>
> Oh, Should mention there is no “login” request either. It just shows the
> “answer” dialogue when the demo app is launched.
>
> Thank you!
>
>
> > On May 20, 2016, at 8:49 AM, JOHN PATTEN  wrote:
> >
> > When I launch the example mergGoogle stack this is what it does:
> >
> > https://flic.kr/p/Hkzs88 
> >
> > Thanks!
> >
> >
> >> On May 20, 2016, at 8:39 AM, Mike Kerner 
> wrote:
> >>
> >> Let's back you up.  When you open the test stack and log in, what
> happens?
> >>
> >> On Fri, May 20, 2016 at 10:58 AM, JOHN PATTEN 
> wrote:
> >>
> >>> Hi All,
> >>>
> >>> I’m still not getting this to work. I thought maybe it was because I
> was
> >>> trying to talk to Google through our Google Apps For Education
> (Enterprise)
> >>> edition at school.  I tried with my regular Google Account at home,
> but got
> >>> the same results. The stack answers with:
> >>> 219,25,11,mergGoogleAuth465,25,11.
> >>>
> >>> Just for clarification on the Google Console components screen, I am
> >>> logging into the Google API site and creating new Credentials of type
> Web
> >>> Application. Do I have to enable a specific API? I see all the Google
> Apps
> >>> APIs, but nothing specifically for Google Sheets.
> >>>
> >>> Also, I am putting the “client secret” in quotes like the rest of the
> >>> mergeGoogleAuth script.
> >>>
> >>> And, I am using LiveCode 8.0, Build 13018 on a Mac running OS X
> 10.11.3.
> >>>
> >>> Thank you!
> >>>
> >>> John Patten
> >>> SUSD
> >>>
> >>>
> >>>
> >>>
>  On May 19, 2016, at 4:22 PM, Monte Goulding 
> wrote:
> 
> 
> > 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
>  ___
>  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/listinfo/use-livecode
> >>>
> >>>
> >>> ___
> >>> 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/listinfo/use-livecode
> >>>
> >>
> >>
> >>
> >> --
> >> 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 hold for a few hours,
> >>  and did a little diving.
> >> And God said, "This is good."
> >> ___
> >> 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/listinfo/use-livecode
> >
> > ___
> > 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/listinfo/use-livecode
>
>
> ___
> 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/listinfo/use-livecode
>



-- 
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 hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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/listinfo/use-livecode

Re: Suddenly : linking for arm failed

2016-05-20 Thread Mike Kerner
I'm getting this same issue on and off, for no apparent reason.  If I
recompile, sometimes it works, and sometimes it does not.

On Mon, Mar 21, 2016 at 4:24 PM, Ludovic THEBAULT <
ludovic.theba...@laposte.net> wrote:

> Hello,
>
> This evening, i compile a standalone for the app store. It’s work.
> I realized i forgot a little script
> so i made my change on the stack and recompile.
> And i got this error message :
> Linkinng for arm(arm64) failed with id: warning: object file
> ([…]/device-9_2/standalone) was built for newer iOS version (9.2) than
> being linked (7.0)
> object file ([…]/revdb  was built for newer iOS version (9.2) than being
> linked (7.0)
> object file ([…]/revzip  was built for newer iOS version (9.2) than being
> linked (7.0)
> object file ([…]/dbsqlite  was built for newer iOS version (9.2) than
> being linked (7.0)
>
>
> I quit Livecode and reopen my stack and compile without problem…
>
> Strange, no ?
> ___
> 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/listinfo/use-livecode




-- 
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 hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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/listinfo/use-livecode

Possible display/answer dialog bug

2016-05-20 Thread Bob Sneidar
Sorry for the verbosity of this post. 

Okay here is a possible menu display bug that only will affect OS X. I have a 
main stack and a number of substacks I call "Modules." Each has it's own menu 
which contains a button called "Modules" so no matter where I am I can open any 
of the other modules. However, the code for navigating to these "Modules" is in 
the Main Stack module menu button (so I only have one place to go to modify the 
code). The other modules simply call the menuPick in the Main Stack menu 
script, passing the menu parameter. 

Here's the problem. If the main stack is not visible, and I call answer with 
"as sheet" from the main stack menu, I get the normal dialog, NOT a sheet 
attached to the topStack. Apparently "as sheet" will only attach the dialog to 
the stack of the script CALLING it, and NOT to the topStack, which to me is a 
kind of anomaly. 

Now I thought I could get around this by using:
send ("answer warning " & tMsg & " as sheet") to stack tTopStack

but what I get is a detached answer dialog where the message is "For" (do not 
ask me where the hell THAT came from.) "For" does not occur anywhere in tMsg. 

I can work around this using this handler in each module's stack script:

on answerLocal pMode, pMsg
   put "answer" && pMode && quote & pMsg& quote && "as sheet" into tCommand
   do tCommand
end answerLocal

then using:
dispatch answerLocal to stack tTopStack with "Warning", tMsg

Still, I'm wondering if this is the intended behavior. Shouldn't "as sheet" be 
directed to whatever stack is the topStack and not the calling stack? 

Bob S



___
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/listinfo/use-livecode


Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread JOHN PATTEN
Hi Mike,

Oh, Should mention there is no “login” request either. It just shows the 
“answer” dialogue when the demo app is launched.

Thank you!


> On May 20, 2016, at 8:49 AM, JOHN PATTEN  wrote:
> 
> When I launch the example mergGoogle stack this is what it does:
> 
> https://flic.kr/p/Hkzs88 
> 
> Thanks!
> 
> 
>> On May 20, 2016, at 8:39 AM, Mike Kerner  wrote:
>> 
>> Let's back you up.  When you open the test stack and log in, what happens?
>> 
>> On Fri, May 20, 2016 at 10:58 AM, JOHN PATTEN  wrote:
>> 
>>> Hi All,
>>> 
>>> I’m still not getting this to work. I thought maybe it was because I was
>>> trying to talk to Google through our Google Apps For Education (Enterprise)
>>> edition at school.  I tried with my regular Google Account at home, but got
>>> the same results. The stack answers with:
>>> 219,25,11,mergGoogleAuth465,25,11.
>>> 
>>> Just for clarification on the Google Console components screen, I am
>>> logging into the Google API site and creating new Credentials of type Web
>>> Application. Do I have to enable a specific API? I see all the Google Apps
>>> APIs, but nothing specifically for Google Sheets.
>>> 
>>> Also, I am putting the “client secret” in quotes like the rest of the
>>> mergeGoogleAuth script.
>>> 
>>> And, I am using LiveCode 8.0, Build 13018 on a Mac running OS X 10.11.3.
>>> 
>>> Thank you!
>>> 
>>> John Patten
>>> SUSD
>>> 
>>> 
>>> 
>>> 
 On May 19, 2016, at 4:22 PM, Monte Goulding  wrote:
 
 
> 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
 ___
 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/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> 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/listinfo/use-livecode
>>> 
>> 
>> 
>> 
>> -- 
>> 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 hold for a few hours,
>>  and did a little diving.
>> And God said, "This is good."
>> ___
>> 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/listinfo/use-livecode
> 
> ___
> 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/listinfo/use-livecode


___
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/listinfo/use-livecode

Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread JOHN PATTEN
When I launch the example mergGoogle stack this is what it does:

https://flic.kr/p/Hkzs88 

Thanks!


> On May 20, 2016, at 8:39 AM, Mike Kerner  wrote:
> 
> Let's back you up.  When you open the test stack and log in, what happens?
> 
> On Fri, May 20, 2016 at 10:58 AM, JOHN PATTEN  wrote:
> 
>> Hi All,
>> 
>> I’m still not getting this to work. I thought maybe it was because I was
>> trying to talk to Google through our Google Apps For Education (Enterprise)
>> edition at school.  I tried with my regular Google Account at home, but got
>> the same results. The stack answers with:
>> 219,25,11,mergGoogleAuth465,25,11.
>> 
>> Just for clarification on the Google Console components screen, I am
>> logging into the Google API site and creating new Credentials of type Web
>> Application. Do I have to enable a specific API? I see all the Google Apps
>> APIs, but nothing specifically for Google Sheets.
>> 
>> Also, I am putting the “client secret” in quotes like the rest of the
>> mergeGoogleAuth script.
>> 
>> And, I am using LiveCode 8.0, Build 13018 on a Mac running OS X 10.11.3.
>> 
>> Thank you!
>> 
>> John Patten
>> SUSD
>> 
>> 
>> 
>> 
>>> On May 19, 2016, at 4:22 PM, Monte Goulding  wrote:
>>> 
>>> 
 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
>>> ___
>>> 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/listinfo/use-livecode
>> 
>> 
>> ___
>> 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/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> 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 hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> 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/listinfo/use-livecode

___
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/listinfo/use-livecode

Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread Mike Kerner
Let's back you up.  When you open the test stack and log in, what happens?

On Fri, May 20, 2016 at 10:58 AM, JOHN PATTEN  wrote:

> Hi All,
>
> I’m still not getting this to work. I thought maybe it was because I was
> trying to talk to Google through our Google Apps For Education (Enterprise)
> edition at school.  I tried with my regular Google Account at home, but got
> the same results. The stack answers with:
> 219,25,11,mergGoogleAuth465,25,11.
>
> Just for clarification on the Google Console components screen, I am
> logging into the Google API site and creating new Credentials of type Web
> Application. Do I have to enable a specific API? I see all the Google Apps
> APIs, but nothing specifically for Google Sheets.
>
> Also, I am putting the “client secret” in quotes like the rest of the
> mergeGoogleAuth script.
>
> And, I am using LiveCode 8.0, Build 13018 on a Mac running OS X 10.11.3.
>
> Thank you!
>
> John Patten
> SUSD
>
>
>
>
> > On May 19, 2016, at 4:22 PM, Monte Goulding  wrote:
> >
> >
> >> 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
> > ___
> > 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/listinfo/use-livecode
>
>
> ___
> 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/listinfo/use-livecode
>



-- 
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 hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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/listinfo/use-livecode

Re: Stupid Q number 1000

2016-05-20 Thread Richard Gaskin

RM wrote:

> I wonder why this script doesn't work in LC 8.0.1:
>
> on mouseUp
> ask file "Choose where you wish to save your stack"
>if the result = "cancel"
>then exit mouseUp
>else
>   save stack "New Stack"
>   end if
> end mouseUp

In which version of LC does that work?

What's it supposed to do?  A path is obtained, but never used.

Maybe you want to set the stack's filename property?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
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/listinfo/use-livecode


Re: Palette command problem

2016-05-20 Thread Richard Gaskin

J. Landman Gay wrote:

> I think of the command form as a temporary override. The bug here
> seems to be that the command fails on Linux.

After Fraser's excellent work on the Linux engine, the palette command 
seems to be working well - most of the time.


I have found a very few odd edge cases where it doesn't.  The team can't 
yet reproduce my latest:



If any of you have had issues you can reproduce with palettes, if 
they're related to revTools please add your noted to that report, and if 
related to any other stack please file a new report and note the report 
ID number here.  Thanks!


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
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/listinfo/use-livecode


Re: Stupid Q number 1000

2016-05-20 Thread Klaus major-k
Hi Richmond,

> Am 20.05.2016 um 17:17 schrieb RM :
> 
> I wonder why this script doesn't work in LC 8.0.1:
> 
> on mouseUp
>   ask file "Choose where you wish to save your stack"
>  if the result = "cancel"
>  then exit mouseUp
>  else
> save stack "New Stack"
> end if
> end mouseUp

for the same reason this will not work in earlier version:
It is missing the „point"! :-D

This works, spot the difference:
on mouseUp
  ask file "Choose where you wish to save your stack"
  if the result = "cancel" then
exit mouseUp
  else
set the filename of stack "New Stack" to it
save stack "New Stack"
 end if
end mouseUp

> Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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/listinfo/use-livecode

Re: Stupid Q number 1000

2016-05-20 Thread Mike Bonner
save stack "New Stack" as it -- you ask where to save, then don't provide
the information.

Chances are it is a) saving where you don't expect, or  b) saving over
itself from the location it was opened, or c) can't save due to permissions
issues.

You might check the result/it after your save request.

On Fri, May 20, 2016 at 9:17 AM, RM  wrote:

> I wonder why this script doesn't work in LC 8.0.1:
>
> on mouseUp
>ask file "Choose where you wish to save your stack"
>   if the result = "cancel"
>   then exit mouseUp
>   else
>  save stack "New Stack"
>  end if
> end mouseUp
>
> Richmond.
>
> ___
> 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/listinfo/use-livecode
>
___
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/listinfo/use-livecode


Stupid Q number 1000

2016-05-20 Thread RM

I wonder why this script doesn't work in LC 8.0.1:

on mouseUp
   ask file "Choose where you wish to save your stack"
  if the result = "cancel"
  then exit mouseUp
  else
 save stack "New Stack"
 end if
end mouseUp

Richmond.

___
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/listinfo/use-livecode


Make a $500 Pledge to LiveCode Campaign and we will help you get your WP App in the store MUCH faster

2016-05-20 Thread Todd Fabacher
Several people have emailed me directly and asked if I can consult and help
them get their first project off the ground using the WP and LiveCode
libraries.

S,o I will make this offer, for the first 10 people who give $500 to the
Infinite Livecode campaign from now, I & Digital Pomegranate will give 5
hours of One-To-One help on getting WP setup properly,  using the code
library,  designing your App, OAuth 2.0, the business angle of how to
charge more for cloud enabled Apps and anything else you wish to talk
about. We spent over a year and have learned from all the pitfalls, so get
your App to market quicker and more stable.

Just make your $500 pledge now and shoot me an email. I usually charge $300
/ hour for App Architecture, so this is a great deal

Todd Fabacher &
Digital Pomegranate Team
___
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/listinfo/use-livecode


Re: Palette command problem

2016-05-20 Thread J. Landman Gay
Richard explained it pretty well.  I think of the command form as a 
temporary override. The bug here seems to be that the command fails on Linux.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



On May 20, 2016 3:06:37 AM Kay C Lan  wrote:


And as a further test - on OSX 10.9.5 LC 8.0.1 rc 1

New default stack
In message box:
palette stack "Untitled 1" -- works fine
put the style of stack "Untitled 1"
result: toplevel

Seems to be a bug.

___
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/listinfo/use-livecode




___
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/listinfo/use-livecode


Re: Arrays vs databases

2016-05-20 Thread Richard Gaskin

Matt Maier wrote:

> According to this lesson, I can store an array as a custom property
> of a stack which can be saved and loaded.
> 
http://lessons.livecode.com/m/4071/l/17375-how-do-i-save-custom-properties-in-a-standalone-application

>
> Something I've done myself already is to either save the array as
> JSON in a text file or just as a binary with encode.
>
> So, in the most naive sense, it looks like I can have a key-value
> store without installing and learning anything new. But databases
> have extra functionality to deal with stuff like multiple
> simultaneous users, data integrity, and performance optimization.
>
> Can I just setup an instance of Livecode to act like an in-memory,
> key-value database? Maybe have a standalone stack act as the
> controller and have it mirror it's state in a separate stack that
> can be saved and loaded.
>
> I don't know enough about database design to frame the tradeoffs. Can
> someone who groks both Livecode and databases comment on this idea?

I think you're on a very useful path.

TL/DR version:

LiveCode's encoded arrays are a good fit for many key-value storage needs.


Typically windy version:

RDBMSes are great when you have data too large to fit into RAM, or when 
the nature of the data or its workflow lends itself to being expressed 
through normalized relationality.


But for simple key-value stores they can be overkill.  Simple arrays 
work very well for those, but we need some form of persistence.


JSON is usually the go-to solution for serializing arrays, and it's 
necessary to use either it or XML when transferring data between systems 
that know little about each other, since both are widely-used standards.


But when data will only be used within LiveCode we have much broader 
options.


I used to use stack files for data storage, but I've come to find them 
cumbersome for two reasons:


1. Purging them from memory requires careful thinking (we have no "purge 
stack" command, and "delete stack" is disconcerting to use because it 
can only safely be used on mainstacks, but using it on a substack will 
do what it says on the tin and delete the stack object from the stack file).


2. Given property sets and properties, array notation can only be used 
natively on object properties with two levels of depth.  It's possible 
to store entire arrays as property values, but those require that you 
first extract them into a variable, and if you're going to do that you 
might as well bypass the concerns of #1 by using:



My favorite key-value format is LSON, my pet name for encoded LiveCode 
arrays.


I call them LSON because everyone's familiar with JSON, some are 
familiar with MongoDB's BSON ("Binary JSON"), and LiveCode's encoded 
arrays are similar enough in structure and use case with BSON to merit a 
similar label.  I find when I use anything ending with "SON" 
conversations with clients become much easier; they grasp the concept 
and benefit immediately.


You can serialize an array with arrayEncode, and de-serialize it back 
into an array with arrayDecode.  Once serialized, it can be used like 
any other data, saved to disk or sent over a network.


JSON is popular because JavaScript is popular, and JSON was designed to 
be de-serialized with a single function call in the JS engine, eval.


But every language that isn't JavaScript has to go through the 
cumbersome process of parsing it, notoriously slow compared to the 
optimized handling provided by JavaScript's machine-code-compiled 
engine. JSON is a glove that perfectly fits the hand of the JavaScript 
engine, but any other engine needs to do quite a bit of work to emulate 
what the JS engine does so easily with it.


So when data is to be used within LiveCode, LSON is by far the better 
choice.  It's functionally equivalent to JSON not only terms of 
serializing hierarchical data, and also in terms of the performance and 
robustnesss of being able to rely on a single engine 
machine-code-compiled function to serialize and de-serialize it.  LSON 
is a glove that perfectly fits the hand of the LiveCode engine.



Extra bonus points:

Key-value stores needn't be limited by RAM.

Studying MongoDB, CouchDB, and other large-scale key-value stores can be 
quite inspiring.


Of course if your collection is really large or intended for use by many 
hundreds of concurrent users, you're probably better off just using 
MongoDB or CouchDB. Greg Miller has a nice CouchDB library for LiveCode 
on Github (background an detail in this forum thread:

).

But for workgroup solutions, in which the number of concurrent users may 
be only a few dozen and the collection size below several tens of 
thousands, it's possible to build reasonably performant client-server 
solutions using LSON as the storage format, even with the limitations of 
CGI.


And if you're running a VPS or dedicated server the scale can be much 
larger, since you're no longer bound by the 

Re: Using the MergGoogle with Google Sheets

2016-05-20 Thread JOHN PATTEN
Hi All,

I’m still not getting this to work. I thought maybe it was because I was trying 
to talk to Google through our Google Apps For Education (Enterprise) edition at 
school.  I tried with my regular Google Account at home, but got the same 
results. The stack answers with: 219,25,11,mergGoogleAuth465,25,11.

Just for clarification on the Google Console components screen, I am logging 
into the Google API site and creating new Credentials of type Web Application. 
Do I have to enable a specific API? I see all the Google Apps APIs, but nothing 
specifically for Google Sheets.

Also, I am putting the “client secret” in quotes like the rest of the 
mergeGoogleAuth script.

And, I am using LiveCode 8.0, Build 13018 on a Mac running OS X 10.11.3.

Thank you!

John Patten
SUSD




> On May 19, 2016, at 4:22 PM, Monte Goulding  wrote:
> 
> 
>> 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
> ___
> 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/listinfo/use-livecode


___
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/listinfo/use-livecode

Re: Palette command problem

2016-05-20 Thread RM

If I put 'palette "XYZ"' in the messageBOx I get a palette.

If I put 'palette "XYZ"' in a stack called "XYZ" insode, say, a mouseUp 
message, I DON'T get a palette.


Richmond.

On 20.05.2016 17:23, Richard Gaskin wrote:

Kay C Lan wrote:

> Here on OSX 10.9.5 LC 8.0.1 rc 1 if I open a 'topLevel' stack and in
> the message box:
>
>palette stack "guineapig"
>
> the stack is palettised. But if I put this in the message box:
>
>put the style of stack "guineapig"
>
> the result is: topLevel ??
>
> If I revert the stack back to topLevel and in the message box:
>
>set the style of stack "guineapig" to palette
>
> it works, and if I then:
>
> put the style of stack "guineapig"
>
> the result is: palette
>
> Something definitely not right. Anyone else seeing the command
>
>palette stack "yourNameHere"

This all seems fine, given the unique roles of style and mode.

The style property is persistent, saved with the stack.  It's toplevel 
by default, but can be changed to modeless, modal, or palette.  When a 
stack is opened without specifying a mode name (as with "go" or 
"open") the stack will be opened in the mode determined by its style 
property.


At any time we can override the stack's style property by using a 
style name as a command, such as palette, modeless, etc. e.g.:


  palette "SomeStack"

Using a style name as a command will open the stack in the specified 
mode, but will not alter the persistent "style" property.  This is 
especially useful for things like palettes, so you can simply open 
them with "open" and when you want to work on them you can use the 
"toplevel" style name as a command:


  toplevel "SomeStack"

To determine the actual mode in use by a stack at any given time, use 
the stack's mode property.  This is determined at runtime and is 
read-only, an integer reflecting any of the various states a stack can 
be in.  Style names are not used here as the mode property covers a 
broader range of circumstances than a stack's style property, 
including a toplevel stack that has its cantModify set to true (2) as 
opposed to editable (1), or closed but still in memory (0).  Palettes 
will have a mode of 4.


It may be helpful to have mode listed among the See Also tokens in the 
Dictionary entry for the Style property.





___
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/listinfo/use-livecode


Re: Menu Checkmarks - how to do it??

2016-05-20 Thread Bob Sneidar
That's odd... when I set the Mark using the menu builder, the menu appears as 
!cDevelopment, but when I type the !c before the menu name it displays 
correctly! Wierd.

Bob S


On May 19, 2016, at 16:03 , Marty Knapp 
> wrote:

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

___
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/listinfo/use-livecode


Re: HTML5 LC Download Icon?

2016-05-20 Thread Bob Hall
For me to be able to even consider using LC HTML5 I need a couple basic 
commands to get and post URLs. What I want to do basically is RESTful things 
with a server app using LC HTML5 as the “front end”. No local access to client, 
just URL gets and posts. Without these basic capabilities, for me HTML5 is 
nothing I’m interested in. If I’m missing something I’d love to be educated on 
how to do this.

Would there be any interest in a community backed effort working with LC 
Services to prioritize HTML gets/posts for HTML5?  I know there will be a cost 
of many $1000s I’m sure. As I don’t have that, I wonder what the level of 
success would be of a Community based funding campaign to prioritize this 
capability with the Development team...

Also, earlier in the thread I saw a mention that Indy license includes the 
HTML5 capabilities without the “download button”. For me, I need to spend 
another $50/month to get this support in my Indy license. That’s the case 
correct?

Bob


> On May 15, 2016, at 2:07 PM, J. Landman Gay  wrote:
> 
> On 5/15/2016 9:18 AM, Rick Harrison wrote:
>> HTML5 still being in the early experimental stage which
>> also has no means of communicating with outside files
>> or databases kills any potential usefulness of it’s
>> abilities for me.
> 
> Isn't that a browser restriction to prevent malware from reading and writing 
> to the user's hard drive?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> 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/listinfo/use-livecode


___
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/listinfo/use-livecode

Line graph widget not working on Windows?

2016-05-20 Thread Ton Kuypers
I MUST be doing something wrong, but can’t figure out what I’m missing…

Created a small app with the line graph widget and 2 fields containing cvs data 
and saved it as a Windows and a Mac standalone.
When I set the graphdata of the widget to the first field, it shows the first 
graph, when using the second field, it shows another graph. On a Mac!

Doing the same thing on Windows, the graph is invisible, nothing, nada is 
visible…, no gridlines, no graph.

Anyone a suggestion, what am I missing?


Met vriendelijke groeten,
Warm Regards,



Ton Kuypers
+32 (0) 477 739 530

Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium
www.publishingtools4u.com





___
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/listinfo/use-livecode

Re: Palette command problem

2016-05-20 Thread Paul Dupuis
On 5/20/2016 4:08 AM, Kay C Lan wrote:
> If anyone else can confirm what Richmond is seeing or what I'm seeing
> I can raise a bug report.
>
 Same thing in LC8.0.0 under Windows 8.1

palette stack "Untitled 1" -- works fine
put the style of stack "Untitled 1"
result: toplevel

However, put the mode of stack "Untitled 1" returns the correct value
for a palette (i.e. 4)

___
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/listinfo/use-livecode


Re: A Personal Challenge

2016-05-20 Thread Mike Bonner
I feel like i'm in that  movie.. "Help me, help you..."  Pledge increased.
 https://youtu.be/l1B1_jQnlFk?t=1m14s

On Fri, May 20, 2016 at 1:33 AM, Kay C Lan  wrote:

> On Fri, May 20, 2016 at 6:29 AM, Mike Bonner  wrote:
>
> > Hey Heather (if you're watching this thread) If I pledge more, can I wait
> > till the first to pay up?
> >
> I know for a fact that if you contact her directly and explain your
> situation they can customise your pledge. Bend over backwards does not
> describe the willingness the LC Team have to help you help them.
>
> ___
> 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/listinfo/use-livecode
>
___
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/listinfo/use-livecode


filling identification form in browser widget

2016-05-20 Thread BRAMI serge
hello
what is the best way to fill identification form (username and password) with  
the widget browser ?
this to access to a secure server (HTTPS)

using  "https://user: password @www.tserver » doesn’t work
thanks for help
___
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/listinfo/use-livecode

Re: Trevor DeVore interviews CTO and CEO

2016-05-20 Thread Dave Kilroy
Roland I really liked your words!

The best skiing is when you are a bit scared - the best goals are the scary
goals

LiveCode workers I take my hat off to you all

PS: wanna go skiing?



-
"The first 90% of the task takes 90% of the time, and the last 10% takes the 
other 90% of the time."
Peter M. Brigham 
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Trevor-DeVore-interviews-CTO-and-CEO-tp4704862p4704929.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Re: Suspense

2016-05-20 Thread Peter TB Brett



On 20/05/2016 09:53, Dave Kilroy wrote:

just doubled my pledge to get us over $40k...


Thank you Dave!

You'll be pleased to hear that we already know how we will deliver the 
first parts of this project in a build by the middle of June.


 Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

___
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/listinfo/use-livecode


Re: Suspense

2016-05-20 Thread Dave Kilroy
just doubled my pledge to get us over $40k...



-
"The first 90% of the task takes 90% of the time, and the last 10% takes the 
other 90% of the time."
Peter M. Brigham 
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Suspense-tp4704926p4704927.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Suspense

2016-05-20 Thread Heather Laine
Guys, I'm sitting here hitting refresh compulsively on the pledge page. Are we 
there yet... We are so close to 40k. Who is going to push us over? If 4 more 
people pledge $110.50 each, we are there!

Who will be the 226th pledger?

Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com




___
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/listinfo/use-livecode


Re: Palette command problem

2016-05-20 Thread Kay C Lan
If anyone else can confirm what Richmond is seeing or what I'm seeing
I can raise a bug report.

___
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/listinfo/use-livecode


Re: Palette command problem

2016-05-20 Thread Kay C Lan
And as a further test - on OSX 10.9.5 LC 8.0.1 rc 1

New default stack
In message box:
palette stack "Untitled 1" -- works fine
put the style of stack "Untitled 1"
result: toplevel

Seems to be a bug.

___
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/listinfo/use-livecode


Re: Palette command problem

2016-05-20 Thread Kay C Lan
Interesting!

The example in the Dictionary Entry for 'palette' is:

palette stack "Tools"

so there is no reason why Richmond's original code should not work.

Here on OSX 10.9.5 LC 8.0.1 rc 1 if I open a 'topLevel' stack and in
the message box:

palette stack "guineapig"

the stack is palettised. But if I put this in the message box:

put the style of stack "guineapig"

the result is: topLevel ??

If I revert the stack back to topLevel and in the message box:

set the style of stack "guineapig" to palette

it works, and if I then:

put the style of stack "guineapig"

the result is: palette

Something definitely not right. Anyone else seeing the command

palette stack "yourNameHere"

not working as Richmond is experiencing on Linux?? (I assume). Or have
it work but not reported correctly when you:

put the style of stack "yourNameHere"

Richmond, can you get the 'palette' command to work from the message
box or elsewhere?

___
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/listinfo/use-livecode


Arrays vs databases

2016-05-20 Thread Matt Maier
I already know how to use Livecode and I think I can do everything I need
using arrays.

According to this lesson, I can store an array as a custom property of a
stack which can be saved and loaded.
http://lessons.livecode.com/m/4071/l/17375-how-do-i-save-custom-properties-in-a-standalone-application

Something I've done myself already is to either save the array as JSON in a
text file or just as a binary with encode.

So, in the most naive sense, it looks like I can have a key-value store
without installing and learning anything new. But databases have extra
functionality to deal with stuff like multiple simultaneous users, data
integrity, and performance optimization.

Can I just setup an instance of Livecode to act like an in-memory,
key-value database? Maybe have a standalone stack act as the controller and
have it mirror it's state in a separate stack that can be saved and loaded.

I don't know enough about database design to frame the tradeoffs. Can
someone who groks both Livecode and databases comment on this idea?
___
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/listinfo/use-livecode


Re: A Personal Challenge

2016-05-20 Thread Kay C Lan
On Fri, May 20, 2016 at 6:29 AM, Mike Bonner  wrote:

> Hey Heather (if you're watching this thread) If I pledge more, can I wait
> till the first to pay up?
>
I know for a fact that if you contact her directly and explain your
situation they can customise your pledge. Bend over backwards does not
describe the willingness the LC Team have to help you help them.

___
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/listinfo/use-livecode


Re: Stupid Q number 999

2016-05-20 Thread RM

Thanks.

Richmond.

On 20.05.2016 10:15, Kay C Lan wrote:

Same way as you did in HC

go to card 999 of stack "Stupid Q"

OR, if the stack isn't known/related to the stack you are currently in:

go to card 999 of stack "Users/Richmond/Stacks/Stupid Q.livecode"

___
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/listinfo/use-livecode



___
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/listinfo/use-livecode


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

2016-05-20 Thread RM

Just uploaded a revision that works a whole lot better!

On 19.05.2016 23:44, RM wrote:

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:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Palette command problem

2016-05-20 Thread RM

Yes, it does: thanks a lot.

Richmond.

On 20.05.2016 02:08, panagiotis merakos wrote:

set the style of stack "newTools" to palette



___
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/listinfo/use-livecode