Re: LC7 Community - Documentation window does not appear

2016-04-27 Thread Kay C Lan
By Docs I assume you mean Dictionary?

What happens if you run this in the message box:

set the loc of stack "revDictionary" to 500,500

Did you ever run LC7 with dual monitors?
___
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: Clearing local variables

2016-04-27 Thread Kay C Lan
On Wed, Apr 27, 2016 at 11:32 PM, Bob Sneidar 
wrote:

>
> well... to be clear, you can in a repeat with x = 1 to n form.


Well to be really clear you NEED to be careful if you intend to modify x or
tVar in both cases:

repeat with x = 1 to the number of items in tVar
repeat for each item x in tVar

If you do not understand what isn't 'variable' and what really gets checked
at each iteration for each style of repeat then you are likely to see some
unexpected results. On the other hand, if do understand what is really
going on, then you can modify x to your advantage in either case. As for
tVar in the 'repeat for each' case, I believe Mark Waddingham has cautioned
that although your scripts might currently work if you modify tVar mid
repeat, LC is NOT guaranteed to behave the same way in the future.

Put the below script (see very bottom) in a button and step through it to
see:

Test 1
put "a,s,d,f" into tVar
repeat with x = 1 to the number of items in tVar
put empty into x
breakpoint
end repeat

--putting empty into x resets the count so this will never end.
--putting a non numeric value into x will cause an error

Test 2
put "a,s,d,f" into tVar
repeat for each item x in tVar
put empty into x
end repeat

--whether empty or any value has no effect and will happily run as expected.

Test 3
put "a,s,d,f" into tVar
repeat with x = 1 to the number of items in tVar
delete item 1 to x of tVar
end repeat

--you probably expect this to loop 3 times but it doesn't, it does an
unexpected 4th loop.

Test 4
put "a,s,d,f" into tVar
put 0 into tCount
repeat for each item x in tVar
delete item 1 to (tCount + 1) of tVar
add 1 to tCount
end repeat

--you probably expect this to loop 3 times but it doesn't, it does an
unexpected 4th loop.
--not guaranteed to behave this way in the future

Test 5
put "a,s,d,f" into tVar
repeat with x = 1 to the number of items in tVar
put comma & item 1 to x of tVar after tVar
end repeat

--you probably expect this to run forever, but it doesn't

Test 6
put "a,s,d,f" into tVar
put 0 into tCount
repeat for each item x in tVar
put comma & item 1 to (tCount + 1) of tVar after tVar
add 1 to tCount
end repeat

--you probably expect this to run forever, but it doesn't
--not guaranteed to behave this way in the future


The whole script:
on mouseUp
   breakpoint
   put "a,s,d,f" into tVar
   put "Test 1" into msg
   put 0 into tCount
   repeat with x = 1 to the number of items in tVar
  put empty into x
  add 1 to tCount
  if tCount > 4 then
put cr & "FAILED" after msg
exit repeat
  end if
   end repeat
   put cr & "Final x: " & x after msg
   put cr & "Count: " & tCount after msg
   put cr & cr & "Test 2" after msg
   put 0 into tCount
   repeat for each item x in tVar
  put empty into x
  add 1 to tCount
   end repeat
   put cr & "Final x: " & x after msg
   put cr & "Count: " & tCount after msg
   put cr & cr & "Test 3" after msg
   put 0 into tCount
   breakpoint
   repeat with x = 1 to the number of items in tVar
  delete item 1 to x of tVar
  add 1 to tCount
   end repeat
   put cr & "Final x: " & x after msg
   put cr & "Count: " & tCount after msg
   put cr & cr & "Test 4" after msg
   put "a,s,d,f" into tVar
   put 0 into tCount
   breakpoint
   repeat for each item x in tVar
  delete item 1 to (tCount + 1) of tVar
  add 1 to tCount
   end repeat
   put cr & "Final x: " & x after msg
   put cr & "Count: " & tCount after msg
   put cr & cr & "Test 5" after msg
   put "a,s,d,f" into tVar
   put 0 into tCount
   breakpoint
   repeat with x = 1 to the number of items in tVar
  put comma & item 1 to x of tVar after tVar
  add 1 to tCount
   end repeat
   put cr & "Final x: " & x after msg
   put cr & "Count: " & tCount after msg
   put cr & cr & "Test 6" after msg
   put "a,s,d,f" into tVar
   put 0 into tCount
   breakpoint
repeat for each item x in tVar
  put comma & item 1 to (tCount + 1) of tVar after tVar
  add 1 to tCount
   end repeat
   put cr & "Final x: " & x after msg
   put cr & "Count: " & tCount after msg
end mouseUp
___
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: Query for valid email

