Re: Only one navigation bar widget?

2016-09-22 Thread William Prothero
Jackie:
Not sure I did. But I’ll check and get back. I think (but I’m not at work time 
now) that I just let the widgets take the default name they had when I dragged 
them onto the stack.
Bill

> On Sep 22, 2016, at 8:33 PM, J. Landman Gay  wrote:
> 
> Did you give each widget a different name?
> 
> On 9/22/16 6:52 PM, William Prothero wrote:
>> I had the first card with two navigation widgets on it, one
>> in a group and another not in one. A second card had the grouped
>> widget and another one to do ops on that card. Monte, by the time I
>> got back to my email, I had made a workaround, but I did make a test
>> stack with a widget in a group and two others on two added cards.
>> Hmm….. it included both widgets in the simulator.  Perhaps I should
>> have tried to quit and restart. I can’t reproduce the situation.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Only one navigation bar widget?

2016-09-22 Thread J. Landman Gay

Did you give each widget a different name?

On 9/22/16 6:52 PM, William Prothero wrote:

I had the first card with two navigation widgets on it, one
in a group and another not in one. A second card had the grouped
widget and another one to do ops on that card. Monte, by the time I
got back to my email, I had made a workaround, but I did make a test
stack with a widget in a group and two others on two added cards.
Hmm….. it included both widgets in the simulator.  Perhaps I should
have tried to quit and restart. I can’t reproduce the situation.


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

iOS font issue - iPhone 6 + 6S not using custom font

2016-09-22 Thread Alan
Has anyone else seen a custom font (imported using the Copy Files part of 
Standalone builder) not being used in iPhone 6 and 6S, but it works ok with 
anything earlier?  This is on Simulator 8.2.

Strange that there's this anomaly, isn't it?

Using LC 8.1.

cheers

Alan
--
Alan Stenhouse
alanstenho...@hotmail.com

Check out our apps on the App Store:

BeatSpeak - the multilingual talking metronome
EV-Point - Find your nearest Electric Vehicle Recharge Station.
Re-Collections - Make your family history come to life. Every picture tells 
your story.


___
use-livecode mailing list
use-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: The name of the property to trace scripts into the IDE

2016-09-22 Thread Mark Wieder


On 09/22/2016 01:24 PM, Dr. Hawkins wrote:


global gRevDevelopment; put true into gRevDevelopment



Unfortunately, it's not getting me there.


 one of the problems with setting gRevDevelopment to true is that 
you expose yourself to bugs and unremoved breakpoints in the IDE stacks. 
With the default setting of false these errors are just swept under the 
rug and you (mostly) never notice them.



also, in reading the file revmessagebox.rev, I see lots of references like:

button id 1037 of group id 1016 of card id 1002 of stack
"/Applications/LiveCode Community 6.7 (dp
2).app/Contents/Tools/Toolset/revlibrary.rev"


What in the world is this doing in Indy 7.1.4???


I don't have much of a clue, sorry. Sounds like maybe a path issue? What 
platform is this.


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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Syntax: mouseUp mouseButtonNumber

2016-09-22 Thread Roger Eller
If the syntax example had been pWhichBtn instead of mouseButtonNumber, I
"might" have recognized it as a parameter.

On Sep 22, 2016 8:26 PM, "Mark Wieder"  wrote:

> On 09/22/2016 03:39 PM, Roger Eller wrote:
>
> Possibly.  But I learned long ago to never assume even the most basic
>> knowledge because "brain-farts" are a real problem.  ;)
>>
>
>  Very much agreed.
>
> But this isn't a problem with the mouseUp handler per se. When you declare
> a handler ("on xxx" or "function xxx") you can't give it explicit
> parameters at that time. And the script compiler properly complains if you
> do. Instead you give the parameter a name and can then use the name in the
> handler's code to do something, as in Mike's example. All LC handlers work
> exactly this way, and the mouseUp handler is no exception.
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: new glx2 script editor now on line

2016-09-22 Thread Mark Wieder

On 09/22/2016 12:09 PM, Mike Kerner wrote:

It doesn't appear to be hiding.  I thought that, too.  It also doesn't
appear in the list of windows, but I haven't checked the PB to see if it's
just misbehaving in multiple ways.  And we're talking about OSX el cap or
whatever 11 is


Interesting. Did you trash your old preferences file before launching 
the new build?


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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Syntax: mouseUp mouseButtonNumber

2016-09-22 Thread Monte Goulding

> On 23 Sep 2016, at 8:35 AM, Monte Goulding  wrote:
> 
> 
>> On 23 Sep 2016, at 8:15 AM, Roger Eller > > wrote:
>> 
>> http://quality.livecode.com/show_bug.cgi?id=18465 
>> 
> Thanks for that report. It addresses the example in the mouseUp docs but I 
> still feel there’s a deeper issue we need to resolve here with assumed 
> knowledge. Perhaps we need some deep linking to the script guide?

Yay open source https://github.com/livecode/livecode/pull/4550 


Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Syntax: mouseUp mouseButtonNumber

2016-09-22 Thread Mark Wieder

On 09/22/2016 03:39 PM, Roger Eller wrote:


Possibly.  But I learned long ago to never assume even the most basic
knowledge because "brain-farts" are a real problem.  ;)


 Very much agreed.

But this isn't a problem with the mouseUp handler per se. When you 
declare a handler ("on xxx" or "function xxx") you can't give it 
explicit parameters at that time. And the script compiler properly 
complains if you do. Instead you give the parameter a name and can then 
use the name in the handler's code to do something, as in Mike's 
example. All LC handlers work exactly this way, and the mouseUp handler 
is no exception.


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



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


The Achilles heel of Android and iOS

2016-09-22 Thread Alejandro Tejada
The neck-breaking speed of their hardware
obsolescence (planned or not) is
the Achilles heel of Android and iOS...

Take a look of these eye opening charts:
https://priceonomics.com/phones/
http://blog.musicmagpie.co.uk/2016/06/10/how-quickly-does-your-phone-fall-in-value/

Buying a NEW PHONE or Tablet is almost like
BURNING MONEY, just for the fun of it.

Losing (or if you prefer: "paying") 100 or more
dollars monthly, just to hold in your hand
the latest and greatest marvel of modern
electronics is the kind of luxury that grows
tiring real soon... much like social media fatigue:
https://www.foursys.co.uk/pages/article/do-you-suffer-from-social-media-fatigue-you-are-not-alone

Just imagine this (not so far away) scenario:

For any reason, people stop jumping in line
to buy the latest and greatest phone or tablet
and prefer to wait... and wait... just for a few weeks
or even a few months (because time flies
when you are busy), while still using their previous
latest and greatest marvel from just a few months ago.

How many months would Apple or Samsung
or every other phone/tablet maker could last
without selling new hardware to new or repeating
customers?

Maybe Years? Or Months? Or Weeks?

Do you understand how bad is this unhealthy
dependency (dependency on selling new hardware
to repeating and new customers) for the present and
future health of the computer industry?

I foresee easily, (if these trends do not change for better)
a disaster of Titanic's proportions in the computer industry.

Why the computer industry is unable to foresee
the peril and start devising strategies to produce
money from extended support of their older hardware?

Yes, money from supporting their older hardware and
opening a path for their customers to stay and update
within their own line of products.

Recently, I watched up close a Windows XP tablet,
similar to this:
https://www.youtube.com/watch?v=0qvVbPTG5IQ
and surprisingly, the user experience it's not
too far away from today tablets but these
tablet computers are more than 10 years old!

What kind of future is reserved for companies
that treat their customers as disposable?

Al

___
use-livecode mailing list
use-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: Only one navigation bar widget?

2016-09-22 Thread William Prothero
Monte:
Will do. I had the first card with two navigation widgets on it, one in a group 
and another not in one. A second card had the grouped widget and another one to 
do ops on that card. Monte, by the time I got back to my email, I had made a 
workaround, but I did make a test stack with a widget in a group and two others 
on two added cards. Hmm….. it included both widgets in the simulator.  Perhaps 
I should have tried to quit and restart. I can’t reproduce the situation.

Anyway, I like my workaround better anyway.

Thanks. If I see it again, I’ll be back on it.
Best,
Bill

