Re: ShutDownRequest

2012-08-29 Thread J. Landman Gay

On 8/29/12 1:29 PM, Gregory Lypny wrote:

Hello everyone,

I have a handler in a library stack that handles the shutDownRequest
message.  It enters logs the date and time when a student click a
Sign Out button in a stack that makes use of the library.  However, I
don't think I am catching the message when a student clicks the close
button in the top left of the window on Mac or equivalent on Windows.
How can I ensure that a log entry will be made when the app quits?


A click in the close box should trigger a "closeStackRequest" message.

--
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: Mobile mapping with native browser control

2012-08-29 Thread Magicgate Software - Skip Kimpel
Thanks Colin

SKIP

On Wed, Aug 29, 2012 at 10:21 PM, Colin Holgate  wrote:
> Chapter 6 in my book includes making a reminders app that checks your current 
> location against a set of other locations, to then list the reminders in 
> order of distance from where you are. But, such apps would only work if they 
> are open, I'm not sure if it's possible to trigger an event if the app is 
> closed.
>
>
> On Aug 29, 2012, at 9:37 PM, Magicgate Software - Skip Kimpel 
>  wrote:
>
>> >Has anybody done any "geo-fencing" type of applications?
>
> ___
> 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: Mobile mapping with native browser control

2012-08-29 Thread Colin Holgate
Chapter 6 in my book includes making a reminders app that checks your current 
location against a set of other locations, to then list the reminders in order 
of distance from where you are. But, such apps would only work if they are 
open, I'm not sure if it's possible to trigger an event if the app is closed.


On Aug 29, 2012, at 9:37 PM, Magicgate Software - Skip Kimpel 
 wrote:

> >Has anybody done any "geo-fencing" type of applications?

___
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: Mobile mapping with native browser control

2012-08-29 Thread Magicgate Software - Skip Kimpel
Has anybody done any "geo-fencing" type of applications?

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: libURLDownLoadToFile

2012-08-29 Thread Peter Haworth
Thanks Alex and Richard.

This is now working just fine.  I made so many changes, I really lost track
of what I might have been doing wrong before.

I plan on keeping my fingers crossed permanently!

Pete
lcSQL Software 



On Wed, Aug 29, 2012 at 5:08 PM, Alex Tweedly  wrote:

> Create a new mainstack
> create a button in it
> put the following script into it
>-- that should work
> change the file name to match the real example
>--- see if that works
> change the URL to match your real example
>-- see if that works.
>
> Then uncross your fingers :-)
>
> -- Alex.
>
>  --> all handlers
>>
>> on mouseUp
>> local tURL, tFile
>>
>> put "starting" into msg
>> libUrlSetStatusCallback "update" , the long id of me
>> put "junk.txt" into tFile
>> put "http://tweedly.org"; into tURL
>> libUrlDownloadToFile tURL , tFile, "done"
>> wait 5 seconds with messages
>> put URL ( "file:" & tFile) after msg
>> end mouseUp
>>
>> on update
>> put "updating" & CR after msg
>> end update
>>
>> on done
>> local tFile
>> put "junk.txt" into tFile
>>
>> put URL ( "file:" & tFile) after msg
>> put "done" & CR after msg
>> end done
>>
>
>
>
> On 29/08/2012 23:39, Peter Haworth wrote:
>
>> Still no joy with this.  I have switched over to using get URL and writing
>> it to a local disk file.  That works with exactly the same URL/local
>> filename but I don;t get the opportunity to update a progress bar.
>> Pete
>> lcSQL Software
>>
>>
>>
>> On Tue, Aug 28, 2012 at 3:57 PM, Peter Haworth  wrote:
>>
>>  Thanks Andre, I'll give that a try.  Right before the download I
>>> mentioned, there is another download which worked OK but maybe resetting
>>> evrything after the initial download will help.
>>>
>>> Pete
>>> lcSQL Software
>>>
>>>
>>>
>>> On Tue, Aug 28, 2012 at 3:16 PM, Andre Garzia**
>>> wrote:
>>>
>>>  Pete,

 A previous transfer from the same host may have failed. Use a timeout to
 issue a resetall and blow all the sockets to no mans land and try again.

 Cheers
 andre

 On Tue, Aug 28, 2012 at 5:01 PM, Peter Haworth  wrote:

  Having a problem with this command.
>
> The url of the file to download looks fine (it's urlEncoded) and the
>
 file

> exists on the server.  Local filename also is fine.  I've set the
>
 callback

> message with libURLSetStatusCallback and in there I have logic that
>
 updates

> a progress bar.
>
> When the libURLDownloadToFile is executed, nothing ever reachs the
>
 callback

> message, progreess bar is not updated and the file is not downloaded.
>
   No

> error message anywhere that I can see.
>
> Any obvious things I should be looking for?
>
> Pete
> lcSQL Software
> __**_
> 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://www.andregarzia.com -- All We Do Is Code.
 http://fon.nu -- minimalist url shortening service.
 __**_
 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
>
___
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: Mobile mapping with native browser control

2012-08-29 Thread Mark Wieder
Monte-

Wednesday, August 29, 2012, 2:43:49 PM, you wrote:

> Ok, hopefully one day I can take mergMK cross platform and make
> the decision to use it in preference to the google API in a web view
> easier. If targeting iOS only it's certainly much easier to get an
> interactive map working so I look forward to taking that to android.

I find the google map api pretty easy to use in Android. Of course,
I'm not using a browser control, so maybe that makes the difference.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: libURLDownLoadToFile

2012-08-29 Thread Alex Tweedly

Create a new mainstack
create a button in it
put the following script into it
   -- that should work
change the file name to match the real example
   --- see if that works
change the URL to match your real example
   -- see if that works.

Then uncross your fingers :-)

-- Alex.


--> all handlers

on mouseUp
local tURL, tFile

put "starting" into msg
libUrlSetStatusCallback "update" , the long id of me
put "junk.txt" into tFile
put "http://tweedly.org"; into tURL
libUrlDownloadToFile tURL , tFile, "done"
wait 5 seconds with messages
put URL ( "file:" & tFile) after msg
end mouseUp

on update
put "updating" & CR after msg
end update

on done
local tFile
put "junk.txt" into tFile

put URL ( "file:" & tFile) after msg
put "done" & CR after msg
end done




On 29/08/2012 23:39, Peter Haworth wrote:

Still no joy with this.  I have switched over to using get URL and writing
it to a local disk file.  That works with exactly the same URL/local
filename but I don;t get the opportunity to update a progress bar.
Pete
lcSQL Software



On Tue, Aug 28, 2012 at 3:57 PM, Peter Haworth  wrote:


Thanks Andre, I'll give that a try.  Right before the download I
mentioned, there is another download which worked OK but maybe resetting
evrything after the initial download will help.

Pete
lcSQL Software



On Tue, Aug 28, 2012 at 3:16 PM, Andre Garziawrote:


Pete,

A previous transfer from the same host may have failed. Use a timeout to
issue a resetall and blow all the sockets to no mans land and try again.