2016-04-27 Thread Mike Bonner
This might be useful..
http://lifehacker.com/5697360/how-to-verify-if-an-email-address-is-real-or-fake
The synopsis is..
1. nslookup to find the mx servers
2. open a port to one of the servers for the address in question and
interact with it to find out if the account exists.
Based on the article, this lets you find out if the account exists or not,
even if there is a "catchall" email address.


On Wed, Apr 27, 2016 at 6:12 PM, Skip Kimpel  wrote:

> Is there a quick way to script out a process to validate if an email
> address is valid against the mail sever you are sending it to?  We are
> trying to scrub a large list of old emails to see if they are still valid
> or not.
>
> Your input would be most appreciated.
> ___
> 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


Query for valid email

2016-04-27 Thread Skip Kimpel
Is there a quick way to script out a process to validate if an email address is 
valid against the mail sever you are sending it to?  We are trying to scrub a 
large list of old emails to see if they are still valid or not.

Your input would be most appreciated.  
___
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: inheriting a custom property from a supergroup ("effective" custom property)

2016-04-27 Thread Monte Goulding
Actually if not being set has value then I don't think you want effective 
either. I think you need a property on any parent that should be ignored when 
recursing through the hierarchy.

Sent from my iPhone

> On 28 Apr 2016, at 9:49 AM, Dr. Hawkins  wrote:
> 
> I suppose that what I'm really looking for is "the effective unDna of me",
> but there does't seem a language provision to implement that


___
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


inheriting a custom property from a supergroup ("effective" custom property)

2016-04-27 Thread Dr. Hawkins
I have an id number, call it unDna, for entries in my database.  When
elements are displayed or manipulated, either the card or the group I've
placed has unDna set as a custom property.

The handlers for close field check for a unDna of the field or the owner of
a field.

This backfires, though, if the field is in a subgroup, or a subsubgroup,
etc.

I'm trying to think of a clean way to handle this; to this point, I've used
"the unDna of the owner of me"

I could recursively climb ownership, looking for a unDna that has been
set--but not being set indicates that it's a different type of data.

Or I could, on creation, cycle through groups and set unDna for all the
fields, or all the groups, but that sounds ugly and prone to error.

I suppose that what I'm really looking for is "the effective unDna of me",
but there does't seem a language provision to implement that.

ideas?

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


LC7 Community - Documentation window does not appear

2016-04-27 Thread Robert Mann
Hi i'm getting back into livecodde and have the surprise that the doc window
does not open.

When I click on the doc icon, it looks like something happens and in the
list of windows, the documentation appears rightly. But cannot be seen!

same if I call it from the menu.

context :: LC 7.13  on mac os X 10.7.4

(it's all right with version 6.5 commercial on same machine.)

Any hint? thanks



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/LC7-Community-Documentation-window-does-not-appear-tp4703919.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: how to create a Custom Control

2016-04-27 Thread Richard Gaskin

Sannyasin Brahmanathaswami wrote:

> I’m still trying to wrap my head around the use cases where a widget
> will be clearly superior architecture.

Widgets are a great choice when you're making a GUI element you expect 
to share with other developers for use across a wide range of 
applications.  They're easier to share and to update.


And if you need to use OS API calls, LC Builder is your go-to choice for 
that, such as a Widget that implements a control that takes on standard 
OS-savvy appearances on both iOS and Android.


Editable text is not currently supported in Widgets, but that'll likely 
come down the road.  For now GUI elements needing editable text would 
need to be Custom Controls.


For myself, most of the CCs I make are application-specific.  They're 
easy enough to make in LC Script that the benefit of doing so is a 
non-brainer.  For ad hoc gadgets, like anything else in LC Script 
they're a breeze to make.


I think Kevin said best back in August in a discussion of when to choose 
LCS and LCB:


   I think this is a really important principal. Always use
   the highest level language you can for any given project.
   Offering that very high level language option is a big
   part of LiveCode's reason for being.

   Previously our primary choices were between LiveCode Script
   and a lower level language such as C. Now we have a third
   choice, an intermediate LiveCode Builder. Its much faster
   [to develop in] than C but slower than Script. It is going
   to excel at certain tasks. However we should always choose
   to use it only when it offers clear advantages above
   LiveCode Script for the project that outweigh the extra
   level of effort needed to use it. I know its very tempting
   having added a whole new language to build everything in
   that, but we must carefully resist that temptation and use
   it judiciously, only for what it is best at.



--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web

ambassa...@fourthworld.com http://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: how to create a Custom Control

2016-04-27 Thread Sannyasin Brahmanathaswami
On 4/27/16, 5:38 AM, "use-livecode on behalf of Richard Gaskin" 
 
wrote:



>A custom control is just a group of other controls put together to 
>provide something, well, custom.


I would like to take this one step further if that does not overstep the scope 
of this thread:

How easy or hard, is it to take such a group and turn it into a widget?

I.e. Text based. And, would that be better or not and why?

Is there an online repository of widget examples? 

Of course you might think this is over kill since why waste time doing an lcb 
“thing” to create binary objects that are easier done in the IDE/GUI… But then, 
you have the binary control and the external behavior script.. .
Where as a widget is 100% self-contained; and some small groups I have in front 
of me, that I’m currently replicating across many cards are super simple:

group: 
Name: [Some Group Acting As Big Button/many copies in the UI]
Bkgnd grc; params: color, rect, radius
1 text field; params: fonts size, style and position
1 image; params: rect + path to image on disk

On mouseup script

How hard would that be to describe as an lbc/widget text object? dunno, me 
thinks pretty easy...

Musings:

I’m still trying to wrap my head around the use cases where a widget will be 
clearly superior architecture.
The GIT version control immediately comes to mind… because the binary control 
as a native LC object will have to be contained in a stack of some sort. As 
such it lives outside GIT control options. Perhaps there are other reasons.

E.g. common bottom tab/tool bar on an app with several icons, that needs needs 
to be incorporated into X number of separate stacks… kinda shouts out “Widget!”


Thoughts?

BR
___
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: Windows Media

2016-04-27 Thread Peter Bogdanoff
Great news!

Peter Bogdanoff

On Apr 27, 2016, at 6:52 AM, Tiemo Hollmann TB  wrote:

> _2016_ sounds great! :)
> Tiemo
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
> von Peter TB Brett
> Gesendet: Mittwoch, 27. April 2016 15:43
> An: How to use LiveCode 
> Betreff: Re: AW: Windows Media
> 
> 
> 
> On 27/04/2016 14:38, Tiemo Hollmann TB wrote:
>> To make plans. Just a guess from the crowd - when would you expect to 
>> see a GM 8.1? 6 month from now? 1 year? Or more?
> 
> I'd not expect it before June 14th at the earliest, depending on how we get
> on.
> 
> That's June 14th _2016_, by the way.
> 
>  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
> 
> 
> ___
> 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: how to create a Custom Control