> On Sep 22, 2016, at 2:47 PM, Monte Goulding  wrote:
> 
> You should be able to use as many as you like. Please open a bug report with 
> a sample stack demonstrating the issue if that’s not the case.
> 
> Cheers
> 
> Monte
> 
>> On 23 Sep 2016, at 7:38 AM, William Prothero  wrote:
>> 
>> Folks:
>> I was trying to use a second navigation bar widget on my app, to control 
>> various functions. But, it looks like only a single nav bar is recognized in 
>> the simulator.
>> 
>> Is there a way to have more than one of those useful widgets, or am I 
>> limited to a single one?
>> 
>> Best,
>> Bill
>> 
>> 
>> 
>> William Prothero, Ph.D.
>> University of California, Santa Barbara, Emeritus
>> proth...@earthednet.org
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: Fast way to retrieve a range of data

2016-09-22 Thread Nicolas Cueto
Thank you, Mike.

--
Nicolas Cueto

On 21 September 2016 at 11:31, Mike Bonner  wrote:

> This should be pretty fast if I understand your criteria well enough..
>
> put field "yourfield" into tData
> filter lines of tData with ("2" & tab & 54 & tab & "*")
>
> On Tue, Sep 20, 2016 at 8:08 PM, Nicolas Cueto  wrote:
>
> > Given a text field ("Vocabulary Indices") of tab-delimited data whose cr
> > lines are organized ascending-numeric first by Column 1 ("Textbook
> Level" =
> > 1, 2, or 3) then next by Column 2 ("Page Number" = 1 to 200), what are
> fast
> > ways of retrieving, say, all the cr lines for Textbook Level = 2, Page
> > Number = 54?
> >
> > Thank you.
> >
> > --
> > Nicolas Cueto
> > ___
> > use-livecode mailing list
> > use-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: Japanese (unicode?) text problem

2016-09-22 Thread Nicolas Cueto
Thank you. All of those worked.

--
Nicolas Cueto

On 21 September 2016 at 15:08, AndyP  wrote:

> or
>
> put url tUrl into tTextToDecode
> put uniDecode(tTextToDecode,”Japanese") into field “indices"
>
>
>
>
>
> -
> Andy Piddock
>
>
> My software never has bugs. It just develops random features.
>
> Copy the new cloud space, get your free 15GB space now:
> Get Copy
>
>
> Script editor Themer for LC http://2108.co.uk
>
> PointandSee is a FREE simple but full featured under cursor colour picker
> / finder.
> http://www.pointandsee.co.uk  - made with LiveCode
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/Japanese-unicode-text-problem-tp4708721p4708727.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Syntax: mouseUp mouseButtonNumber

2016-09-22 Thread Roger Eller
On Thu, Sep 22, 2016 at 6:35 PM, Monte Goulding  wrote:

>
> > On 23 Sep 2016, at 8:15 AM, Roger Eller 
> wrote:
> >
> > http://quality.livecode.com/show_bug.cgi?id=18465 <
> http://quality.livecode.com/show_bug.cgi?id=18465>
> Thanks for that report. It addresses the example in the mouseUp docs but I
> still feel there’s a deeper issue we need to resolve here with assumed
> knowledge. Perhaps we need some deep linking to the script guide?
>
>
Possibly.  But I learned long ago to never assume even the most basic
knowledge because "brain-farts" are a real problem.  ;)

~Roger
___
use-livecode mailing list
use-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: Syntax: mouseUp mouseButtonNumber

2016-09-22 Thread Monte Goulding

> On 23 Sep 2016, at 8:15 AM, Roger Eller  wrote:
> 
> http://quality.livecode.com/show_bug.cgi?id=18465 
> 
Thanks for that report. It addresses the example in the mouseUp docs but I 
still feel there’s a deeper issue we need to resolve here with assumed 
knowledge. Perhaps we need some deep linking to the script guide?
___
use-livecode mailing list
use-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: Syntax: mouseUp mouseButtonNumber

2016-09-22 Thread Roger Eller
http://quality.livecode.com/show_bug.cgi?id=18465

Cheers

~Roger
___
use-livecode mailing list
use-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: The name of the property to trace scripts into the IDE

2016-09-22 Thread Dr. Hawkins
I've purged all of my own settings and 7.1.4, and reinstalled.  It hasn't
made a difference, and still refers to 6.6 community.


I've tried opening in 8.1, and am getting the error

executing internal 3:04:10 PM

Type Handler: can't find handler

Object revbackscriptlibrary

Line send "revSEObjectDeleted pObject" to revScriptEditorMain()

Hint revSEObjectDeleted



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Waiting for the train

2016-09-22 Thread Dr. Hawkins
On Thu, Sep 22, 2016 at 2:23 PM, Mike Bonner  wrote:

> My preference is the send in time as shown by paul.


I don't think that it's even a matter of "preference" for what Richmond is
trying to do:  even though messages can fly about, being stopped on a line
of code will block some parts of the interface, as he found.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Syntax: mouseUp mouseButtonNumber

2016-09-22 Thread Monte Goulding

> On 23 Sep 2016, at 7:27 AM, Roger Eller  wrote:
> 
> Thanks Mike!  I don't think the docs could have been any muddier.  ;)

We are happy to accept pull requests on the docs Roger if you can think or a 
way/where to clarify it. It seems more of a fundamental misunderstanding of 
what parameters are so it would be good to ensure we clearly explain that well 
somewhere in the docs because it’s assumed knowledge in most/all of the api 
docs just like what a variable is etc. However, I definitely think the examples 
in the mouseUp docs should include button number handling because it’s a common 
error not to filter out right clicks.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Only one navigation bar widget?

2016-09-22 Thread William Prothero
Folks:
I was trying to use a second navigation bar widget on my app, to control 
various functions. But, it looks like only a single nav bar is recognized in 
the simulator.

Is there a way to have more than one of those useful widgets, or am I limited 
to a single one?

Best,
Bill



William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.org




___
use-livecode mailing list
use-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: Syntax: mouseUp mouseButtonNumber

2016-09-22 Thread Roger Eller
Thanks Mike!  I don't think the docs could have been any muddier.  ;)

~Roger


On Thu, Sep 22, 2016 at 5:24 PM, Mike Bonner  wrote:

> The parameter is passed on, not set by you.  To do what you want it would
> be more like
>
> on mouseup pvar
> if pvar is 3 then
> do stuff
>
> end if
> end mouseup
>
> On Thu, Sep 22, 2016 at 2:11 PM, Roger Eller 
> wrote:
>
> > The script editor won't compile a mouseUp  handler with 1 2 or 3 as a
> > parameter.
> >
> > on mouseUp 3
> >do stuff
> > end mouseUp
> >
> > I am trying to get a right-click to show a contextual menu on Windows.
> >
> > ~Roger
>
___
use-livecode mailing list
use-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: Syntax: mouseUp mouseButtonNumber

2016-09-22 Thread Mike Bonner
The parameter is passed on, not set by you.  To do what you want it would
be more like

on mouseup pvar
if pvar is 3 then
do stuff

end if
end mouseup

On Thu, Sep 22, 2016 at 2:11 PM, Roger Eller 
wrote:

> The script editor won't compile a mouseUp  handler with 1 2 or 3 as a
> parameter.
>
> on mouseUp 3
>do stuff
> end mouseUp
>
> I am trying to get a right-click to show a contextual menu on Windows.
>
> ~Roger
> ___
> use-livecode mailing list
> use-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: Waiting for the train

2016-09-22 Thread Mike Bonner
Yeah, if you want to use wait..
wait 18000 is blocking
wait 18000 with messages is not blocking

My preference is the send in time as shown by paul.

On Thu, Sep 22, 2016 at 2:33 PM, Richmond 
wrote:

> You Rock:
>
> http://forums.livecode.com/viewtopic.php?f=7=27986
>
> Thanks so much.
>
> Richmond.
>
>
> On 22.09.2016 23:13, Paul Dupuis wrote:
>
>> You probably want to restructure your handler, so that instead of a
>> repeat loop, it calls itself using send  in 
>>
>> So something like:
>>
>> local KOUNT
>>
>> on startMyThing
>>put 1 into KOUNT
>>send "doMyThing" to me
>> end startMyThing
>>
>> on doMyThing
>> add 1 to KOUNT
>> if KOUNT <= 1003 then send "doMyThing" to me in 18000 ticks
>> end doMyThing
>>
>>
>> You kick it off by calling startMyThing to initialize things and then it
>> keep calling itself (doMyThing) every 5 minutes until KOUNT exceed 1003.
>> All other messages - menu items, mouse clicks, etc. should be handled
>> normally.
>>
>>
>> On 9/22/2016 3:58 PM, Richmond wrote:
>>
>>> Well . . . that works as far as menu commands from the revMenubar
>>> stack go, but it still blocks
>>> mouseClicks on the revTools stack and keyboard commands . . .
>>>
>>> Richmond.
>>>
>>> On 22.09.2016 22:55, Richmond wrote:
>>>
 Thanks.

 Where?

 wait 18000 ticks with messages

 ?

 Richmond.

 On 22.09.2016 22:38, Mike Bonner wrote:

> add "with messages"
>
> On Thu, Sep 22, 2016 at 1:37 PM, Richmond  >
> wrote:
>
> I have a stack that sits around as a Palette with a script in it that
>> repeats itself every 18000 ticks (that's 5 minutes to Thee and Me)
>> with
>> a code like this:
>>
>> *put 1 into KOUNT**
>> **repeat until KOUNT = 1003*
>> /do various jolly things/
>> *add 1 to KOUNT**
>> **wait 18000 ticks**
>> **end repeat*
>>
>> The "wait 18000 ticks" seems to be locking up the whole IDE so I
>> cannot
>> get on and do other things . . .
>>
>> Would be grateful if anyone could suggest a way round this.
>>
>> Richmond.
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

>>> ___
>>> use-livecode mailing list
>>> use-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: IDE Script Editor question...

2016-09-22 Thread Paul Dupuis
Ah ha. The insertion point must be INSIDE a handler and only re-indents
that handler when you press TAB

If the insertion point is between handlers or outside of any handler,
nothing happens. Ok, tab is useful, but something that reformatted ALL
handlers in a script would be even better.

Not perfect, but a step better than nothing. Thanks for the tip!


On 9/22/2016 4:17 PM, Peter Bogdanoff wrote:
> Does pressing the tab key fix it for you?
>
>> On Sep 22, 2016, at 12:52 PM, Paul Dupuis  wrote:
>>
>> I find myself periodically working with stacks where the individuals
>> handlers come from a number of sources.
>>
>> Some of these sources have their script editor set to the default 3
>> space indent. Some to 2 spaces, some to 4 spaces, etc.
>>
>> Is there any easy way to tell the script editor to RE-indent all the
>> handlers in the current script using the current preference for indents?
>>
>> If not, can one of you coding wizards out there add this to the IDE? :-)
>>
>>
>> ___
>> use-livecode mailing list
>> use-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: Waiting for the train

2016-09-22 Thread Richmond

You Rock:

http://forums.livecode.com/viewtopic.php?f=7=27986

Thanks so much.

Richmond.

On 22.09.2016 23:13, Paul Dupuis wrote:

You probably want to restructure your handler, so that instead of a
repeat loop, it calls itself using send  in 

So something like:

local KOUNT

on startMyThing
   put 1 into KOUNT
   send "doMyThing" to me
end startMyThing

on doMyThing
add 1 to KOUNT
if KOUNT <= 1003 then send "doMyThing" to me in 18000 ticks
end doMyThing


You kick it off by calling startMyThing to initialize things and then it
keep calling itself (doMyThing) every 5 minutes until KOUNT exceed 1003.
All other messages - menu items, mouse clicks, etc. should be handled
normally.


On 9/22/2016 3:58 PM, Richmond wrote:

Well . . . that works as far as menu commands from the revMenubar
stack go, but it still blocks
mouseClicks on the revTools stack and keyboard commands . . .

Richmond.

On 22.09.2016 22:55, Richmond wrote:

Thanks.

Where?

wait 18000 ticks with messages

?

Richmond.

On 22.09.2016 22:38, Mike Bonner wrote:

add "with messages"

On Thu, Sep 22, 2016 at 1:37 PM, Richmond 
wrote:


I have a stack that sits around as a Palette with a script in it that
repeats itself every 18000 ticks (that's 5 minutes to Thee and Me)
with
a code like this:

*put 1 into KOUNT**
**repeat until KOUNT = 1003*
/do various jolly things/
*add 1 to KOUNT**
**wait 18000 ticks**
**end repeat*

The "wait 18000 ticks" seems to be locking up the whole IDE so I
cannot
get on and do other things . . .

Would be grateful if anyone could suggest a way round this.

Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: The name of the property to trace scripts into the IDE

2016-09-22 Thread Dr. Hawkins
On Thu, Sep 22, 2016 at 12:48 PM, mwieder  wrote:

> ...as in...
>
> global gRevDevelopment; put true into gRevDevelopment
>

Unfortunately, it's not getting me there.

I have a log stack, and the simple function

on cck stuff
  put stuff & cr  & the milliseconds & cr & cr after fld "log" of cd
"wtchcrd" of stack "ckwatch"
end cck


end error handler

*on* errorDialog pExecutionError, pParseError

   cck  ("whoops! " & the date & the time & cr & the milliseconds & cr & cr
\

 & "lib: error occurred on line: " & item 2 of line 1 of
pExecutionError & cr & cr  \

   & "pParseError:" & cr & pParseError & cr & cr  \

 & "pExecutionError:" & cr & pExecutionError & cr & cr & "context:"
& cr & the executionContexts & cr)



   *answer* "lib: error occurred on line: " & item 2 of line 1 of
pExecutionError & cr & cr \

 & pParseError & cr & cr & pExecutionError with "Continue" and
"Stop" and "Pause"



   *close* stack "splash"

   *switch* it

  *case* "stop"

 *exit* to top

 *break*

  *case* "stop"

 *breakpoint*

 *break*

   *end* *switch*

   ck the executionContexts

   *--breakpoint*

*end* errorDialog



It looks to me like it's a problem with opening the message box in
revUpdateGeometry

This seems to be happening in preOpenStack of the control stack, after it
loads the library stack (which is where my handler is).


I do open a message box and put it where I want it in that preOpenStack:

*-- put the messagebox somewhere useful*

 *show* message box

 *set* the height of stack "message Box" to 144

 *set* the width of stack "message box" to 576

 *set* the itemDel to comma



 *set* the bottomLeft of stack "message box" to 36, 2* item 2 of the
screenLoc - 36



also, in reading the file revmessagebox.rev, I see lots of references like:

button id 1037 of group id 1016 of card id 1002 of stack
"/Applications/LiveCode Community 6.7 (dp
2).app/Contents/Tools/Toolset/revlibrary.rev"


What in the world is this doing in Indy 7.1.4???

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: IDE Script Editor question...

2016-09-22 Thread Peter Bogdanoff
Does pressing the tab key fix it for you?

> On Sep 22, 2016, at 12:52 PM, Paul Dupuis  wrote:
> 
> I find myself periodically working with stacks where the individuals
> handlers come from a number of sources.
> 
> Some of these sources have their script editor set to the default 3
> space indent. Some to 2 spaces, some to 4 spaces, etc.
> 
> Is there any easy way to tell the script editor to RE-indent all the
> handlers in the current script using the current preference for indents?
> 
> If not, can one of you coding wizards out there add this to the IDE? :-)
> 
> 
> ___
> use-livecode mailing list
> use-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: Waiting for the train

2016-09-22 Thread Paul Dupuis
You probably want to restructure your handler, so that instead of a
repeat loop, it calls itself using send  in 

So something like:

local KOUNT

on startMyThing
  put 1 into KOUNT
  send "doMyThing" to me
end startMyThing

on doMyThing
   add 1 to KOUNT
   if KOUNT <= 1003 then send "doMyThing" to me in 18000 ticks
end doMyThing


You kick it off by calling startMyThing to initialize things and then it
keep calling itself (doMyThing) every 5 minutes until KOUNT exceed 1003.
All other messages - menu items, mouse clicks, etc. should be handled
normally.