Cheers
andre

On Tue, Aug 28, 2012 at 5:01 PM, Peter Haworth  wrote:


Having a problem with this command.

The url of the file to download looks fine (it's urlEncoded) and the

file

exists on the server.  Local filename also is fine.  I've set the

callback

message with libURLSetStatusCallback and in there I have logic that

updates

a progress bar.

When the libURLDownloadToFile is executed, nothing ever reachs the

callback

message, progreess bar is not updated and the file is not downloaded.

  No

error message anywhere that I can see.

Any obvious things I should be looking for?

Pete
lcSQL Software
___
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://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: libURLDownLoadToFile

2012-08-29 Thread Richard Gaskin

Peter Haworth wrote:

Still no joy with this.  I have switched over to using get URL and writing
it to a local disk file.  That works with exactly the same URL/local
filename but I don;t get the opportunity to update a progress bar.


I don't know why libUrlDownToFile isn't working for you, but for status 
check out libUrlSetStatusCallback:




--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
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: libURLDownLoadToFile

2012-08-29 Thread Peter Haworth
Still no joy with this.  I have switched over to using get URL and writing
it to a local disk file.  That works with exactly the same URL/local
filename but I don;t get the opportunity to update a progress bar.
Pete
lcSQL Software 



On Tue, Aug 28, 2012 at 3:57 PM, Peter Haworth  wrote:

> Thanks Andre, I'll give that a try.  Right before the download I
> mentioned, there is another download which worked OK but maybe resetting
> evrything after the initial download will help.
>
> Pete
> lcSQL Software 
>
>
>
> On Tue, Aug 28, 2012 at 3:16 PM, Andre Garzia wrote:
>
>> Pete,
>>
>> A previous transfer from the same host may have failed. Use a timeout to
>> issue a resetall and blow all the sockets to no mans land and try again.
>>
>> Cheers
>> andre
>>
>> On Tue, Aug 28, 2012 at 5:01 PM, Peter Haworth  wrote:
>>
>> > Having a problem with this command.
>> >
>> > The url of the file to download looks fine (it's urlEncoded) and the
>> file
>> > exists on the server.  Local filename also is fine.  I've set the
>> callback
>> > message with libURLSetStatusCallback and in there I have logic that
>> updates
>> > a progress bar.
>> >
>> > When the libURLDownloadToFile is executed, nothing ever reachs the
>> callback
>> > message, progreess bar is not updated and the file is not downloaded.
>>  No
>> > error message anywhere that I can see.
>> >
>> > Any obvious things I should be looking for?
>> >
>> > Pete
>> > lcSQL Software 
>> > ___
>> > 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://www.andregarzia.com -- All We Do Is Code.
>> http://fon.nu -- minimalist url shortening service.
>> ___
>> 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: Problem resizing a stack

2012-08-29 Thread Peter Haworth
Bob,
You're missing the point.  Everything works exactly as coded when the stack
is not run as a plugin.  The problems I've described only occur when the
stack is run as a plugin.  It's mtto anyway becasue I'm not executing that
code anywhere now since I that property only needs to be set once.
Pete
lcSQL Software 



On Wed, Aug 29, 2012 at 1:19 PM, Bob Sneidar  wrote:

> Why do it there? Can you put it in the opencard handler of the script of
> the first card? I have found that some things don't work as expected in
> preOpenstack. I would imagine changing the properties of an open stack
> would cause problems, since the stack is not technically "open" yet. If you
> try to change the property of a stack that is not open, (assuming LC knows
> where it is) LC will attempt to open it. Wouldn't that trigger preOpenstack
> again?
>
> I'm just fishing here.
>
> Bob
>
>
> On Aug 29, 2012, at 11:18 AM, Peter Haworth wrote:
>
> > Thanbks Mark.  SOunds like Powedebug would be a great hep - where can I
> get
> > it?
> >
> > But I'm still puzzled why setting the liveresize of a stack would cause
> all
> > these issues - that doesn;t seem to fit any of the situations where debug
> > doesn't return errors.  All I know is that without that statement, all
> > works fine, with it things go haywire.
> >
> > Pete
>
>
> ___
> 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: Mobile mapping with native browser control

2012-08-29 Thread Monte Goulding
Ok, hopefully one day I can take mergMK cross platform and make the decision to 
use it in preference to the google API in a web view easier. If targeting iOS 
only it's certainly much easier to get an interactive map working so I look 
forward to taking that to android.

--
M E R Goulding
Software development services

mergExt - There's an external for that!

On 30/08/2012, at 7:08 AM, "Ralph DiMola"  wrote:

> Monte,
> 
> Håkan had an app approved that mapped using the browser control. I submitted
> again with mergMK. If it gets approved I will try to slip the browser
> control back in. That's my plan.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> -Original Message-
> From: use-livecode-boun...@lists.runrev.com
> [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Monte Goulding
> Sent: Wednesday, August 29, 2012 4:24 PM
> To: How to use LiveCode
> Subject: Re: Mobile mapping with native browser control
> 
> Do you mean a route from a to b? I think there's iOS 6 stuff for that but it
> would also be possible to use the google API and then draw on the map using
> a polyline.
> 
> --
> M E R Goulding
> Software development services
> 
> mergExt - There's an external for that!
> 
> On 30/08/2012, at 12:25 AM, "ha...@exformedia.se" 
> wrote:
> 
>> as mergMK doesn't support way finding yet...
> 
> ___
> 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: Appending Data Via FTP

2012-08-29 Thread Richard Gaskin

Gregory Lypny wrote:

Is it okay to append data to a file on a remote Mac using

put return & theLineOfData after URL ("ftp://"; & pathToTheFile)

where, theLineOfData is a single line of data?  I figure that's safer than 
downloading all of the data from the URL into a variable, appending the new 
data, and then uploading the whole thing.


I think what'll happen there is that the url expression will be 
evaluated first, and you'll wind up with the local variable "it" 
appended and the item on the server untouched.


The most efficient way to do this would be to have a CGI receive the 
data and append it to the file, easily sendable with POST.


Using FTP, I believe the only solution would be to download the file, 
append it, and re-upload it.   There may be other options in the FTP 
spec, though, but still I'd consider using the CGI solution first as it 
would be simple and fast.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
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: Mobile mapping with native browser control

2012-08-29 Thread Ralph DiMola
Monte,

Håkan had an app approved that mapped using the browser control. I submitted
again with mergMK. If it gets approved I will try to slip the browser
control back in. That's my plan.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Monte Goulding
Sent: Wednesday, August 29, 2012 4:24 PM
To: How to use LiveCode
Subject: Re: Mobile mapping with native browser control

Do you mean a route from a to b? I think there's iOS 6 stuff for that but it
would also be possible to use the google API and then draw on the map using
a polyline.

--
M E R Goulding
Software development services

mergExt - There's an external for that!

On 30/08/2012, at 12:25 AM, "ha...@exformedia.se" 
wrote:

> as mergMK doesn't support way finding yet...

___
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


Appending Data Via FTP

2012-08-29 Thread Gregory Lypny
Hello everyone,

Is it okay to append data to a file on a remote Mac using

put return & theLineOfData after URL ("ftp://"; & pathToTheFile)

where, theLineOfData is a single line of data?  I figure that's safer than 
downloading all of the data from the URL into a variable, appending the new 
data, and then uploading the whole thing.

Gregory

___
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: Problem resizing a stack

2012-08-29 Thread Bob Sneidar
Belay my last just noticed you were talking about preOpenCard. I think my eyes 
are dyslexic. 

> Why do it there? Can you put it in the opencard handler of the script of the 
> first card? I have found that some things don't work as expected in 
> preOpenstack. I would imagine changing the properties of an open stack would 
> cause problems, since the stack is not technically "open" yet. If you try to 
> change the property of a stack that is not open, (assuming LC knows where it 
> is) LC will attempt to open it. Wouldn't that trigger preOpenstack again? 
> 
> I'm just fishing here. 
> 
> Bob
> 
> 
> On Aug 29, 2012, at 11:18 AM, Peter Haworth wrote:
> 
>> Thanbks Mark.  SOunds like Powedebug would be a great hep - where can I get
>> it?
>> 
>> But I'm still puzzled why setting the liveresize of a stack would cause all
>> these issues - that doesn;t seem to fit any of the situations where debug
>> doesn't return errors.  All I know is that without that statement, all
>> works fine, with it things go haywire.
>> 
>> Pete
> 

___
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: Mobile mapping with native browser control

2012-08-29 Thread Monte Goulding
Do you mean a route from a to b? I think there's iOS 6 stuff for that but it 
would also be possible to use the google API and then draw on the map using a 
polyline.

--
M E R Goulding
Software development services

mergExt - There's an external for that!

On 30/08/2012, at 12:25 AM, "ha...@exformedia.se"  wrote:

> as mergMK doesn't support way finding yet...

___
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: Problem resizing a stack

2012-08-29 Thread Bob Sneidar
Why do it there? Can you put it in the opencard handler of the script of the 
first card? I have found that some things don't work as expected in 
preOpenstack. I would imagine changing the properties of an open stack would 
cause problems, since the stack is not technically "open" yet. If you try to 
change the property of a stack that is not open, (assuming LC knows where it 
is) LC will attempt to open it. Wouldn't that trigger preOpenstack again? 

I'm just fishing here. 

Bob


On Aug 29, 2012, at 11:18 AM, Peter Haworth wrote:

> Thanbks Mark.  SOunds like Powedebug would be a great hep - where can I get
> it?
> 
> But I'm still puzzled why setting the liveresize of a stack would cause all
> these issues - that doesn;t seem to fit any of the situations where debug
> doesn't return errors.  All I know is that without that statement, all
> works fine, with it things go haywire.
> 
> Pete


___
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


ShutDownRequest

2012-08-29 Thread Gregory Lypny
Hello everyone,

I have a handler in a library stack that handles the shutDownRequest message.  
It enters logs the date and time when a student click a Sign Out button in a 
stack that makes use of the library.  However, I don't think I am catching the 
message when a student clicks the close button in the top left of the window on 
Mac or equivalent on Windows.  How can I ensure that a log entry will be made 
when the app quits?

Regards,

Gregory

___
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 Stacks With LiveCode Server

2012-08-29 Thread Bob Sneidar
Not to minimize your point, it is a valid one, but Runrev has limited 
resources, and if they really fully documented everything as well as we would 
like, and make it as easily accessible as we would like, we might not see a lot 
of development work getting done. 

As for the web root access, that is a fairly commonly known principle for ALL 
web servers, ever since someone figured a way to use a web server to gain 
access to the server's file system. Some servers allow you to configure other 
folders outside the root, or alter what the root is, but it is common security 
policy to leave it as it is. 

As Dad used to say when he sent me to my room without supper, "You'll thank me 
later." Thanks Dad.

Bob


On Aug 29, 2012, at 10:56 AM, Gregory Lypny wrote:

> Thanks Andre, Mike, and Phil,
> 
> I have it straight now.  Stacks go in the web server's root and only legacy 
> stacks will work.  Thank you also for your patience.  My Internet coding 
> abilities are primitive to say the least.
> 
> If only the RunRev people would write documentation with some clarity.  It 
> would be pure coincidence to stumble upon the legacy part.  That's an untold 
> number of work hours lost!
> 
> Regards,
> 
> Gregory


___
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: Problem resizing a stack

2012-08-29 Thread Peter Haworth
Thanbks Mark.  SOunds like Powedebug would be a great hep - where can I get
it?

But I'm still puzzled why setting the liveresize of a stack would cause all
these issues - that doesn;t seem to fit any of the situations where debug
doesn't return errors.  All I know is that without that statement, all
works fine, with it things go haywire.

Pete
lcSQL Software 



On Wed, Aug 29, 2012 at 10:03 AM, Mark Wieder wrote:

> Pete-
>
> Several things will turn breakpoints off and put the IDE's debugger back
> into
> run mode.
>
> Debugging through system stacks (any stack with a name starting with
> "rev", the
> message box, etc), stepping through send and dispatch commands, etc.
> There's
> some serious hackage in PowerDebug to handle these situations and maintain
> the
> debug context.
>
> And obviously you can't debug into external commands.
>
> --
>  Mark Wieder
>  mwie...@ahsoftware.net
>
>
> ___
> 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: Pasting to a field from Internet Explorer 8

2012-08-29 Thread Bob Sneidar
I've run into similar clipboard weirdnesses with the Livecode clipboard. Go 
figure. Someone wrote a Clipboard Inspector stack that may prove useful in 
finding out where things are going wrong. Also note, that Microsoft products, 
specifically Office products use their own clipboard format that may be 
incompatible (at present) with the Livecode clipboard. It is my understanding 
that a translation should take place when switching from a MS app to other 
"foreign" apps, and in the case of LC, I suspect the translation is not taking 
place. 

Bob


On Aug 29, 2012, at 10:53 AM, dfepst...@comcast.net wrote:

> 
> 
> I have for a long time pasted text copied from other programs to a field by 
> using a script like 
> "set the htmlText of [destination chunk] to clipboardData["html"] 
> After a recent upgrade to Windows 7 and Internet Explorer 8 this does not 
> work for text copied from Internet Explorer; pasting yields a few commas or 
> dashes instead.  If I first paste that text to Notepad, then select and copy 
> it again, my script pastes correctly.  [this is in Rev Media 2.9] 
> Does anyone have the same problem or a remedy? 
> 
> Many thanks. 
> 
> David Epstein 
> ___
> 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 Stacks With LiveCode Server

2012-08-29 Thread Gregory Lypny
Thanks Andre, Mike, and Phil,

I have it straight now.  Stacks go in the web server's root and only legacy 
stacks will work.  Thank you also for your patience.  My Internet coding 
abilities are primitive to say the least.

If only the RunRev people would write documentation with some clarity.  It 
would be pure coincidence to stumble upon the legacy part.  That's an untold 
number of work hours lost!

Regards,

Gregory



___
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


Pasting to a field from Internet Explorer 8

2012-08-29 Thread dfepstein


I have for a long time pasted text copied from other programs to a field by 
using a script like 
"set the htmlText of [destination chunk] to clipboardData["html"] 
After a recent upgrade to Windows 7 and Internet Explorer 8 this does not work 
for text copied from Internet Explorer; pasting yields a few commas or dashes 
instead.  If I first paste that text to Notepad, then select and copy it again, 
my script pastes correctly.  [this is in Rev Media 2.9] 
Does anyone have the same problem or a remedy? 

Many thanks. 

David Epstein 
___
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: DatePicker: Installation instructions

2012-08-29 Thread FlexibleLearning
No need to re-register each time you deploy. Once the stack is registered it
can be embedded with no further action...

set the mainStack of stack "flcDatePicker" to "myAppsMainStack"

The original will still be in the plugins folder or whever you have stored
it.

Best regards,

Hugh Senior
FLCo


Andrew Kluthe wrote:

Hacked together my own installation method. :) Not as easy to upgrade
it as a substack of my application loader, but it makes using it
throughout all my farm programs easy as pie.

Once, it is registered and unlocked can I just save that registered
copy of the stack and use it where I need it or do I need to register
each time I include it as a substack?

On Wed, Aug 29, 2012 at 6:33 AM, FlexibleLearning
 wrote:
> The installation instructions (inadvertantly omitted) are now included in
> the download.
>
> Copies are available from the DatePicker resource center if you need
them...
>
> www.FlexibleLearning.com/datepicker/dprc
>
>
> Hugh Senior
> FLCo


___
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: Can anyone confirm this possible bug ?

2012-08-29 Thread Bob Sneidar
That is probably why I have not seen it for a long time. I use Powerdebug and I 
love it!

Bob


On Aug 29, 2012, at 10:10 AM, Mark Wieder wrote:

> Bob-
> 
>> 
>> I have found in the past, although mush less nowadays that the debugger would
> turn itself off under certain
>> conditions, like certain script errors. I never figured out why, but updates
> and LC versions later it
>> doesn't seem to happen anymore. I think once in the last 6 months it 
>> happened.
> It always seems to be when I am
>> breaking into the debugger due to a runtime error. Afterwards it seemed to be
> off. 
> 
> I haven't run without PowerDebug in ages, so I can't comment on the current
> state of the built-in debugger, but previously the engine would disable debug
> mode on encountering an error in a system stack. This, I suppose, was to 
> prevent
> snowballing errors. It's not completely clear to me why someone would want to
> disable debug mode (disabled mode means just ignore any errors), so PowerDebug
> ensures that it's enabled.
> 
> -- 
> Mark Wieder
> mwie...@ahsoftware.net
> 
> 
> 
> 
> ___
> 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: Can anyone confirm this possible bug ?

2012-08-29 Thread Mark Wieder
Bob-

> 
> I have found in the past, although mush less nowadays that the debugger would
turn itself off under certain
> conditions, like certain script errors. I never figured out why, but updates
and LC versions later it
> doesn't seem to happen anymore. I think once in the last 6 months it happened.
It always seems to be when I am
> breaking into the debugger due to a runtime error. Afterwards it seemed to be
off. 

I haven't run without PowerDebug in ages, so I can't comment on the current
state of the built-in debugger, but previously the engine would disable debug
mode on encountering an error in a system stack. This, I suppose, was to prevent
snowballing errors. It's not completely clear to me why someone would want to
disable debug mode (disabled mode means just ignore any errors), so PowerDebug
ensures that it's enabled.

-- 
 Mark Wieder
 mwie...@ahsoftware.net




___
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: Problem resizing a stack

2012-08-29 Thread Mark Wieder
Pete-

Several things will turn breakpoints off and put the IDE's debugger back into
run mode.

Debugging through system stacks (any stack with a name starting with "rev", the
message box, etc), stepping through send and dispatch commands, etc. There's
some serious hackage in PowerDebug to handle these situations and maintain the
debug context.

And obviously you can't debug into external commands.

-- 
 Mark Wieder
 mwie...@ahsoftware.net


___
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


OT: Design Nerd Flash Cards

2012-08-29 Thread Mark Wieder
C is for Crash
Unfortunately L is for Layer instead of you-know-what.

http://designtaxi.com/news/353412/ABC-Flash-Cards-For-Design-Savvy-Hipster-Kids/

-- 
 Mark Wieder
 mwie...@ahsoftware.net


___
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 Stacks With LiveCode Server

2012-08-29 Thread Mike Bonner
Ok, my mistake, I can't get it to read from my desktop either so ignore
this! Apparently it was reading the old file from the directory also (which
is just plain weird.)

I did create a folder in the server root called stackfiles, made sure the
permissions were correct and was able to hit it from there just fine (used
relative pathing.. "../../stackfiles/mystackname.livecode"

On Wed, Aug 29, 2012 at 10:27 AM, Mike Bonner  wrote:

> I can get it to work outside my web folder (from my desktop) but I have
> permissions set so that owner is me with full permissions (rwx) ,group _www
> is read (r) (_www on moutain lion server is the www group) it would also
> matter what permissions are on the containing folder of course.  It is most
> likely safer to contain all your files in the server root, but it can be
> outside the document root. I can hit it fine this way when its on the
> desktop, but again permissions on the containing folder might get in the
> way.
>
>
___
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 Stacks With LiveCode Server

2012-08-29 Thread Mike Bonner
I can get it to work outside my web folder (from my desktop) but I have
permissions set so that owner is me with full permissions (rwx) ,group _www
is read (r) (_www on moutain lion server is the www group) it would also
matter what permissions are on the containing folder of course.  It is most
likely safer to contain all your files in the server root, but it can be
outside the document root. I can hit it fine this way when its on the
desktop, but again permissions on the containing folder might get in the
way.

As for how I know it will only work with legacy, there was a discussion on
the forums with a rev response "will be updated soon to support 5.5
format.."   And I just did a quick test, "the version" is listed as 5.0.2
so I think (but haven't specifically tested) that there is still no support
for the new stack version.  *goes to check*

Yep, 5.5 is still not supported and fails with these results

file "/Library/Server/Web/Data/Sites/mysite.tiny.local/test.lc"
  row 3, col 7: Chunk: can't find stack
  row 3, col 1: start: can't find object


On Wed, Aug 29, 2012 at 9:19 AM, Gregory Lypny
wrote:

> Hi Mike,
>
> Thanks for the error handling suggestion.  I have not tried your test
> stack yet but I finally got mine working.  But it only works when I place
> the stack in the Library/Webserver/Documents, that is, in the same folder
> as the web file that calls it.  Yet, I left the path in that web file
> pointing to the desktop
>
> start using stack "/Users/gregory/Desktop/ParetoServer (Legacy
> 2.7).livecode"
>
> but removed the stack from the desktop!  I don't get it.  It would be nice
> to be able to place stacks outside of
>
> /Library/WebServer/Documents/
>
> but I guess I can live with it as is.  By the way, where did you learn
> that only legacy stacks can be loaded by LiveCode server?
>
>
>
> Regards,
>
> Gregory
>
>
> ___
> 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: Can anyone confirm this possible bug ?

2012-08-29 Thread Bob Sneidar
I have found in the past, although mush less nowadays that the debugger would 
turn itself off under certain conditions, like certain script errors. I never 
figured out why, but updates and LC versions later it doesn't seem to happen 
anymore. I think once in the last 6 months it happened. It always seems to be 
when I am breaking into the debugger due to a runtime error. Afterwards it 
seemed to be off. 

Bob


On Aug 29, 2012, at 2:00 AM, Alex Tweedly wrote:

> That's it Mike !  Thank you !!
> 
> I had Script Debug Mode off - unintentionally, and had forgotten there was 
> such a thing.
> Whn I turned it back on, then the error appeared as expected in the bottom 
> pane of the editor window.
> 
> No idea what has happened to my error window that should appear when debug 
> mode is off; I can't find any windows that appear to be off-screen. (But 
> maybe it's gone again by the time I open the msg box and look ??)
> What is the name of that window ?
> Any settings for it I could check ?
> 
> Thanks again
> -- Alex.


___
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 Stacks With LiveCode Server

2012-08-29 Thread Andre Garzia
Gregory,

You can't place files outside of the webserver root folder because that
would be a security risk. You don't want web clients to access your private
data from your home folder. Everything that the web server serves is inside
the DOCUMENT_ROOT.

cheers
andre

On Wed, Aug 29, 2012 at 12:19 PM, Gregory Lypny
wrote:

> Hi Mike,
>
> Thanks for the error handling suggestion.  I have not tried your test
> stack yet but I finally got mine working.  But it only works when I place
> the stack in the Library/Webserver/Documents, that is, in the same folder
> as the web file that calls it.  Yet, I left the path in that web file
> pointing to the desktop
>
> start using stack "/Users/gregory/Desktop/ParetoServer (Legacy
> 2.7).livecode"
>
> but removed the stack from the desktop!  I don't get it.  It would be nice
> to be able to place stacks outside of
>
> /Library/WebServer/Documents/
>
> but I guess I can live with it as is.  By the way, where did you learn
> that only legacy stacks can be loaded by LiveCode server?
>
>
>
> Regards,
>
> Gregory
>
>
> ___
> 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://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: Resizing a Text Field

2012-08-29 Thread Ralph DiMola
Peter,

I have a routine that will resize a text field with 1 or more lines(also
works for buttons). Have you solved the problem yet? If not I will send it
to you. It's part of my mobile resizing library.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Peter Bogdanoff
Sent: Tuesday, August 28, 2012 1:12 AM
To: How to use LiveCode
Subject: Resizing a Text Field

Hi,
Does anyone have a quick and dirty script for resizing a field to fit text
content?

Peter Bogdanoff
UCLA 

On Aug 25, 2012, at 7:17 PM, Jerry Jensen  wrote:

> I LIKE IT!
> 
> My needs are modest, and so is my tolerance for having to learn "real" SQL
syntax when I only want a tiny bit of it. I'll stay tuned!
> 
> .Jerry
> 
> On Aug 25, 2012, at 6:59 PM, Andre Garzia wrote:
> 
>> Hey Folks,
>> 
>> I am putting the final touches into a NoSQL data storage library for 
>> local LiveCode development. It is an add-on for my DB Lib and uses 
>> SQLite for the storage medium.
>> 
>> It can store any kind of information as long as it is inside an array 
>> variable. It doesn't require a schema or a defined set of fields. You 
>> can mix and match any kind of array in the same storage file. Let me 
>> give you some examples, opening a new storage:
>> 
>>   dsOpen "myStorage", "com.andregarzia.example"
>> 
>> Saving an item:
>> 
>>   put "32" into tA["age"]
>>   put "andre" into tA["first_name"]
>>   put "garzia" into tA["last_name"]
>>   dsSave "myStorage", tA
>>   if "dsErr" is not in the result then
>>   put the result into tKeyForLastSavedItem
>>   end if
>> 
>> Retrieving an item back:
>> 
>>   put dsGet("myStorage", tKeyForLastSavedItem) into tA
>> 
>> This all works without the need to touch a SQL database. This library 
>> will enter beta on monday for current owners of DB Lib. You can learn 
>> more by browsing the current API reference for the Data Storage Lib at:
>> 
>>   http://andregarzia.com/aux/datastorageapi/
>> 
>> This is a true NoSQL solution for LiveCode and writes your data to 
>> safe folders in any system. You can save an item, save a bunch of 
>> items, retrieve keys, items, and do normal crud operations.
>> 
>> The Data Storage Lib will be bundled with DB Lib, so all current 
>> owners of DB Lib will have it.
>> 
>> Hope to hear feedback and opinions!
>> 
>> Cheers
>> andre
>> 
>> --
>> http://www.andregarzia.com -- All We Do Is Code.
>> http://fon.nu -- minimalist url shortening service.
>> ___
>> 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


___
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: Mobile mapping with native browser control

2012-08-29 Thread Ralph DiMola
Håkan,

I had the URL displayed at the top of the screen. This might have irked
them. I was using Google map to find directions also. I Used mergMK and
resubmitted. After app get approved I will try to slip the browser version
back in.

Thanks!

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of
ha...@exformedia.se
Sent: Wednesday, August 29, 2012 10:25 AM
To: How to use LiveCode
Subject: Re: Mobile mapping with native browser control

I have an app with Google maps that got approved recently, as mergMK doesn't
support way finding yet...
...but I don't have a screenshot where the map is displayed. To me it sounds
like you are not allowed to use google maps in a screenshot to promote your
app as that is considered "old" and you should now use the new mapping
feature. Or maybe they just didn't find the mapping function in my app ;)

:-Håkan


___
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 Stacks With LiveCode Server

2012-08-29 Thread Gregory Lypny
Hi Mike,

Thanks for the error handling suggestion.  I have not tried your test stack yet 
but I finally got mine working.  But it only works when I place the stack in 
the Library/Webserver/Documents, that is, in the same folder as the web file 
that calls it.  Yet, I left the path in that web file pointing to the desktop

start using stack "/Users/gregory/Desktop/ParetoServer (Legacy 
2.7).livecode"

but removed the stack from the desktop!  I don't get it.  It would be nice to 
be able to place stacks outside of

/Library/WebServer/Documents/

but I guess I can live with it as is.  By the way, where did you learn that 
only legacy stacks can be loaded by LiveCode server?



Regards,

Gregory


___
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: Font differences between IOS versions

2012-08-29 Thread Howard Bornstein
Hmmm, these are Apple's fonts which are included in IOS 5.x and IOS 4.3 for
the iPad. Do you believe I have to have an official license from Apple to
use their fonts in their products?

On Wed, Aug 29, 2012 at 7:45 AM, ha...@exformedia.se wrote:

> A word of caution...
> ...if YOU install fonts YOU need to license them...
>
> Håkan Liljegren
> Exformation Designer
> http://www.exformedia.se/
>
> 27 aug 2012 kl. 23:29 skrev Howard Bornstein:
>
> > There are quite a few fonts that were not supported in earlier versions
> of
> > IOS. I am targeting my app to run on IOS 4.3 and later and I want the
> app,
> > when run under IOS 4.3, to have access to the same fonts as people
> running
> > V5.x. To do so, I've done a custom install of the missing fonts into my
> > app. This has worked fine, except that there are two fonts which do not
> > properly display.
> >
> > One is Optima Bold. It always displays as Optima ExtraBlack. I can switch
> > between the two and there is no difference.
> >
> > The second is Papyrus. It always displays as Papyrus-Condensed.
> >
> > I have verified that the versions that I want, i.e. Optima-Bold, and
> > Papyrus, are listed as available fonts when I compile for IOS 4.3, but
> they
> > still display as the other variations of these fonts as I have
> described. I
> > don't know enough about how fonts are displayed on IOS devices to
> > understand why this is happening. At first I thought that it was because
> > IOS 4.3 simply couldn't support these fonts, but I see that they are both
> > supported under IOS 4.3 on the iPad (actually, Papyrus-Condensed isn't
> > supported until IOS 5, but Papyrus *is *supported under 4.3), so I don't
> > think that is the problem.
> >
> > I would be grateful if anyone had an explanation or solution for this
> issue.
> >
> > Thanks.
> >
> > --
> > Regards,
> >
> > Howard Bornstein
> > ---
> > www.designeq.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
>



-- 
Regards,

Howard Bornstein
---
www.designeq.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 Stacks With LiveCode Server

2012-08-29 Thread Mike Bonner
Is it possible that the web server user doesn't have read permissions on
the stack file?

Also, though its probably correct in your lc server script, it should be
start using stack "/path/to/stack"
not
start using "/path/to/stack"

On Wed, Aug 29, 2012 at 8:46 AM, Gregory Lypny
wrote:

> Hi Phil,
>
> Thanks, but no go.  I put the stack on my desktop and used
>
> start using "/Users/gregory/Desktop/ParetoServer (Legacy
> 2.7).livecode"
>
> and from the name of the stack, you can see that I took Mike Bonner's
> advice and saved it in legacy format.
>
> Gregory
>
> On Wed, Aug 29, 2012, at 10:27 AM, Phil Davis wrote:
>
> > Hi Gregory,
> >
> > Try using the full path to the stackfile in your "start using"
> > statement. That should work. Like so:
> >
> > start using "/Users/me/Documents/mystackfile.livecode"
> >
> > Best -
> > Phil Davis
> >
>
> ___
> 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: JSON