2016-04-27 Thread Richard Gaskin

Todd Fabacher wrote:

> I have a simple question. Sorry for my ignorance, but how does one
> create a Custom Control from a group? It seems to be just a group,
> but somehome there is a way to set the group to be a Custom Control.
> Is a "Custom Control" a defined stack in the Plugins folder?

A custom control is just a group of other controls put together to 
provide something, well, custom.


In many (if not most) cases it's helpful to set the group's 
selectGroupedControls property to false, so that the user can interact 
with it using the pointer tool without touching its interior controls, 
even if the global selectGroupedControls property may be true (the group 
property effectively overrides the global property).


Most custom controls benefit from using a behavior script, so you can 
use copied of the control anywhere and keep the code in one place for 
simpler maintenance and enhancement.


Depending on the nature of the control, it can be useful to take 
advantage of before and after message types in the behavior script, so 
the functionality the behavior provides can be reliably performed 
regardless whether the user traps the same message with a simple "on".


That's it.  Not much to them, and that's the beauty of custom controls: 
 they make great ad hoc solutions for a wide range of reusable 
components in an app because they can be built with all the development 
efficiencies LiveCode script provides.


--
 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: Sending email over SMTP with STARTTLS (sending email via gmail)

2016-04-27 Thread Bob Sneidar
But if the encryption is not enabled at the source, it is still locally 
sniffable, and therefore non-HIIPA compliant, not to mention any government or 
contractor regulations that may apply.

Bob S


On Apr 27, 2016, at 08:22 , Mike Kerner 
mailto:mikeker...@roadrunner.com>> wrote:

We have a similar setup.  We get around this another way, namely by routing
smtp connections through a local ISP, which gets rid of the need to do all
the direct-to-google connections.

On Wed, Apr 27, 2016 at 11:06 AM, Bob Sneidar 
mailto:bobsnei...@iotecdigital.com>>
wrote:

This comes up from time to time. I've attempted this with no success. SSL
and TLS are fairly involved, and would require some kind of plug-in to be
written which was capable of interacting with the security elements of
modern OSes. I tried shelling this out, but the Windows CMD shell,
specifically the telnet client, has no access to TLS libraries so far as I
know.

___
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: Clearing local variables

2016-04-27 Thread Bob Sneidar

On Apr 22, 2016, at 13:04 , stephen barncard 
mailto:stephenrevoluti...@barncard.com>> wrote:

you  don't want to mess with the index variable in a repeat loop

well... to be clear, you can in a repeat with x = 1 to n form. It's in the 
repeat for each form you want to avoid modifying the source data. To my 
knowledge modifying the index (if by index you mean the x) will not cause a 
problem.

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: Sending email over SMTP with STARTTLS (sending email via gmail)