On 9/22/2016 3:58 PM, Richmond wrote:
> Well . . . that works as far as menu commands from the revMenubar
> stack go, but it still blocks
> mouseClicks on the revTools stack and keyboard commands . . .
>
> Richmond.
>
> On 22.09.2016 22:55, Richmond wrote:
>> Thanks.
>>
>> Where?
>>
>> wait 18000 ticks with messages
>>
>> ?
>>
>> Richmond.
>>
>> On 22.09.2016 22:38, Mike Bonner wrote:
>>> add "with messages"
>>>
>>> On Thu, Sep 22, 2016 at 1:37 PM, Richmond 
>>> wrote:
>>>
 I have a stack that sits around as a Palette with a script in it that
 repeats itself every 18000 ticks (that's 5 minutes to Thee and Me)
 with
 a code like this:

 *put 1 into KOUNT**
 **repeat until KOUNT = 1003*
 /do various jolly things/
 *add 1 to KOUNT**
 **wait 18000 ticks**
 **end repeat*

 The "wait 18000 ticks" seems to be locking up the whole IDE so I
 cannot
 get on and do other things . . .

 Would be grateful if anyone could suggest a way round this.

 Richmond.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> ___
> use-livecode mailing list
> use-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


Syntax: mouseUp mouseButtonNumber

2016-09-22 Thread Roger Eller
The script editor won't compile a mouseUp  handler with 1 2 or 3 as a
parameter.

on mouseUp 3
   do stuff
end mouseUp

I am trying to get a right-click to show a contextual menu on Windows.

~Roger
___
use-livecode mailing list
use-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: Waiting for the train

2016-09-22 Thread Richmond
Well . . . that works as far as menu commands from the revMenubar stack 
go, but it still blocks

mouseClicks on the revTools stack and keyboard commands . . .

Richmond.

On 22.09.2016 22:55, Richmond wrote:

Thanks.

Where?

wait 18000 ticks with messages

?

Richmond.

On 22.09.2016 22:38, Mike Bonner wrote:

add "with messages"

On Thu, Sep 22, 2016 at 1:37 PM, Richmond 
wrote:


I have a stack that sits around as a Palette with a script in it that
repeats itself every 18000 ticks (that's 5 minutes to Thee and Me) with
a code like this:

*put 1 into KOUNT**
**repeat until KOUNT = 1003*
/do various jolly things/
*add 1 to KOUNT**
**wait 18000 ticks**
**end repeat*

The "wait 18000 ticks" seems to be locking up the whole IDE so I cannot
get on and do other things . . .

Would be grateful if anyone could suggest a way round this.

Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode





___
use-livecode mailing list
use-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: Waiting for the train

2016-09-22 Thread Richmond

Thanks.

Where?

wait 18000 ticks with messages

?

Richmond.

On 22.09.2016 22:38, Mike Bonner wrote:

add "with messages"

On Thu, Sep 22, 2016 at 1:37 PM, Richmond 
wrote:


I have a stack that sits around as a Palette with a script in it that
repeats itself every 18000 ticks (that's 5 minutes to Thee and Me) with
a code like this:

*put 1 into KOUNT**
**repeat until KOUNT = 1003*
/do various jolly things/
*add 1 to KOUNT**
**wait 18000 ticks**
**end repeat*

The "wait 18000 ticks" seems to be locking up the whole IDE so I cannot
get on and do other things . . .

Would be grateful if anyone could suggest a way round this.

Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-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: The name of the property to trace scripts into the IDE

2016-09-22 Thread mwieder
...as in...

global gRevDevelopment; put true into gRevDevelopment

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



-
-- 
 Mark Wieder
 ahsoftw...@gmail.com
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/The-name-of-the-property-to-trace-scripts-into-the-IDE-tp4708799p4708803.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


IDE Script Editor question...

2016-09-22 Thread Paul Dupuis
I find myself periodically working with stacks where the individuals
handlers come from a number of sources.

Some of these sources have their script editor set to the default 3
space indent. Some to 2 spaces, some to 4 spaces, etc.

Is there any easy way to tell the script editor to RE-indent all the
handlers in the current script using the current preference for indents?

If not, can one of you coding wizards out there add this to the IDE? :-)


___
use-livecode mailing list
use-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: The name of the property to trace scripts into the IDE

2016-09-22 Thread Dr. Hawkins
On Thu, Sep 22, 2016 at 12:44 PM, Mike Bonner  wrote:

> gRevDevelopment


Ahh, thanks.

Now I'll reload and se what happens . . . at the moment, I get my own error
dialog, which has an option to pause so that I can single step, but it goes
nowhere . . .


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: The name of the property to trace scripts into the IDE

2016-09-22 Thread J. Landman Gay

On 9/22/16 2:40 PM, Dr. Hawkins wrote:

Could someone remind me of the property that lets the IDE step into the
source stacks?


gRevDevelopment

--
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: The name of the property to trace scripts into the IDE

2016-09-22 Thread Mike Bonner
 gRevDevelopment is the one you're thinking of I believe.

On Thu, Sep 22, 2016 at 1:40 PM, Dr. Hawkins  wrote:

> Things are getting out of control more and more often.  Today it was the
> lack of buttons on dialog windows about closing stacks, the previous couple
> of days had a couple of rounds of the browse/edit suddenly applying to the
> application browser, and then there's the perennial untraceable euro
> message on opening that goes away if I step through the handler instead of
> letting it run.
>
> Could someone remind me of the property that lets the IDE step into the
> source stacks?
>
> revDevSomethingOrAnother?
>
> thanks
>
> --
> 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
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


The name of the property to trace scripts into the IDE

2016-09-22 Thread Dr. Hawkins
Things are getting out of control more and more often.  Today it was the
lack of buttons on dialog windows about closing stacks, the previous couple
of days had a couple of rounds of the browse/edit suddenly applying to the
application browser, and then there's the perennial untraceable euro
message on opening that goes away if I step through the handler instead of
letting it run.

Could someone remind me of the property that lets the IDE step into the
source stacks?

revDevSomethingOrAnother?

thanks

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Waiting for the train

2016-09-22 Thread Mike Bonner
add "with messages"

On Thu, Sep 22, 2016 at 1:37 PM, Richmond 
wrote:

> I have a stack that sits around as a Palette with a script in it that
> repeats itself every 18000 ticks (that's 5 minutes to Thee and Me) with
> a code like this:
>
> *put 1 into KOUNT**
> **repeat until KOUNT = 1003*
> /do various jolly things/
> *add 1 to KOUNT**
> **wait 18000 ticks**
> **end repeat*
>
> The "wait 18000 ticks" seems to be locking up the whole IDE so I cannot
> get on and do other things . . .
>
> Would be grateful if anyone could suggest a way round this.
>
> Richmond.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Supercard 4.8 public beta

2016-09-22 Thread Richmond

Well, every time there is a new Supercard release I download the trial and,
every time, I wonder why I do that. But I do the same sort of thing for 
HyperNEXT as well

[ http://www.tigabyte.com ] so I'm obviously bonkers.

I owned a copy of SuperCard in 1995 and really could never work out how 
to do things

efficiently (after all Colour was doable in Hypercard at that stage).

Richmond.

On 22.09.2016 22:27, stephen barncard wrote:

I was a hypercard ACE but my three purchases of Supercard over the years
never got used.  I found the whole system baffling, an annoying workflow.
I always went back to HC.

sqb

Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Thu, Sep 22, 2016 at 10:58 AM, Richmond 
wrote:


I, personally, playing on my G5 running PPC 10.5, cannot for the life of
me see any obvious
advantages of Supercard over Livecode. It strikes me that this is probably
largely used by people
who have dug themselves into a Macintosh-only corner.

Richmond.

On 22.09.2016 20:43, Dr. Hawkins wrote:


On the other side of the fence . . . SupercCard just emailed me about
their
public beta for 4.8.

Since it's mac only (again), I have no interest, and it apparently still
doesn't have things I need from LC 5 (and I presume at least 4).  (For
that
matter, the only things that I *really* need that weren't in SuperCard
1.5,
which ran the older version of my program in the 80s . . .)

But I wonder what they'd do if I presented my 1.5 disks for an upgrade :)



___
use-livecode mailing list
use-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: Supercard 4.8 public beta

2016-09-22 Thread Dr. Hawkins
On Thu, Sep 22, 2016 at 10:58 AM, Richmond 
wrote:

> I, personally, playing on my G5 running PPC 10.5, cannot for the life of
> me see any obvious
> advantages of Supercard over Livecode. It strikes me that this is probably
> largely used by people
> who have dug themselves into a Macintosh-only corner.
>

I started using it in '89 or '90 for the simple reason that it could have
two windows open.   Once HyperCard 2.0 rolled around, that was no longer
necessary, but converting back would have involved copy and pasting scripts
manually for every control, or some such hassle

Had I known that it would come out with a DOS version a year later, I
wouldn't have abandoned my program, and would probably be the dominant
vendor in my industry (and the program that filled that *still* doesn't do
things I did 25+ years ago . . .)

Develop on mac for everywhere is critical to me.  If it had a clear and
supported path to compile on android, I'd be shifting some of what I do to
Swift from livecode--but until then, no.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Supercard 4.8 public beta

2016-09-22 Thread stephen barncard
I was a hypercard ACE but my three purchases of Supercard over the years
never got used.  I found the whole system baffling, an annoying workflow.
I always went back to HC.

sqb

Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Thu, Sep 22, 2016 at 10:58 AM, Richmond 
wrote:

> I, personally, playing on my G5 running PPC 10.5, cannot for the life of
> me see any obvious
> advantages of Supercard over Livecode. It strikes me that this is probably
> largely used by people
> who have dug themselves into a Macintosh-only corner.
>
> Richmond.
>
> On 22.09.2016 20:43, Dr. Hawkins wrote:
>
>> On the other side of the fence . . . SupercCard just emailed me about
>> their
>> public beta for 4.8.
>>
>> Since it's mac only (again), I have no interest, and it apparently still
>> doesn't have things I need from LC 5 (and I presume at least 4).  (For
>> that
>> matter, the only things that I *really* need that weren't in SuperCard
>> 1.5,
>> which ran the older version of my program in the 80s . . .)
>>
>> But I wonder what they'd do if I presented my 1.5 disks for an upgrade :)
>>
>>
>
> ___
> use-livecode mailing list
> use-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: ANN: new glx2 script editor now on line

2016-09-22 Thread Mike Kerner
It doesn't appear to be hiding.  I thought that, too.  It also doesn't
appear in the list of windows, but I haven't checked the PB to see if it's
just misbehaving in multiple ways.  And we're talking about OSX el cap or
whatever 11 is

On Thu, Sep 22, 2016 at 2:21 PM, mwieder  wrote:

> 1. WordPress:
> See above re how I feel about WordPress.
>
> 2. preferences:
> What platform is this? I've seen the preferences appear and then hide
> behind
> the script editor. So the panel is there, but you have to move the editor
> panel out of the way to get to it. Annoying. I see there are pull requests
> to fix palette handling for upcoming LC versions, and maybe that will take
> care of it. If now I'll have to see about hacking around it.
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
>
>
> -
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
> --
> View this message in context: http://runtime-revolution.2783
> 05.n4.nabble.com/ANN-new-glx2-script-editor-now-on-line-
> tp4708283p4708789.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
>



-- 
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: LiveCode interface to SCORM /LIT

2016-09-22 Thread William Prothero
Martin:
Just a thought. Since Todd Fabacher is in a group working on LTI (he called it 
LIT, but I think he meant LTI), and he will make the code open source, I think, 
for me anyway, it’s best to wait for the result of their efforts. LTI has a 
pretty wide capability. SCORM came about and was made popular by the US Defense 
dept. making it required for folks wanting to sell them training modules for 
their purposes. But, for higher ed, SCORM enforces an out-dated learning model 
that would not be adequate for more modern teaching pedagogies.

Best,
Bill
> On Sep 22, 2016, at 7:19 AM, Martin Koob  wrote:
> 
> Thanks for the link to LTI. I am interested in a technology that could
> integrate my LiveCode app into LMS's. 
> 
> I think that Tin-Can API or the ExperienceAPI (xAPI) were also developed as
> a successor to SCORM to address its shortcomings.  
> https://experienceapi.com/history/
> 
> They list a number of adopters including BlackBoard and Moodle
> 
> http://experienceapi.com/adopters/
> 
> Have you heard of this?  Would this api accomplish what you are trying to
> do?
> 
> Martin
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708773.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LiveCode interface to SCORM /LIT

2016-09-22 Thread William Prothero
Martin:
Just a thought. Since Todd Fabacher is in a group working on LTI (he called it 
LIT, but I think he meant LTI), and he will make the code open source, I think, 
for me anyway, it’s best to wait for the result of their efforts. LTI has a 
pretty wide capability. SCORM came about and was made popular by the US Defense 
dept. making it required for folks wanting to sell them training modules for 
their purposes. But, for higher ed, SCORM enforces an out-dated learning model 
that would not be adequate for more modern teaching pedagogies.

Best,
Bill


> On Sep 22, 2016, at 7:19 AM, Martin Koob  wrote:
> 
> Thanks for the link to LTI. I am interested in a technology that could
> integrate my LiveCode app into LMS's. 
> 
> I think that Tin-Can API or the ExperienceAPI (xAPI) were also developed as
> a successor to SCORM to address its shortcomings.  
> https://experienceapi.com/history/
> 
> They list a number of adopters including BlackBoard and Moodle
> 
> http://experienceapi.com/adopters/
> 
> Have you heard of this?  Would this api accomplish what you are trying to
> do?
> 
> Martin
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708773.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: use "" as an array key

2016-09-22 Thread Peter TB Brett

On 22/09/2016 18:58, Matt Maier wrote:

I find myself in want of a YAML library again. Mark posted some functions
on the forum that I'm debugging
http://forums.livecode.com/viewtopic.php?f=7=21434

Something I discovered while debugging is that "" is being accepted as an
array key.

It seems like it shouldn't be possible to use the absence of a string as an
array key. Is it supposed to work that way? I'm using 8.0.1 on Windows.


"" isn't "the absence of a string", it's a string that's 0 characters 
long.  Being able to use it as an array key is important for being able 
to represent real-world data in an array.


Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
use-livecode mailing list
use-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: ANN: new glx2 script editor now on line

2016-09-22 Thread mwieder
1. WordPress:
See above re how I feel about WordPress.

2. preferences:
What platform is this? I've seen the preferences appear and then hide behind
the script editor. So the panel is there, but you have to move the editor
panel out of the way to get to it. Annoying. I see there are pull requests
to fix palette handling for upcoming LC versions, and maybe that will take
care of it. If now I'll have to see about hacking around it.

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



-
-- 
 Mark Wieder
 ahsoftw...@gmail.com
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-new-glx2-script-editor-now-on-line-tp4708283p4708789.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: ANN: new glx2 script editor now on line

2016-09-22 Thread Mike Kerner
that doesn't seem to fix it for me.

On Thu, Sep 22, 2016 at 1:13 PM, Mark Talluto 
wrote:

>
> > On Sep 22, 2016, at 8:21 AM, Mike Kerner 
> wrote:
> >
> > 2) I'm trying to edit the prefs for GLX2, but the prefs window only
> flashes
> > and disappears, again.
>
> I noticed that too. I found a workaround.
>
> 1. Edit some code in GLX2.
> 2. Go to LiveCode/preferences
>
> This will bring up the GLX2 preferences because the menu changes to GLX
> specific menu items.
>
>
> Best regards,
>
> Mark Talluto
> livecloud.io
> canelasoftware.com
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
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: use "" as an array key

2016-09-22 Thread Richard Gaskin

Matt Maier wrote:

> Something I discovered while debugging is that "" is being accepted
> as an array key.
>
> It seems like it shouldn't be possible to use the absence of a string
> as an array key. Is it supposed to work that way? I'm using 8.0.1 on
> Windows.

Works that way on Ubuntu 14.04 and 16.04 as well. and AFAIK at least as 
far back as v6.7.


Not sure if it's a bug or a feature we just need to be very careful 
about, but you and I seem to be the only two people who've ever noticed 
that.


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


use "" as an array key

2016-09-22 Thread Matt Maier
I find myself in want of a YAML library again. Mark posted some functions
on the forum that I'm debugging
http://forums.livecode.com/viewtopic.php?f=7=21434

Something I discovered while debugging is that "" is being accepted as an
array key.

It seems like it shouldn't be possible to use the absence of a string as an
array key. Is it supposed to work that way? I'm using 8.0.1 on Windows.
___
use-livecode mailing list
use-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: Supercard 4.8 public beta

2016-09-22 Thread Richmond
I, personally, playing on my G5 running PPC 10.5, cannot for the life of 
me see any obvious
advantages of Supercard over Livecode. It strikes me that this is 
probably largely used by people

who have dug themselves into a Macintosh-only corner.

Richmond.

On 22.09.2016 20:43, Dr. Hawkins wrote:

On the other side of the fence . . . SupercCard just emailed me about their
public beta for 4.8.

Since it's mac only (again), I have no interest, and it apparently still
doesn't have things I need from LC 5 (and I presume at least 4).  (For that
matter, the only things that I *really* need that weren't in SuperCard 1.5,
which ran the older version of my program in the 80s . . .)