2012-08-29 Thread Richard Gaskin
Absolutely.  If you're working with a setup that can use MongoDB, it's a 
wonderfully flexible store.


Where I stumbled into a fascination with encoded arrays was in CGI 
contexts on shared servers, where we don't usually have the luxury of an 
always-on process like MongoDB.


With modestly-sized collections you can get rather nice performance from 
a CGI handling encoded arrays, and you can enjoy it on any server 
without the need for any installs or mods beyond the simple RevServer setup.


It's a rather specialized use-case, of course, which is why I flagged it 
with "FWIW".  But even if you're working on a shared host there are many 
ways to skin the storage cat (pardon the gruesome metaphor).


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys


Andrew Kluthe wrote:

Working with JSON a whole lot with MongoDB over a REST Interface. Mark
Smith's (RIP) libJSON is really nice. As easy as arrayToJson(pArray)
and jsonToArray(pJSON)

On Wed, Aug 29, 2012 at 9:27 AM, Richard Gaskin wrote:

Rod McCall wrote:


I am currently developing a server application for a car simulator and
part of it may use JSON. I'd appreciate any pointers to tutorials or
even links to libraries on how to use JSON in LiveCode, therefore if
you have any tips in this direction please let me know. . Otherwise I
may have to revert to CSV or XML. From memory LiveCode did have some
nice XML features but it's a while since I tried them out.