2016-04-27 Thread Mike Kerner
We have a similar setup.  We get around this another way, namely by routing
smtp connections through a local ISP, which gets rid of the need to do all
the direct-to-google connections.

On Wed, Apr 27, 2016 at 11:06 AM, Bob Sneidar 
wrote:

> This comes up from time to time. I've attempted this with no success. SSL
> and TLS are fairly involved, and would require some kind of plug-in to be
> written which was capable of interacting with the security elements of
> modern OSes. I tried shelling this out, but the Windows CMD shell,
> specifically the telnet client, has no access to TLS libraries so far as I
> know.
>
> There is a neat little utility called SMTPConsole for Windows where the
> author has built an app which is nothing more than a TELNET shell with
> SSL/TLS libraries built in. I use it to test SMTP connections in the field.
> It may be possible to contact that person and see if you can get access
> to/purchase his libraries and incorporate them into an SSL/TLS library for
> LC.
>
> The best workaround for this is to use a local open relay running on a
> windows server (windows clients do not have this feature built in but there
> are 3rd party offerings which can do this). The relay is then responsible
> for encrypting the traffic. The bugaboo about this method is that anyone
> sniffing the local traffic can see everything being transmitted, so this is
> not a good solution for a HIIPA site, for example.
>
> Bob S
>
>
> > On Apr 15, 2016, at 04:17 , Ben Rubinstein  wrote:
> >
> > I have a venerable app which does some automated work on a schedule, and
> emails a report.
> >
> > The app uses Shao Sean's libSmtp, dating back to 2005. It's typically
> set up using an organisation's internal SMTP server to send email.
> >
> > Now my client has switched to using Google Apps for business, and asked
> me to switch the app to using a gmail account they've set up for the
> purpose to send emails.  Entering the credentials they provided fails with
> a nessage inb the log "530 5.7.0 Must issue a STARTTLS command first".
> >
> > Evidently this is all part of the shift to encrypting all communications
> (so it's the FBI's fault!).  I don't think libSMTP handles this bit of the
> protocol - and I don't know whether it even can be done through LiveCode,
> since my understanding is that this requires SSL/TLS support.
> >
> > Is it possible to send email over SMTP with TLS using LiveCode?
> >
> > Has anyone managed to send emails by SMTP to gmail server?
> >
> > Many thanks,
> >
> > Ben
> >
> > ___
> > 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: Multiple Threads

2016-04-27 Thread Bob Sneidar

On Apr 20, 2016, at 16:51 , Lyn Teyla 
mailto:lyn.te...@gmail.com>> wrote:

Bob Sneidar wrote:

So I think I've isolated why it is that virtually every post on this list ends 
up creating multiple threads in my email application. Lots of people are 
*STILL* using 
use-revolut...@lists.runrev.com. 
Because of this I start reading the replies to a post before I ever see the 
original issue.

Given that the company has changed its name to LiveCode Ltd and its corporate 
domain to livecode.com, even the 
@lists.runrev.com portion of the address seems rather 
outdated and potentially confusing.

Here’s a straightforward solution that LiveCode Ltd could implement:

1. Move the mailing list to 
use-livec...@lists.livecode.com.

2. Remove the existing email aliases/forwarding setup on 
use-revolut...@lists.runrev.com.

3. Set up an autoresponse for both 
use-revolut...@lists.runrev.com and 
use-livecode@lists.runrev.com that says 
something like this:

"Thank you for sending an email to 
use-revolut...@lists.runrev.com. Our 
mailing list email has changed to 
use-livec...@lists.livecode.com. Please 
resend your message (and all future list messages) to that address."

Bam! Bob’s multiple-thread issue is solved, and any potential confusion 
concerning the use of "runrev" is eliminated.

Lyn


Brilliant! I'll take 2 of them! Maybe even 3! :-)

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: clear recent files list from the menu

2016-04-27 Thread Bob Sneidar

On Apr 19, 2016, at 07:22 , Richard Gaskin 
mailto:ambassa...@fourthworld.com>> wrote:

If it doesn't work like it says on the tin it's a bug.

If there's bugs in the tin, you may have a decent lawsuit on your hands. :-)

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: Sending email over SMTP with STARTTLS (sending email via gmail)

2016-04-27 Thread Bob Sneidar
This comes up from time to time. I've attempted this with no success. SSL and 
TLS are fairly involved, and would require some kind of plug-in to be written 
which was capable of interacting with the security elements of modern OSes. I 
tried shelling this out, but the Windows CMD shell, specifically the telnet 
client, has no access to TLS libraries so far as I know. 