But I wonder what they'd do if I presented my 1.5 disks for an upgrade :)




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Supercard 4.8 public beta

2016-09-22 Thread Dr. Hawkins
On the other side of the fence . . . SupercCard just emailed me about their
public beta for 4.8.

Since it's mac only (again), I have no interest, and it apparently still
doesn't have things I need from LC 5 (and I presume at least 4).  (For that
matter, the only things that I *really* need that weren't in SuperCard 1.5,
which ran the older version of my program in the 80s . . .)

But I wonder what they'd do if I presented my 1.5 disks for an upgrade :)

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Export PNG with alpha channel/mask

2016-09-22 Thread Richmond

I don't quite understand why your transparent areas are exporting as Black:

http://forums.livecode.com/viewtopic.php?f=7=27984

Richmond.

On 22.09.2016 18:02, Ben Rubinstein wrote:
I want to compose an image using a bunch of LC objects, then export a 
PNG, with an alpha channel containing a mask (ideally > 1 bit, but 
that part's not critical).


The documentation for export snapshot is not very clear. I've tried 
things like exporting a transparent group containing some objects; the 
PNG was just filled with black where there were no objects.


There is an option "with mask xx", but it appears that this is only 
for PBM format - and in any case I can't make it work.


Is there any way to do this?

TIA

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: ANN: new glx2 script editor now on line

2016-09-22 Thread Mark Talluto

> On Sep 22, 2016, at 8:21 AM, Mike Kerner  wrote:
> 
> 2) I'm trying to edit the prefs for GLX2, but the prefs window only flashes
> and disappears, again.