The libJSON stack Andy suggested should work well for what you need:


FWIW, if by chance you're also using RevServer on the server end you may
find working with encoded arrays even more convenient, and certainly much
faster.

Compressed encoded arrays have become my favorite transport vehicle for
data, running them through base64Encode to make them extra network-safe:

  put base64Encode(compress(arrayEncode(tArray))) into tOutData

On the receiving end it's probably best to handle each of the reversing
functions in a set of "try" statements to avoid execution errors in the
event that anything happened to the data in transit:

function PayloadToArray pArray
  try
put base64Decode(pArray) into pArray
  catch tErr
throw "Data not base64-encoded"
  end try
  --
  try
put decompress(pArray) into pArray
  catch tErr
throw "Data not compressed"
  end try
  --
  try
put arrayDecode(pArray) into pArray
  catch tErr
throw "Data not array-encoded"
  end try
  --
  return pArray
end PayloadToArray


Looking at the BSON format used by a growing number of data stores like
MongoDB, it's a natural compliment to JSON but much more compact and with
simpler parsing.  But of course if you're writing for a browser client or a
server over which you have no control over the output, converting to and
from JSON is about as good as it gets for expressing hierarchical structures
easily.

But if you're writing for a LiveCode client and use LiveCode on the server,
LiveCode's encoded arrays are quite similar to BSON in many respects, and
with the speedy convenience of arrayEncode and arrayDecode they're a joy to
work with, avoiding the overhead of the more verbose and
computationally-costly JSON.