There is a neat little utility called SMTPConsole for Windows where the author 
has built an app which is nothing more than a TELNET shell with SSL/TLS 
libraries built in. I use it to test SMTP connections in the field. It may be 
possible to contact that person and see if you can get access to/purchase his 
libraries and incorporate them into an SSL/TLS library for LC. 

The best workaround for this is to use a local open relay running on a windows 
server (windows clients do not have this feature built in but there are 3rd 
party offerings which can do this). The relay is then responsible for 
encrypting the traffic. The bugaboo about this method is that anyone sniffing 
the local traffic can see everything being transmitted, so this is not a good 
solution for a HIIPA site, for example. 

Bob S


> On Apr 15, 2016, at 04:17 , Ben Rubinstein  wrote:
> 
> I have a venerable app which does some automated work on a schedule, and 
> emails a report.
> 
> The app uses Shao Sean's libSmtp, dating back to 2005. It's typically set up 
> using an organisation's internal SMTP server to send email.
> 
> Now my client has switched to using Google Apps for business, and asked me to 
> switch the app to using a gmail account they've set up for the purpose to 
> send emails.  Entering the credentials they provided fails with a nessage inb 
> the log "530 5.7.0 Must issue a STARTTLS command first".
> 
> Evidently this is all part of the shift to encrypting all communications (so 
> it's the FBI's fault!).  I don't think libSMTP handles this bit of the 
> protocol - and I don't know whether it even can be done through LiveCode, 
> since my understanding is that this requires SSL/TLS support.
> 
> Is it possible to send email over SMTP with TLS using LiveCode?
> 
> Has anyone managed to send emails by SMTP to gmail server?
> 
> Many thanks,
> 
> Ben
> 
> ___
> 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: Anyone have any LiveCode hooks to WordPress? And, are you following these Word Camp events

2016-04-27 Thread Bob Sneidar
On Apr 14, 2016, at 18:20 , Todd Fabacher 
mailto:tfabac...@gmail.com>> wrote:

It addiction we have a complete and detailed wrap

Wraps are good, especially the barbecue chicken wraps, but calling them an 
addiction may me overstating your case. ;-)

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: 8.0.0 RC1 - Where is the "Remove Group" option in menus

2016-04-27 Thread Bob Sneidar
Select the group on the card and hit delete. If you don't want it to be removed 
from the stack, and it's the last placed example, create another card and place 
all your persistent groups on that card, so there is at least one card with the 
group placed. 

Bob S


> On Apr 14, 2016, at 19:35 , Sannyasin Brahmanathaswami  
> wrote:
> 
> If you want to remove a group from a card, but not the whole stack
> 
> Where in the menus is the choice for this?
> 
> BR
> ___
> 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: AW: Windows Media

2016-04-27 Thread Tiemo Hollmann TB
_2016_ sounds great! :)
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Peter TB Brett
Gesendet: Mittwoch, 27. April 2016 15:43
An: How to use LiveCode 
Betreff: Re: AW: Windows Media



On 27/04/2016 14:38, Tiemo Hollmann TB wrote:
> To make plans. Just a guess from the crowd - when would you expect to 
> see a GM 8.1? 6 month from now? 1 year? Or more?

I'd not expect it before June 14th at the earliest, depending on how we get
on.

That's June 14th _2016_, by the way.

  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


___
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: Windows Media

2016-04-27 Thread Peter TB Brett



On 27/04/2016 14:38, Tiemo Hollmann TB wrote:

To make plans. Just a guess from the crowd - when would you expect to see a
GM 8.1? 6 month from now? 1 year? Or more?


I'd not expect it before June 14th at the earliest, depending on how we 
get on.


That's June 14th _2016_, by the way.

 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


AW: Windows Media

2016-04-27 Thread Tiemo Hollmann TB
To make plans. Just a guess from the crowd - when would you expect to see a
GM 8.1? 6 month from now? 1 year? Or more?
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB
Gesendet: Mittwoch, 27. April 2016 13:52
An: 'How to use LiveCode' 
Betreff: AW: Windows Media

Hi Kevin,
that are really good news!
Hoping to see it soon
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Kevin Miller
Gesendet: Mittwoch, 27. April 2016 12:12
An: How to use LiveCode 
Betreff: Windows Media

I intended to provide an update on this a little while back but forget,
apologies. The new player for Windows, which uses DirectShow within the
existing player object instead of QuickTIme will be in 8.1, with a DP build
either next week or in three weeks time depending on how various things go.

Kind regards,

Kevin

Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps



___
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: [on-rev] connection ok, but ftp command "timeout" (again)

2016-04-27 Thread Robert Mann
Ok thanks I've send a msg to on-rev support.




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/on-rev-connection-ok-but-ftp-command-timeout-again-tp4703900p4703903.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


AW: Windows Media