I noticed that too. I found a workaround.

1. Edit some code in GLX2.
2. Go to LiveCode/preferences

This will bring up the GLX2 preferences because the menu changes to GLX 
specific menu items.


Best regards,

Mark Talluto
livecloud.io
canelasoftware.com




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Any characters wildcard or regex?

2016-09-22 Thread Dave Cragg

> On 22 Sep 2016, at 16:45, Keith Clarke  wrote:
> 
> Thanks Mike, pilot error here - replacetext(tData,"<.*>",empty) looks to be a 
> viable direction of travel once correctly typed. Time to rest my eyes, 
> methinks! 8-)
> Best,
> Keith..

I think you might need replacetext(tData,"<.*?>",empty)

The '?' cause the match to be non-greedy. Without it, everything from the first 
"<" to the last ">" will be replaced.

Cheers
Dave
___
use-livecode mailing list
use-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: Any characters wildcard or regex?

2016-09-22 Thread Keith Clarke
Thanks Mike, pilot error here - replacetext(tData,"<.*>",empty) looks to be a 
viable direction of travel once correctly typed. Time to rest my eyes, 
methinks! 8-)
Best,
Keith..
  
> On 22 Sep 2016, at 16:23, Mike Bonner  wrote:
> 
> if you want to use regex, I think you have to use replacetext rather than
> replace, unless replace has been updated when I wasn't looking.
> I did a quicky test..
> 
> put field 1 into tData -- field with text containing html tags
> put replacetext(tData,"<.*>",empty) into tNewData
> put tNewData
> 
> Also, in your example above I assume you correctly set the htmltext rather
> than the html..
> 
> On Thu, Sep 22, 2016 at 8:46 AM, Keith Clarke  wrote:
> 
>> Thanks Mike & Klaus,
>> The simple line 'replace "<.*>" with empty in tFileText’ would be ideal,
>> but it seems to be ignored.
>> 
>> The html approach seems to hit an early hurdle, too - if I...
>> 
>> set the html of field "FldFileText" to URL(tFileName)
>> set the text of field "FldFileText" to the text of field “FldFileText
>> 
>> ...this results in an empty field after the first or both lines. Perhaps
>> this is because the source file is a CSV with only one item having any HTML
>> tags?
>> 
>> Just to clarify the problem - the source text I’m working with comes from
>> CSV file imports and some files contain RTF fields amongst their items.
>> These RTF styling tags sometimes contain quotes & commas that are causing
>> occasional glitches with the CSV item delimiting - hence the need to
>> pre-process and strip out all tags before processing the CSV import.
>> 
>> Thanks again for your insights.
>> Best,
>> Keith..
>> 
>>> On 22 Sep 2016, at 15:12, Klaus major-k  wrote:
>>> 
>>> Hi Mike and Keith,
>>> 
 Am 22.09.2016 um 16:03 schrieb Mike Bonner :
 
 Using replacetext, you're probably looking for "<.*>"
 but you might be able to use a field for this..  set the htmltext of the
 field to your source text, Then if you don't want the formatting
>> preserved
 set the text of the field to the text of the field.  One problem with
>> this
 method is that you may end up with javascript left over because it can
 appear between  and 
>>> 
>>> you can even (ab)use "the templatefield" for this:
>>> ...
>>> set the htmltext of the templatefield to url("http://your_url/here.html
>> ")
>>> put the text of the templatefield into fld 1 # or a variable
>>> reset the templatefield ## !!
>>> ...
>>> 
 On Thu, Sep 22, 2016 at 7:34 AM, Keith Clarke 
>> wrote:
 
> Hi folks,
> I’m trying to strip out all HTML tags from text in a variable.
>> Replacement
> of specific tags works fine... replace “" with empty in tText …but
>> I’m
> struggling to find (documentation on) a blanket ‘any number of any
> characters’ wildcard or regex approach...
> 
> So far I’ve tried "<*>”, “<[*]>”,  “<[.*]>”, "<" & "[.*]" & “>” to no
>> avail
> 
> Any clues greatly appreciated.
> Best,
> Keith..
>>> 
>>> Best
>>> 
>>> Klaus
>>> 
>>> --
>>> Klaus Major
>>> http://www.major-k.de
>>> kl...@major-k.de
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-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: Export PNG with alpha channel/mask

2016-09-22 Thread Klaus major-k
Hi Ben,

> Am 22.09.2016 um 17:02 schrieb Ben Rubinstein :
> 
> I want to compose an image using a bunch of LC objects, then export a PNG, 
> with an alpha channel containing a mask (ideally > 1 bit, but that part's not 
> critical).
> The documentation for export snapshot is not very clear. I've tried things 
> like exporting a transparent group containing some objects; the PNG was just 
> filled with black where there were no objects.
> There is an option "with mask xx", but it appears that this is only for PBM 
> format - and in any case I can't make it work.
> Is there any way to do this?

yes, but you need to group all your objects first, then use something like this:
...
export snapshot from rect (the rect of grp 1) of grp 1 to img 1 as PNG
...

> TIA
> 
> Ben

Best

Klaus

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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Any characters wildcard or regex?

2016-09-22 Thread Mike Bonner
if you want to use regex, I think you have to use replacetext rather than
replace, unless replace has been updated when I wasn't looking.
I did a quicky test..

put field 1 into tData -- field with text containing html tags
put replacetext(tData,"<.*>",empty) into tNewData
put tNewData

Also, in your example above I assume you correctly set the htmltext rather
than the html..

On Thu, Sep 22, 2016 at 8:46 AM, Keith Clarke  wrote:

> Thanks Mike & Klaus,
> The simple line 'replace "<.*>" with empty in tFileText’ would be ideal,
> but it seems to be ignored.
>
> The html approach seems to hit an early hurdle, too - if I...
>
> set the html of field "FldFileText" to URL(tFileName)
> set the text of field "FldFileText" to the text of field “FldFileText
>
> ...this results in an empty field after the first or both lines. Perhaps
> this is because the source file is a CSV with only one item having any HTML
> tags?
>
> Just to clarify the problem - the source text I’m working with comes from
> CSV file imports and some files contain RTF fields amongst their items.
> These RTF styling tags sometimes contain quotes & commas that are causing
> occasional glitches with the CSV item delimiting - hence the need to
> pre-process and strip out all tags before processing the CSV import.
>
> Thanks again for your insights.
> Best,
> Keith..
>
> > On 22 Sep 2016, at 15:12, Klaus major-k  wrote:
> >
> > Hi Mike and Keith,
> >
> >> Am 22.09.2016 um 16:03 schrieb Mike Bonner :
> >>
> >> Using replacetext, you're probably looking for "<.*>"
> >> but you might be able to use a field for this..  set the htmltext of the
> >> field to your source text, Then if you don't want the formatting
> preserved
> >> set the text of the field to the text of the field.  One problem with
> this
> >> method is that you may end up with javascript left over because it can
> >> appear between  and 
> >
> > you can even (ab)use "the templatefield" for this:
> > ...
> > set the htmltext of the templatefield to url("http://your_url/here.html
> ")
> > put the text of the templatefield into fld 1 # or a variable
> > reset the templatefield ## !!
> > ...
> >
> >> On Thu, Sep 22, 2016 at 7:34 AM, Keith Clarke 
> wrote:
> >>
> >>> Hi folks,
> >>> I’m trying to strip out all HTML tags from text in a variable.
> Replacement
> >>> of specific tags works fine... replace “" with empty in tText …but
> I’m
> >>> struggling to find (documentation on) a blanket ‘any number of any
> >>> characters’ wildcard or regex approach...
> >>>
> >>> So far I’ve tried "<*>”, “<[*]>”,  “<[.*]>”, "<" & "[.*]" & “>” to no
> avail
> >>>
> >>> Any clues greatly appreciated.
> >>> Best,
> >>> Keith..
> >
> > Best
> >
> > Klaus
> >
> > --
> > Klaus Major
> > http://www.major-k.de
> > kl...@major-k.de
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-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: ANN: new glx2 script editor now on line

2016-09-22 Thread Mike Kerner
A couple of things:
1) The Everything under "blogroll" on the wordpress site points to
wordpress things, not Marky things
2) I'm trying to edit the prefs for GLX2, but the prefs window only flashes
and disappears, again.