With encoded arrays, it's almost like working with native BSON on both sides
of a client-server system.

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys



___
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 Stacks With LiveCode Server

2012-08-29 Thread Gregory Lypny
Hi Phil,

Thanks, but no go.  I put the stack on my desktop and used

start using "/Users/gregory/Desktop/ParetoServer (Legacy 2.7).livecode"

and from the name of the stack, you can see that I took Mike Bonner's advice 
and saved it in legacy format.

Gregory

On Wed, Aug 29, 2012, at 10:27 AM, Phil Davis wrote:

> Hi Gregory,
> 
> Try using the full path to the stackfile in your "start using" 
> statement. That should work. Like so:
> 
> start using "/Users/me/Documents/mystackfile.livecode"
> 
> Best -
> Phil Davis
> 

___
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 Stacks With LiveCode Server

2012-08-29 Thread Mike Bonner
If other things are working (puts, etc) then returning empty on that line
means there are no stacks in use.

Here is a stack you can test with.
https://dl.dropbox.com/u/11957935/mytest.livecode It has 1 handler in the
stack script, save it next to a test lc script. THe file is saved in 2.7
legacy format.

Then for the test lc script something like this..

 "  -- if there was an error loading the stack it will
show here
doTest -- runs the doTest handler from the stack script of mytest.livecode.
doTest will also display the stacksinuse
?>
This is outside the script.  This is here so that if the stuff inside the
wrote:

> Hello everyone,
>
> When I try
>
> put the stacksInUse
>
> it comes up empty.  Could there be something missing in y httpd.conf file
> (Mac OS X Mountain Lion)?  The only two lines that I have added under
>  are
>
> AddHandler livecode-script .lc
> Action livecode-script  /cgi-bin/livecode-server
>
> Gregory
>
> ___
> 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: Font differences between IOS versions

2012-08-29 Thread ha...@exformedia.se
A word of caution...
...if YOU install fonts YOU need to license them...

Håkan Liljegren
Exformation Designer
http://www.exformedia.se/

27 aug 2012 kl. 23:29 skrev Howard Bornstein:

> There are quite a few fonts that were not supported in earlier versions of
> IOS. I am targeting my app to run on IOS 4.3 and later and I want the app,
> when run under IOS 4.3, to have access to the same fonts as people running
> V5.x. To do so, I've done a custom install of the missing fonts into my
> app. This has worked fine, except that there are two fonts which do not
> properly display.
> 
> One is Optima Bold. It always displays as Optima ExtraBlack. I can switch
> between the two and there is no difference.
> 
> The second is Papyrus. It always displays as Papyrus-Condensed.
> 
> I have verified that the versions that I want, i.e. Optima-Bold, and
> Papyrus, are listed as available fonts when I compile for IOS 4.3, but they
> still display as the other variations of these fonts as I have described. I
> don't know enough about how fonts are displayed on IOS devices to
> understand why this is happening. At first I thought that it was because
> IOS 4.3 simply couldn't support these fonts, but I see that they are both
> supported under IOS 4.3 on the iPad (actually, Papyrus-Condensed isn't
> supported until IOS 5, but Papyrus *is *supported under 4.3), so I don't
> think that is the problem.
> 
> I would be grateful if anyone had an explanation or solution for this issue.
> 
> Thanks.
> 
> -- 
> Regards,
> 
> Howard Bornstein
> ---
> www.designeq.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: DatePicker: Installation instructions