2016-04-27 Thread Tiemo Hollmann TB
Hi Kevin,
that are really good news!
Hoping to see it soon
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Kevin Miller
Gesendet: Mittwoch, 27. April 2016 12:12
An: How to use LiveCode 
Betreff: Windows Media

I intended to provide an update on this a little while back but forget,
apologies. The new player for Windows, which uses DirectShow within the
existing player object instead of QuickTIme will be in 8.1, with a DP build
either next week or in three weeks time depending on how various things go.

Kind regards,

Kevin

Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps



___
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: [on-rev] connection ok, but ftp command "timeout" (again)

2016-04-27 Thread Peter TB Brett

On 27/04/2016 12:07, Robert Mann wrote:

Hi, I'm puzzled,

I've been working on a site on my on-rev account last evening/night.
I use Interarchy ftp app on mac. All was fine.

But then the ftp connection stopped working while I uploaded a file.
And does not seem to come back to a workable state.

At that point, i was asked to type in the ftp password again, which is
stored in the bookmarks, so I found that a little strange, like something
got scrambled.

It happened to me earlier on a few weeks ago and disappeared!?
(are there any ghosts on the server!!)

But it is still not working.


Hi Robert,

The quickest way to get a response to this issue is going to be to 
contact On-Rev support.


   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


[on-rev] connection ok, but ftp command "timeout" (again)

2016-04-27 Thread Robert Mann
Hi, I'm puzzled,

I've been working on a site on my on-rev account last evening/night.
I use Interarchy ftp app on mac. All was fine.

But then the ftp connection stopped working while I uploaded a file.
And does not seem to come back to a workable state.

At that point, i was asked to type in the ftp password again, which is
stored in the bookmarks, so I found that a little strange, like something
got scrambled.

It happened to me earlier on a few weeks ago and disappeared!?
(are there any ghosts on the server!!)

But it is still not working.

Any hint? thanks.
Robert

--
transcript of connection : 
-

220-- Welcome to Pure-FTPd [privsep] [TLS] --
220-You are user number 1 of 50 allowed.
220-Local time is now 07:28. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
AUTH TLS
234 AUTH TLS OK.
SSL Certificate verify failed: unable to get local issuer certificate (20)
Certificate error 20
§PBSZ 0
§200 PBSZ=0
§PROT P
§200 Data protection level set to "private"
§USER @.on-rev.com
§331 User §@rman.on-rev.com OK. Password required
§PASS *
§230 OK. Current restricted directory is /
§PWD
§257 "/" is your current location
§TYPE A
§200 TYPE is now ASCII
§CWD /public_html/mysite.com
§250 OK. Current directory is /public_html/mysite.com
§PASV
§227 Entering Passive Mode (50,28,38,223,248,210)
§LIST
§QUIT

The list command does not get through, and the action is timed-out.




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/on-rev-connection-ok-but-ftp-command-timeout-again-tp4703900.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: model oriented programming

2016-04-27 Thread Robert Mann
The GSL tool described at the end of the document linked is very similar to
livecode-server.
Thanks for the link, it rang a bell in my mind!

So with LC server, have these two tools for abstraction :
-- procedure oriented : script
-- object/hierchy oriented : html (& interface objects for LC "cards")

But that came so much integrated in the first ".irev" files, that sometimes
ended like just a few rather big files, that that distinction was not so
clear.

In particular, I remember I used to "code" html parts of a site with
procedures "put start tag() & content & end tag() after tPage". And the
result was merged into a "view" file that has placers (revIgniter).

BI now tend more and more to use separate html "chunks" where I insert
variables placers, very much like the "view.lc" in revIgniter. That's what I
did to digest recent bootstrap evolution. So in the end.. gradually.. I come
to really separate more the procedures, organized in libraries, and html
snippets with variable placers, stored into fields or custom props of
dedicated libraries.

And I also store datas in LC cards and fields, so I can test server scripts
on desktop, but that is another story. Thanks for the link.






--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/model-oriented-programming-tp4703821p4703899.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: Windows Media

2016-04-27 Thread Klaus major-k
Hi Kevin,

> Am 27.04.2016 um 12:11 schrieb Kevin Miller :
> 
> I intended to provide an update on this a little while back but forget,
> apologies. The new player for Windows, which uses DirectShow within the
> existing player object instead of QuickTIme will be in 8.1, with a DP
> build either next week or in three weeks time depending on how various
> things go.
> 
> Kind regards,
> 
> Kevin
> 
> Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps

YEAH! :-)

And Kudos to Mark W.!


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


Windows Media

2016-04-27 Thread Kevin Miller
I intended to provide an update on this a little while back but forget,
apologies. The new player for Windows, which uses DirectShow within the
existing player object instead of QuickTIme will be in 8.1, with a DP
build either next week or in three weeks time depending on how various
things go.