On Wed, Sep 21, 2016 at 11:05 PM, Mark Wieder  wrote:

> On 09/21/2016 12:10 PM, Sannyasin Brahmanathaswami wrote:
>
>> I'll give it a go again.. thanks Mark!  I see you uploaded a version 3
>> hours ago…
>>
>
> Yeah... I finally had time to clear out some longstanding bugs, so I put a
> 3.0.20 build online.
>
>  cross fingers for compatilibity on 8.1 OS X
>
> So far seems fine on El Capitan. You *do* have a way of pushing the limits
> of things, though, so I await your experiences.
>
> where are the docs?
>>
>
> Have I mentioned lately how much I hate WordPress?
> The documentation has disappeared. Or rather, the files still exist but
> they're no longer linked. And can't be resurrected the way they were.
>
> Anyone have recommendations for putting tutorials online?
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



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

Export PNG with alpha channel/mask

2016-09-22 Thread Ben Rubinstein
I want to compose an image using a bunch of LC objects, then export a PNG, 
with an alpha channel containing a mask (ideally > 1 bit, but that part's not 
critical).


The documentation for export snapshot is not very clear. I've tried things 
like exporting a transparent group containing some objects; the PNG was just 
filled with black where there were no objects.


There is an option "with mask xx", but it appears that this is only for PBM 
format - and in any case I can't make it work.


Is there any way to do this?

TIA

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


Re: LiveCode interface to SCORM /LIT