2012-08-29 Thread Andrew Kluthe
Hacked together my own installation method. :) Not as easy to upgrade
it as a substack of my application loader, but it makes using it
throughout all my farm programs easy as pie.

Once, it is registered and unlocked can I just save that registered
copy of the stack and use it where I need it or do I need to register
each time I include it as a substack?

On Wed, Aug 29, 2012 at 6:33 AM, FlexibleLearning
 wrote:
> The installation instructions (inadvertantly omitted) are now included in
> the download.
>
> Copies are available from the DatePicker resource center if you need them...
>
> www.FlexibleLearning.com/datepicker/dprc
>
>
> Hugh Senior
> FLCo
>
>
> ___
> 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



-- 
Regards,

Andrew Kluthe
and...@ctech.me

___
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 Stacks With LiveCode Server

2012-08-29 Thread Gregory Lypny
Hello everyone,

When I try

put the stacksInUse

it comes up empty.  Could there be something missing in y httpd.conf file (Mac 
OS X Mountain Lion)?  The only two lines that I have added under  are

AddHandler livecode-script .lc
Action livecode-script  /cgi-bin/livecode-server

Gregory

___
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: JSON

2012-08-29 Thread Andrew Kluthe
Working with JSON a whole lot with MongoDB over a REST Interface. Mark
Smith's (RIP) libJSON is really nice. As easy as arrayToJson(pArray)
and jsonToArray(pJSON)



On Wed, Aug 29, 2012 at 9:27 AM, Richard Gaskin
 wrote:
> Rod McCall wrote:
>>
>> I am currently developing a server application for a car simulator and
>> part of it may use JSON. I'd appreciate any pointers to tutorials or
>> even links to libraries on how to use JSON in LiveCode, therefore if
>> you have any tips in this direction please let me know. . Otherwise I
>> may have to revert to CSV or XML. From memory LiveCode did have some
>> nice XML features but it's a while since I tried them out.
>
>
> The libJSON stack Andy suggested should work well for what you need:
> 
>
> FWIW, if by chance you're also using RevServer on the server end you may
> find working with encoded arrays even more convenient, and certainly much
> faster.
>
> Compressed encoded arrays have become my favorite transport vehicle for
> data, running them through base64Encode to make them extra network-safe:
>
>   put base64Encode(compress(arrayEncode(tArray))) into tOutData
>
> On the receiving end it's probably best to handle each of the reversing
> functions in a set of "try" statements to avoid execution errors in the
> event that anything happened to the data in transit:
>
> function PayloadToArray pArray
>   try
> put base64Decode(pArray) into pArray
>   catch tErr
> throw "Data not base64-encoded"
>   end try
>   --
>   try
> put decompress(pArray) into pArray
>   catch tErr
> throw "Data not compressed"
>   end try
>   --
>   try
> put arrayDecode(pArray) into pArray
>   catch tErr
> throw "Data not array-encoded"
>   end try
>   --
>   return pArray
> end PayloadToArray
>
>
> Looking at the BSON format used by a growing number of data stores like
> MongoDB, it's a natural compliment to JSON but much more compact and with
> simpler parsing.  But of course if you're writing for a browser client or a
> server over which you have no control over the output, converting to and
> from JSON is about as good as it gets for expressing hierarchical structures
> easily.
>
> But if you're writing for a LiveCode client and use LiveCode on the server,
> LiveCode's encoded arrays are quite similar to BSON in many respects, and
> with the speedy convenience of arrayEncode and arrayDecode they're a joy to
> work with, avoiding the overhead of the more verbose and
> computationally-costly JSON.
>
> With encoded arrays, it's almost like working with native BSON on both sides
> of a client-server system.
>
> --
>  Richard Gaskin
>  Fourth World
>  LiveCode training and consulting: http://www.fourthworld.com
>  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>  Follow me on Twitter:  http://twitter.com/FourthWorldSys
>
>
> ___
> 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



-- 
Regards,

Andrew Kluthe
and...@ctech.me

___
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: JSON

2012-08-29 Thread Richard Gaskin

Rod McCall wrote:

I am currently developing a server application for a car simulator and
part of it may use JSON. I'd appreciate any pointers to tutorials or
even links to libraries on how to use JSON in LiveCode, therefore if
you have any tips in this direction please let me know. . Otherwise I
may have to revert to CSV or XML. From memory LiveCode did have some
nice XML features but it's a while since I tried them out.


The libJSON stack Andy suggested should work well for what you need:


FWIW, if by chance you're also using RevServer on the server end you may 
find working with encoded arrays even more convenient, and certainly 
much faster.


Compressed encoded arrays have become my favorite transport vehicle for 
data, running them through base64Encode to make them extra network-safe:


  put base64Encode(compress(arrayEncode(tArray))) into tOutData

On the receiving end it's probably best to handle each of the reversing 
functions in a set of "try" statements to avoid execution errors in the 
event that anything happened to the data in transit:


function PayloadToArray pArray
  try
put base64Decode(pArray) into pArray
  catch tErr
throw "Data not base64-encoded"
  end try
  --
  try
put decompress(pArray) into pArray
  catch tErr
throw "Data not compressed"
  end try
  --
  try
put arrayDecode(pArray) into pArray
  catch tErr
throw "Data not array-encoded"
  end try
  --
  return pArray
end PayloadToArray


Looking at the BSON format used by a growing number of data stores like 
MongoDB, it's a natural compliment to JSON but much more compact and 
with simpler parsing.  But of course if you're writing for a browser 
client or a server over which you have no control over the output, 
converting to and from JSON is about as good as it gets for expressing 
hierarchical structures easily.


But if you're writing for a LiveCode client and use LiveCode on the 
server, LiveCode's encoded arrays are quite similar to BSON in many 
respects, and with the speedy convenience of arrayEncode and arrayDecode 
they're a joy to work with, avoiding the overhead of the more verbose 
and computationally-costly JSON.


With encoded arrays, it's almost like working with native BSON on both 
sides of a client-server system.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
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: Mobile mapping with native browser control

2012-08-29 Thread ha...@exformedia.se
I have an app with Google maps that got approved recently, as mergMK doesn't 
support way finding yet...
...but I don't have a screenshot where the map is displayed. To me it sounds 
like you are not allowed to use google maps in a screenshot to promote your app 
as that is considered "old" and you should now use the new mapping feature. Or 
maybe they just didn't find the mapping function in my app ;)

:-Håkan


___
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: JSON

2012-08-29 Thread Andrew Henshaw
There is a stack on RevOnline that might help,  I use it in an app and it works 
fine for my needs.

http://revonline2.runrev.com/stack/82/LibJson-1-0b

Andy

On 29 Aug 2012, at 13:16, Rod McCall  wrote:

> Dear All,
> 
> I am currently developing a server application for a car simulator and
> part of it may use JSON. I'd appreciate any pointers to tutorials or
> even links to libraries on how to use JSON in LiveCode, therefore if
> you have any tips in this direction please let me know. . Otherwise I
> may have to revert to CSV or XML. From memory LiveCode did have some
> nice XML features but it's a while since I tried them out.
> 
> Cheers,
> 
> rod
> 
> -- 
> Dr Rod McCall
> Researcher in in-car, mixed reality technology and gaming
> Interdisciplinary Centre for Security, Reliability and Trust
> University of Luxembourg
> Blog: www.rodmc.com twitter:rodlux
> Publications and Information available on my blog
> 
> ___
> 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: Can anyone confirm this possible bug ?

2012-08-29 Thread Mike Bonner
The name of the stack is "revErrorDisplay"  you might check the openstacks
to see if its there somewhere. Maybe it has been minimized? Though mine
un-minimizes on each error, so off the screen is more likely. It doesn't
close between errors and is persistent in whatever location its at.

On Wed, Aug 29, 2012 at 3:00 AM, Alex Tweedly  wrote:

> That's it Mike !  Thank you !!
>
> I had Script Debug Mode off - unintentionally, and had forgotten there was
> such a thing.
> Whn I turned it back on, then the error appeared as expected in the bottom
> pane of the editor window.
>
> No idea what has happened to my error window that should appear when debug
> mode is off; I can't find any windows that appear to be off-screen. (But
> maybe it's gone again by the time I open the msg box and look ??)
> What is the name of that window ?
> Any settings for it I could check ?
>
> Thanks again
> -- Alex.
>
> On 28/08/2012 17:58, Mike Bonner wrote:
>
>> If I have script-debug mode on execution stops and the offending line and
>> error message is shown in the errors pane at the bottom of the script
>> window (as expected).
>>
>> If script debug is off, an error window pops up saying handler not found
>> with a can't find handler error also as expected.
>>
>> Is it possible you have debug mode off and your error window is offscreen
>> or not coming to the front?
>>
>> On Tue, Aug 28, 2012 at 10:35 AM, Alex Tweedly  wrote:
>>
>>  Is this a bug, or a feature, or just something in my environment ?
>>>
>>> Create a new stack, add a button, and make the button script be
>>>
>>>
>>>  on mouseUp pMouseBtnNo
  put "we get here"
  trythis(1)
  put "but do we get to here"
 end mouseUp

  (Yes, I know it's wrong - that's the point :-)
>>>
>>> Compile this script - no error.
>>>
>>> In the card script, put
>>>
>>>  function trythis p
  return 1
 end trythis

  and compile this, then click the button.
>>>
>>> It outputs the first line (i.e. "we get here") and then just stops.
>>> silently.
>>>
>>> If you correct it to
>>>  get trythis(1)
>>> then it all works OK.
>>>
>>> Does this happen for others, or just me ?
>>> Shouldn't there be some kind of error flagged when the button is clicked,
>>> to show that a function has been called as though it were a handler ?  Or
>>> at least to warn that execution has just stopped in mid-flight ?
>>>
>>> Thanks
>>> -- Alex.
>>>
>>>
>>> ___
>>> 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
>>
>
> __**_
> 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


DatePicker: Installation instructions

2012-08-29 Thread FlexibleLearning
The installation instructions (inadvertantly omitted) are now included in
the download.

Copies are available from the DatePicker resource center if you need them...

www.FlexibleLearning.com/datepicker/dprc


Hugh Senior
FLCo


___
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: Can anyone confirm this possible bug ?

2012-08-29 Thread Alex Tweedly

That's it Mike !  Thank you !!

I had Script Debug Mode off - unintentionally, and had forgotten there 
was such a thing.
Whn I turned it back on, then the error appeared as expected in the 
bottom pane of the editor window.


No idea what has happened to my error window that should appear when 
debug mode is off; I can't find any windows that appear to be 
off-screen. (But maybe it's gone again by the time I open the msg box 
and look ??)

What is the name of that window ?
Any settings for it I could check ?

Thanks again
-- Alex.

On 28/08/2012 17:58, Mike Bonner wrote:

If I have script-debug mode on execution stops and the offending line and
error message is shown in the errors pane at the bottom of the script
window (as expected).

If script debug is off, an error window pops up saying handler not found
with a can't find handler error also as expected.

Is it possible you have debug mode off and your error window is offscreen
or not coming to the front?

On Tue, Aug 28, 2012 at 10:35 AM, Alex Tweedly  wrote:


Is this a bug, or a feature, or just something in my environment ?

Create a new stack, add a button, and make the button script be



on mouseUp pMouseBtnNo
 put "we get here"
 trythis(1)
 put "but do we get to here"
end mouseUp


(Yes, I know it's wrong - that's the point :-)

Compile this script - no error.

In the card script, put


function trythis p
 return 1
end trythis


and compile this, then click the button.

It outputs the first line (i.e. "we get here") and then just stops.
silently.

If you correct it to
 get trythis(1)
then it all works OK.

Does this happen for others, or just me ?
Shouldn't there be some kind of error flagged when the button is 
clicked,
to show that a function has been called as though it were a handler 
?  Or

at least to warn that execution has just stopped in mid-flight ?

Thanks
-- Alex.


__**_
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