Kind regards,

Kevin

Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps



___
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: LC 8: Go stack doesn't work anymore?

2016-04-27 Thread Tiemo Hollmann TB
Finally I solved this issue, due to my program design.
While starting up my "main" program, I opened a small helper stack in modal
mode and hided it directly.
With LC 8 on  OS X 10.11 this prevented obviously the main stack to show up,
though it was opened. (On Windows it worked this way). The result was, that
in the standalone it looked like the main stack never was reached by my "go
to".  I removed the modal of my helper stack and now everything is fine.
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Peter Bogdanoff
Gesendet: Dienstag, 26. April 2016 19:43
An: How to use LiveCode 
Betreff: Re: LC 8: Go stack doesn't work anymore?

If you are opening a stack for the first time (it is not in memory) then you
have to specify the full URL for the stack file (including “.livecode” if
that is in the filename of the stack). After that, the stack can be accessed
by only the name of the stack within LiveCode.

I’m seeing it work properly in LC8.

Peter Bogdanoff
UCLA

On Apr 26, 2016, at 6:35 AM, Tiemo Hollmann TB  wrote:

> I have created a test stack, where "go stack" works as expected.
> So I assume there must be something in the target stack, what either 
> causes an error when launching in a LC 8 standalone, or something 
> which just closes the target stack, after being opened. Nevertheless 
> the behavior is different between LC 6 and 8. I have to go on searching.
> Tiemo
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von Tiemo Hollmann TB
> Gesendet: Dienstag, 26. April 2016 11:57
> An: LiveCode User Liste senden 
> Betreff: LC 8: Go stack doesn't work anymore?
> 
> Hello,
> 
> This worked fine up to LC 6 (7 not tested), but doesn't works with the 
> same stack on LC 8
> 
> I have a splash stack, which is the LC standalone. At the end of 
> making some checks I open my "main" stack (as a stack file) and hide the
splash stack.
> 
> Go stack myStackFile.Livecode (I also tried: go card 1 of stack 
> myStackFile)
> 
> On windows myStackFile.LiveCode resides in the same folder as my 
> standalone, on Mac it resides in the /Contents/MacOS/ folder of my 
> standalone
> 
> On windows this still works in LC 8 as in LC 6, but on OS X 10.11 just 
> nothing happens. No error, the result is empty, but 
> myStackFile.LiveCode is not opened, just nothing happens. In the IDE 
> on Mac the file opens, but doesn't comes to front. I only find it in the
window menu of the IDE.
> 
> I can't think this could be a bug, because it's something so standard, 
> but I also didn't found anything what could have changed in LC 8.
> 
> Any help appreciated.
> 
> 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
> 
> 
> ___
> 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: AW: OT: Who can convert 3.5" diskettes with Hypercard stacks for me?

2016-04-27 Thread Mark Schonewille
Keep in mind that most floppy drives only read 1.4MB MS DOS disks. They 
won't read 800K Macintosh disks.


Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 27-Apr-16 om 11:51 schreef Tiemo Hollmann TB:

Thanks all for your help offers and advices,
I will first buy a floppy drive and try it myself, if I fail I will get back
to your offers.
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von RM
Gesendet: Dienstag, 26. April 2016 19:54
An: How to use LiveCode 
Betreff: Re: OT: Who can convert 3.5" diskettes with Hypercard stacks for
me?

I'm perfectly happy to transfer Hypercard stacks from floppy disks to a
CD-ROM as I have
2 functioning Macs (a G3 iMac and a G5 iMac) and an external (USB) floppy
drive.

However, I wonder why you don't just buy yourself an external floppy drive:

http://www.amazon.de/CSL-Externes-Diskettenlaufwerk-Slimline-portable/dp/B00
AU07SUA/ref=sr_1_1?ie=UTF8&qid=1461693221&sr=8-1&keywords=floppy+drive+usb

Richmond.

On 26.04.2016 10:04, Tiemo Hollmann TB wrote:

Hello,

I have some 3.5" diskettes from my Mac from the beginning 90th with
some HyperCard stacks which I just regained again.

The HyperCard stacks are not vital for me, but if possible I would
like to see them again (converted to LC), just as a memory.

Is there anybody, who still has a Mac with diskette drive, who could
copy the content for me? Best somebody in Europe for easier shipping?



And is there a recipie, if and how I can convert HC stacks to LC
format? I think I have read from time to time that it should be possible.



Thanks

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



___
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


AW: OT: Who can convert 3.5" diskettes with Hypercard stacks for me?

2016-04-27 Thread Tiemo Hollmann TB
Thanks all for your help offers and advices,
I will first buy a floppy drive and try it myself, if I fail I will get back
to your offers.
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von RM
Gesendet: Dienstag, 26. April 2016 19:54
An: How to use LiveCode 
Betreff: Re: OT: Who can convert 3.5" diskettes with Hypercard stacks for
me?

I'm perfectly happy to transfer Hypercard stacks from floppy disks to a
CD-ROM as I have
2 functioning Macs (a G3 iMac and a G5 iMac) and an external (USB) floppy
drive.

However, I wonder why you don't just buy yourself an external floppy drive:

http://www.amazon.de/CSL-Externes-Diskettenlaufwerk-Slimline-portable/dp/B00
AU07SUA/ref=sr_1_1?ie=UTF8&qid=1461693221&sr=8-1&keywords=floppy+drive+usb

Richmond.

On 26.04.2016 10:04, Tiemo Hollmann TB wrote:
> Hello,
>
> I have some 3.5" diskettes from my Mac from the beginning 90th with 
> some HyperCard stacks which I just regained again.
>
> The HyperCard stacks are not vital for me, but if possible I would 
> like to see them again (converted to LC), just as a memory.
>
> Is there anybody, who still has a Mac with diskette drive, who could 
> copy the content for me? Best somebody in Europe for easier shipping?
>
>   
>
> And is there a recipie, if and how I can convert HC stacks to LC 
> format? I think I have read from time to time that it should be possible.
>
>   
>
> Thanks
>
> 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


___
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: Being silly with penguins

2016-04-27 Thread Mark Mitchell
Sorry, I joined this thread late.  I did something like this in 2003, and it 
worked great, and I used an animated gif for the animation.

Checkout the built-in property ‘the repeatcount’ in the dictionary.
Then, then set the icon of your button to the animated gif (hide the gif 
somewhere).
Then, the button script is as trivial as 

on Mousedown
set the repeatCount of image "runningMan" to -1
—the gif will now run continuously
 set the uAllowMove of me to true
—this is only if you want to turn the moving ability of the button to on/off
end MouseDown

on mouseMove x,y
  if not the uAllowMove of me then exit mouseMove
  
  set the loc of me to (max(35,min(zaWide,x))),(max(35,min(zaHigh,y)))
—zaWide and zaHigh are the width and height of the stack, keeps the button on 
the page, so you don’t lose it
end mouseMove

on MouseUp
set the uAllowMove of me to empty
  set the repeatCount of image "runningMan" to 0
—this stops the animation
do other stuff
— e.g. check to see if they have moved the button to the right place

end Mouseup

This worked very well (totally smooth dragging and animation) on the processors 
available in 2003.
I just checked it again on LC 7.1, and it still seems to work fine.
Hope that helps!

Best,

Mark Mitchell








___
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: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-27 Thread Kay C Lan
On Wed, Apr 27, 2016 at 1:34 AM, Sannyasin Brahmanathaswami  wrote:

> I think the default behavior should be that if you click on white space in
> the field, lines are unhilited.
>
> This is very intuitive for any user/use case, because hilites occur when
> the object you mouse on is under the mouse. So having the hilite go away
> when click on white space makes “natural sense”
>

Does it?

Open the LC script editor for any object that has handlers and click in the
blank space below the list of handlers in the left hand column.

Open LC's Preferences and click the blank space below the list of
Preference Categories in the left hand column.

I believe you are on Mac: Open System Preferences:

Network and click below the list of Network ports in the left hand column.

Printer & Scanners and click below the list of Printers and Scanners in the
left hand column.

As you propose to make the default behaviour of a list field to unhilite
the line when you click the blank area, what should happen in the above
cases?

I believe you use BBEdit. It has a preference where you can open multiple
documents in a single window and they are listed down the left hand side (I
have 22 open at the moment) with the current document you are editing
hilited. If you click below the list of documents then the hilite is
removed, as you propose, but the document you are editing in the right hand
field remains visible. You can continue to edit the document and the List
Field on the left does not rehilite to confirm which document you are
editing. This is BAD BAD BAD!

I can't see why you'd want the left list field of handlers in the LC Script
Editor to behave like this.

So the questions then becomes, if the List Field default behaviour is
changed to what you suggest, how then do you script to cover the very many
cases like the LC Script Editor, System Preferences Network etc where you
want to display the current selection and list all valid options but NOT
allow for no selection?

Whilst you "can’t imagine any possible backwards compatibility issues" I
can only imagine a host of very unwanted issues and side effects. I use a
LOT of list fields where 'no selection' is not an option.

Now I'm not saying that I can't see a case for 'no selection', I most
certainly can, the Mac Finder a perfect example, it just seems to be that
you in either case you have to write your script to suit. The List Field is
what it is, it's been that way since birth, you script one way to get one
behaviour, you have to script another way if your needs are different.

I see no advantage in changing it because you'll still end up needed to
script differently for different situations.
___
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