2016-09-22 Thread Earthednet-wp
Martin,
I hadn't heard about xAPI. I've really just dabbled in this subject. I know 
that my campus uses a highly customized version of Moodle, so it would be 
compatible with xAPI. Our local community college is changing over to Canvas 
after using Moodle, and before that, Blackboard. An organization I'm involved 
with that distributes higher Ed learning resources 
(http://serc.carleton.edu/index.html) uses a protocol called "Common 
Cartridge". 

The api needs to allow for stand-alone app integration, for my purposes. When I 
look at the docs for these api's, my eyes roll back in my head and I realize it 
would be a major project for me to implement this interface for my work. I give 
my projects away for free, so putting that kind of investment into the LMS api 
doesn't make sense for me. However, that said, I am interested and would be 
interested in using and/or testing, and following progress with those who might 
develop a livecode framework.

One thing I do know is that SCORM is inadequate for higher Ed. It forces a 
specific learning model that is outdated.

I will see if I can get some information from our Moodle IT guys at UCSB.

Best,
Bill

 

William Prothero
http://es.earthednet.org

> On Sep 22, 2016, at 7:19 AM, Martin Koob  wrote:
> 
> Thanks for the link to LTI. I am interested in a technology that could
> integrate my LiveCode app into LMS's. 
> 
> I think that Tin-Can API or the ExperienceAPI (xAPI) were also developed as
> a successor to SCORM to address its shortcomings.  
> https://experienceapi.com/history/
> 
> They list a number of adopters including BlackBoard and Moodle
> 
> http://experienceapi.com/adopters/
> 
> Have you heard of this?  Would this api accomplish what you are trying to
> do?
> 
> Martin
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708773.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Any characters wildcard or regex?

2016-09-22 Thread Keith Clarke
Thanks Mike & Klaus,
The simple line 'replace "<.*>" with empty in tFileText’ would be ideal, but it 
seems to be ignored.

The html approach seems to hit an early hurdle, too - if I...

set the html of field "FldFileText" to URL(tFileName)
set the text of field "FldFileText" to the text of field “FldFileText

...this results in an empty field after the first or both lines. Perhaps this 
is because the source file is a CSV with only one item having any HTML tags?

Just to clarify the problem - the source text I’m working with comes from CSV 
file imports and some files contain RTF fields amongst their items. These RTF 
styling tags sometimes contain quotes & commas that are causing occasional 
glitches with the CSV item delimiting - hence the need to pre-process and strip 
out all tags before processing the CSV import. 

Thanks again for your insights.
Best,
Keith..

> On 22 Sep 2016, at 15:12, Klaus major-k  wrote:
> 
> Hi Mike and Keith,
> 
>> Am 22.09.2016 um 16:03 schrieb Mike Bonner :
>> 
>> Using replacetext, you're probably looking for "<.*>"
>> but you might be able to use a field for this..  set the htmltext of the
>> field to your source text, Then if you don't want the formatting preserved
>> set the text of the field to the text of the field.  One problem with this
>> method is that you may end up with javascript left over because it can
>> appear between  and 
> 
> you can even (ab)use "the templatefield" for this:
> ...
> set the htmltext of the templatefield to url("http://your_url/here.html;)
> put the text of the templatefield into fld 1 # or a variable
> reset the templatefield ## !!
> ...
> 
>> On Thu, Sep 22, 2016 at 7:34 AM, Keith Clarke  wrote:
>> 
>>> Hi folks,
>>> I’m trying to strip out all HTML tags from text in a variable. Replacement
>>> of specific tags works fine... replace “" with empty in tText …but I’m
>>> struggling to find (documentation on) a blanket ‘any number of any
>>> characters’ wildcard or regex approach...
>>> 
>>> So far I’ve tried "<*>”, “<[*]>”,  “<[.*]>”, "<" & "[.*]" & “>” to no avail
>>> 
>>> Any clues greatly appreciated.
>>> Best,
>>> Keith..
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LiveCode interface to SCORM /LIT

2016-09-22 Thread Martin Koob
Thanks for the link to LTI. I am interested in a technology that could
integrate my LiveCode app into LMS's. 

I think that Tin-Can API or the ExperienceAPI (xAPI) were also developed as
a successor to SCORM to address its shortcomings.  
https://experienceapi.com/history/

They list a number of adopters including BlackBoard and Moodle

http://experienceapi.com/adopters/

Have you heard of this?  Would this api accomplish what you are trying to
do?

Martin






--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4708773.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: Any characters wildcard or regex?

2016-09-22 Thread Klaus major-k
Hi Mike and Keith,

> Am 22.09.2016 um 16:03 schrieb Mike Bonner :
> 
> Using replacetext, you're probably looking for "<.*>"
> but you might be able to use a field for this..  set the htmltext of the
> field to your source text, Then if you don't want the formatting preserved
> set the text of the field to the text of the field.  One problem with this
> method is that you may end up with javascript left over because it can
> appear between  and 

you can even (ab)use "the templatefield" for this:
...
set the htmltext of the templatefield to url("http://your_url/here.html;)
put the text of the templatefield into fld 1 # or a variable
reset the templatefield ## !!
...

> On Thu, Sep 22, 2016 at 7:34 AM, Keith Clarke  wrote:
> 
>> Hi folks,
>> I’m trying to strip out all HTML tags from text in a variable. Replacement
>> of specific tags works fine... replace “" with empty in tText …but I’m
>> struggling to find (documentation on) a blanket ‘any number of any
>> characters’ wildcard or regex approach...
>> 
>> So far I’ve tried "<*>”, “<[*]>”,  “<[.*]>”, "<" & "[.*]" & “>” to no avail
>> 
>> Any clues greatly appreciated.
>> Best,
>> Keith..

Best

Klaus

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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Any characters wildcard or regex?

2016-09-22 Thread Mike Bonner
Using replacetext, you're probably looking for "<.*>"
but you might be able to use a field for this..  set the htmltext of the
field to your source text, Then if you don't want the formatting preserved
set the text of the field to the text of the field.  One problem with this
method is that you may end up with javascript left over because it can
appear between  and 

On Thu, Sep 22, 2016 at 7:34 AM, Keith Clarke  wrote:

> Hi folks,
> I’m trying to strip out all HTML tags from text in a variable. Replacement
> of specific tags works fine... replace “" with empty in tText …but I’m
> struggling to find (documentation on) a blanket ‘any number of any
> characters’ wildcard or regex approach...
>
> So far I’ve tried "<*>”, “<[*]>”,  “<[.*]>”, "<" & "[.*]" & “>” to no avail
>
> Any clues greatly appreciated.
> Best,
> Keith..
> ___
> use-livecode mailing list
> use-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

Any characters wildcard or regex?

2016-09-22 Thread Keith Clarke
Hi folks,
I’m trying to strip out all HTML tags from text in a variable. Replacement of 
specific tags works fine... replace “" with empty in tText …but I’m 
struggling to find (documentation on) a blanket ‘any number of any characters’ 
wildcard or regex approach...

So far I’ve tried "<*>”, “<[*]>”,  “<[.*]>”, "<" & "[.*]" & “>” to no avail

Any clues greatly appreciated.
Best,
Keith..
___
use-livecode mailing list
use-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: copy a stack from dropbox to temp-folder (script)

2016-09-22 Thread Roger Eller
on mouseUp

put “myStack v1.0.0.livecode” into myRemoteFileName

put myRemoteFileName into myLocalFileName -- same name

put URL ("https://dl.dropboxusercontent.com/u/14355803/PVT/";
myRemoteFileName)
into URL ("binfile://" & specialfolderpath("temporary")&
myLocalFileName )

go to stack URL ("binfile://" & specialfolderpath("temporary")&
myLocalFileName )

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

validating xml

2016-09-22 Thread jbv
Hello list

I have a script server-side that sends xml data to a web page.
The xml content is enriched text (featuring several html tags) made by
other users and stored in a DB.
When enriching text with a js library, it often happens that something
goes wrong with tags... So my question : is there a way (function, LC or
PHP library, whatever) to check if the xml is well-formed (all tags
closed, etc), and possibly fix it, before sending it to the client browser
or app ?

Thanks in advance
jbv


___
use-livecode mailing list
use-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: copy a stack from dropbox to temp-folder (script)

2016-09-22 Thread Klaus major-k
Hi John,

> Am 22.09.2016 um 12:46 schrieb John Allijn :
> 
> Hi,
> 
> I’m trying to copy a file from my dropbox’s public folder to my local
> temp-folder.
> I get the filename, create a destination path and put the remote file in
> the local folder. This seems to work (there is a file by that name in my
> temp folder), but when I go to this copied stack I get an “this file is not
> a stack”-error.
> 
> What am I doing wrong?
> 
> here’s my script:
> 
> on mouseUp
> put “myStack v1.0.0.livecode” into myRemoteFileName
> 
> put "https://dl.dropboxusercontent.com/u/14355803/PVT/"; myRemoteFileName
> into myRemoteStackName
> 
> put "file:"("temporary") into targetFile
> revCopyFile myRemoteStackName, targetFile
> 
> put specialfolderpath("temporary")& myRemoteFileName into
> stackInTempFolder
> go to stack stackInTempFolder
> 
> put the result
> 
> end mouseUp

"revCopyFile" needs the "naked" pathname as parameter!
Try this:
...
## put "file:"("temporary") into targetFile
put specialfolderpath("temporary") into targetFile
revCopyFile myRemoteStackName, targetFile
...


Best

Klaus

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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: copy a stack from dropbox to temp-folder (script)

2016-09-22 Thread Tore Nilsen

My guess is that you need to use binfile instead of file, as a stack is binary.
Vennlig hilsen
Tore Nilsen

Den 21. sep 2016 kl. 23.47 skrev John Allijn  
følgende:

Hi,

I’m trying to copy a file from my dropbox’s public folder to my local
temp-folder.
I get the filename, create a destination path and put the remote file in
the local folder. This seems to work (there is a file by that name in my
temp folder), but when I go to this copied stack I get an “this file is not
a stack”-error.

What am I doing wrong?



here’s my script:

on mouseUp
put “myStack v1.0.0.livecode” into myRemoteFileName

put "https://dl.dropboxusercontent.com/u/14355803/PVT/"; myRemoteFileName
into myRemoteStackName

put "file:"("temporary") into targetFile
revCopyFile myRemoteStackName, targetFile

put specialfolderpath("temporary")& myRemoteFileName into
stackInTempFolder
go to stack stackInTempFolder

put the result

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
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

copy a stack from dropbox to temp-folder (script)

2016-09-22 Thread John Allijn
Hi,

I’m trying to copy a file from my dropbox’s public folder to my local
temp-folder.
I get the filename, create a destination path and put the remote file in
the local folder. This seems to work (there is a file by that name in my
temp folder), but when I go to this copied stack I get an “this file is not
a stack”-error.

What am I doing wrong?



here’s my script:

on mouseUp
put “myStack v1.0.0.livecode” into myRemoteFileName

put "https://dl.dropboxusercontent.com/u/14355803/PVT/"; myRemoteFileName
into myRemoteStackName

put "file:"("temporary") into targetFile
revCopyFile myRemoteStackName, targetFile

put specialfolderpath("temporary")& myRemoteFileName into
 stackInTempFolder
go to stack stackInTempFolder

put the result

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: Malte Brill stack

2016-09-22 Thread Mike Bonner
I only know the contest description referenced building a robowars clone as
one of the objectives, I wasn't around at the time, so I don't know if
starbattle is one of the entries.. But most likely my answer is yes, I do!
I'd love to see it if it's available and ok with Geoff.

On Thu, Sep 22, 2016 at 12:04 AM, Alejandro Tejada 
wrote:

> I found it! :D
>
> The tutorial I was looking for
> is a chapter within the MS Windows
> executable Program named:
> Derbrill Tutorials.
>
> Many thanks again for
> pointing this quest in
> the correct direction :)
>
> Have a nice weekend!
>
> Alejandro
>
> ___
> use-livecode mailing list
> use-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: Difficulty with Load command

2016-09-22 Thread Peter Bogdanoff
Thanks Andy, you’re right, that a good explanation.

I’m also seeing Richards discussion of encoded arrays:
http://permalink.gmane.org/gmane.comp.ide.revolution.user/176711

I tried base64/compressed/encoding as he suggests with a “.txt” suffix and that 
seems to work. It seems it won’t work at all without the txt suffix.

Peter

On Sep 21, 2016, at 11:08 PM, AndyP  wrote:

> Hi Peter,
> 
> Have a look at this lesson, its a very clear example of how Load works. The
> dictionary entry is not very helpful for Load.
> 
> 
> http://lessons.livecode.com/m/4071/l/7523-how-do-i-get-the-content-of-a-url-on-a-web-server-into-revolution?id=7523-how-do-i-get-the-content-of-a-url-on-a-web-server-into-revolution
> 
>   
> 
> 
> 
> 
> 
> -
> Andy Piddock 
> 
> 
> My software never has bugs. It just develops random features. 
> 
> Copy the new cloud space, get your free 15GB space now:
> Get Copy 
> 
> 
> Script editor Themer for LC http://2108.co.uk  
> 
> PointandSee is a FREE simple but full featured under cursor colour picker / 
> finder.
> http://www.pointandsee.co.uk  - made with LiveCode
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Difficulty-with-Load-command-tp4708759p4708762.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Difficulty with Load command

2016-09-22 Thread AndyP
Hi Peter,

Have a look at this lesson, its a very clear example of how Load works. The
dictionary entry is not very helpful for Load.


http://lessons.livecode.com/m/4071/l/7523-how-do-i-get-the-content-of-a-url-on-a-web-server-into-revolution?id=7523-how-do-i-get-the-content-of-a-url-on-a-web-server-into-revolution

  





-
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Difficulty-with-Load-command-tp4708759p4708762.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


Malte Brill stack

2016-09-22 Thread Alejandro Tejada
I found it! :D

The tutorial I was looking for
is a chapter within the MS Windows
executable Program named:
Derbrill Tutorials.

Many thanks again for
pointing this quest in
the correct direction :)

Have a nice weekend!

Alejandro

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode