Re: Odd native scroller issue on iOS

2016-05-18 Thread Terry Judd
Scott, you are an absolute legend! Setting the vScroll of the scroller to
itself when the scroller is initialised didn't help (the routine to create
all native controls is called in  an openCard handler) but applying your
workaround each time one of the form elements is toggled (and the
contentRect is updated) seems to do the trick.

Grazie mille!

Terry…

Terry Judd  | Senior Lecturer in Medical Education
Department of Medical Education

The University of Melbourne 
M: 0435 961 594  |  E: terry.j...@unimelb.edu.au

Publications 




On 19/05/2016 2:57 pm, "use-livecode on behalf of Scott Rossi"
 wrote:

>Try setting the vScroll of the scroller to itself (its current value) upon
>opening the card or after creating the scroller.  Goofy, yes, but doing so
>may solve the problem.
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 5/18/16, 9:11 PM, "use-livecode on behalf of Terry Judd"
>terry.j...@unimelb.edu.au> wrote:
>
>>I¹m having an issue with a native scroller on iOS. It¹s used to scroll a
>>group of expanding and contracting form elements that each contain a
>>number of Œon/off¹ buttons. It all works well enough (with the
>>contentRect of the scroller being adjusted each time an element is
>>expanded or contracted) except under certain circumstances, where some of
>>the elements (typically above a particular point in the form) become
>>unresponsive to mouse/touch events. The only way to get things happening
>>again is to Œjiggle¹ the scroller with your finger.
>>
>>The problem is definitely related to the native scroller because if I
>>turn it off and resort to a LC scroller it never happens. With the
>>scroller on, the contentRect always appears to report the correct
>>dimensions but even though it (contentRect) doesn¹t include a strip down
>>the side of the screen where the controls for toggling the elements are
>>located these are still affected when the problem occurs. Controls that
>>are above the contentRect area (i.e. nearer the top of the screen) are
>>never affected.
>>
>>Before I file a bug report, has anyone seen anything similar or have any
>>suggestions for working around the problem. I feel like I¹ve tried
>>everything up to this point but maybe not.
>>
>>Terry
>>
>>Terry Judd  | Senior Lecturer in Medical Education
>>Department of Medical
>>Education
>>The University of Melbourne
>>M: 0435 961 594  |  E:
>>terry.j...@unimelb.edu.au
>>Publications>=
>>en>
>>___
>>use-livecode mailing list
>>use-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

Installing LiveCode 8

2016-05-18 Thread gagsoft
Hi Guys

When installing  LiveCode 8 on El Capitan version 10.11.4, an error dialog.
On opening the dictionary it seems as if this was not installed….it is empty.
Has anybody you experienced this and is there a way to manually fix this?
See attached image.

Any pointers would be appreciated.

Peter G

___
use-livecode mailing list
use-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: Odd native scroller issue on iOS

2016-05-18 Thread Terry Judd
So, after some more of Œtrying everything¹ it seems that it¹s the
scroller¹s rect rather than its contentRect that is causing problems. If I
pull the rect in far enough on both sides so that it doesn¹t overlap the
affected control but keep the contentRect large enough that it does cover
them then I can still scroll using the full width of the form and the
controls remain responsive because they are outside of the scroller¹s rect.

The problem is of course that the vertical scroll indicator appears at the
edge of the scroller rect rather than at the edge of the form /
contentRect meaning that I have to hide the scroller¹s vIndicator.

I think I better bug report this.

TerryŠ

Terry Judd  | Senior Lecturer in Medical Education
Department of Medical Education

The University of Melbourne 
M: 0435 961 594  |  E: terry.j...@unimelb.edu.au

Publications 




On 19/05/2016 2:11 pm, "use-livecode on behalf of Terry Judd"
 wrote:

>I¹m having an issue with a native scroller on iOS. It¹s used to scroll a
>group of expanding and contracting form elements that each contain a
>number of Œon/off¹ buttons. It all works well enough (with the
>contentRect of the scroller being adjusted each time an element is
>expanded or contracted) except under certain circumstances, where some of
>the elements (typically above a particular point in the form) become
>unresponsive to mouse/touch events. The only way to get things happening
>again is to Œjiggle¹ the scroller with your finger.
>
>The problem is definitely related to the native scroller because if I
>turn it off and resort to a LC scroller it never happens. With the
>scroller on, the contentRect always appears to report the correct
>dimensions but even though it (contentRect) doesn¹t include a strip down
>the side of the screen where the controls for toggling the elements are
>located these are still affected when the problem occurs. Controls that
>are above the contentRect area (i.e. nearer the top of the screen) are
>never affected.
>
>Before I file a bug report, has anyone seen anything similar or have any
>suggestions for working around the problem. I feel like I¹ve tried
>everything up to this point but maybe not.
>
>Terry
>
>Terry Judd  | Senior Lecturer in Medical Education
>Department of Medical
>Education
>The University of Melbourne
>M: 0435 961 594  |  E:
>terry.j...@unimelb.edu.au
>Publicationsen>
>___
>use-livecode mailing list
>use-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: Odd native scroller issue on iOS

2016-05-18 Thread Scott Rossi
Try setting the vScroll of the scroller to itself (its current value) upon
opening the card or after creating the scroller.  Goofy, yes, but doing so
may solve the problem.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/18/16, 9:11 PM, "use-livecode on behalf of Terry Judd"
 wrote:

>I¹m having an issue with a native scroller on iOS. It¹s used to scroll a
>group of expanding and contracting form elements that each contain a
>number of Œon/off¹ buttons. It all works well enough (with the
>contentRect of the scroller being adjusted each time an element is
>expanded or contracted) except under certain circumstances, where some of
>the elements (typically above a particular point in the form) become
>unresponsive to mouse/touch events. The only way to get things happening
>again is to Œjiggle¹ the scroller with your finger.
>
>The problem is definitely related to the native scroller because if I
>turn it off and resort to a LC scroller it never happens. With the
>scroller on, the contentRect always appears to report the correct
>dimensions but even though it (contentRect) doesn¹t include a strip down
>the side of the screen where the controls for toggling the elements are
>located these are still affected when the problem occurs. Controls that
>are above the contentRect area (i.e. nearer the top of the screen) are
>never affected.
>
>Before I file a bug report, has anyone seen anything similar or have any
>suggestions for working around the problem. I feel like I¹ve tried
>everything up to this point but maybe not.
>
>Terry
>
>Terry Judd  | Senior Lecturer in Medical Education
>Department of Medical
>Education
>The University of Melbourne
>M: 0435 961 594  |  E:
>terry.j...@unimelb.edu.au
>Publicationsen>
>___
>use-livecode mailing list
>use-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


Odd native scroller issue on iOS

2016-05-18 Thread Terry Judd
I’m having an issue with a native scroller on iOS. It’s used to scroll a group 
of expanding and contracting form elements that each contain a number of 
‘on/off’ buttons. It all works well enough (with the contentRect of the 
scroller being adjusted each time an element is expanded or contracted) except 
under certain circumstances, where some of the elements (typically above a 
particular point in the form) become unresponsive to mouse/touch events. The 
only way to get things happening again is to ‘jiggle’ the scroller with your 
finger.

The problem is definitely related to the native scroller because if I turn it 
off and resort to a LC scroller it never happens. With the scroller on, the 
contentRect always appears to report the correct dimensions but even though it 
(contentRect) doesn’t include a strip down the side of the screen where the 
controls for toggling the elements are located these are still affected when 
the problem occurs. Controls that are above the contentRect area (i.e. nearer 
the top of the screen) are never affected.

Before I file a bug report, has anyone seen anything similar or have any 
suggestions for working around the problem. I feel like I’ve tried everything 
up to this point but maybe not.

Terry

Terry Judd  | Senior Lecturer in Medical Education
Department of Medical 
Education
The University of Melbourne
M: 0435 961 594  |  E: terry.j...@unimelb.edu.au
Publications
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


A Personal Challenge

2016-05-18 Thread Mark Smith
Apologies for cross posting...

In the last couple of days, 173 backers (excluding Livecode) have
contributed $22,833 towards the Infinite Livecode campaign (or about $130
dollars each). So first a huge THANK YOU to everyone who has contributed
because I know times are tough. But I also know this is an incredible deal.
First, we expand our developer base from a handful of great contributors in
Edinburgh to well, frankly, all of us. Yes, with Infinite all of us can
contribute in real and meaningful ways to the development of Livecode.
That’s HUGE!  Second we get Todd’s wonderful offer of an OPEN SOURCE version
of his wrapped WordPress functionality so (a) we can see how to do that and
(b) we can build really great e-commerce sites for fun or profit. We get
both of these for what? $130 ??!? Wow, that is an amazing deal.

So, here’s my challenge: I know we all know this is worth way more so I just
went and DOUBLED my contribution. If you have contributed already I
challenge you to do the same. I know, it’s going to hurt. I really do… I’ve
been there :)  But only for a second and then you are going to feel really
great about what you’ve just done for Livecode and for yourself. I guarantee
that. As for the rest, if you have not yet contributed, we need your help
too. So I challenge you to contribute what you can. That’s all I ask:
contribute what you can. Because in this campaign every dollar is going to
count towards something great.

Thanks, now go double down!!

Mark






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

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

Re: Storing and retrieving data from a SQL database

2016-05-18 Thread Lyn Teyla
Paul Dupuis wrote:

> Does anyone have some really good (comprehensive) routines to escape and
> unescape text data for storing in a SQL database (like SQLite or MySQL)

HostM’s server-side demo stack comes with a function (look for the one named 
"se") that you can use:

https://www.hostm.com/tutorials/livecode/api-mariadb-mysql

Lyn :)



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

Re: Storing and retrieving data from a SQL database

2016-05-18 Thread Mike Kerner
Why not just use parameterized queries?

On Wed, May 18, 2016 at 8:16 PM, Paul Dupuis  wrote:

> Does anyone have some really good (comprehensive) routines to escape and
> unescape text data for storing in a SQL database (like SQLite or MySQL)
>
> basics like:
> replace cr with "\n" in pText -- replace any cr with "\n" for new line
> replace tab with "\t" in pText-- replace tabs with "\t"
> replace "'" with "\'" in pText-- replace single quotes with an escaped
> single quote
> replace quote with backslash in pText-- replace double quote with
> escaped double quote
>
>
> but I expect I am missing some characters that SQL manuals say should be
> escaped. What about slash itself? And do you unescaped them in the same
> order you escape them or reverse order or does the order matter?
>
> I could Google the manuals, write some code, test it and revise until
> I've found all the characters and got the order to escape and unescape
> down correctly, but I figure someone else may have already done this
> comprehensively and be willing to share their code?
>
>
>
>
>
>
> ___
> use-livecode mailing list
> use-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


Storing and retrieving data from a SQL database

2016-05-18 Thread Paul Dupuis
Does anyone have some really good (comprehensive) routines to escape and
unescape text data for storing in a SQL database (like SQLite or MySQL)

basics like:
replace cr with "\n" in pText -- replace any cr with "\n" for new line
replace tab with "\t" in pText-- replace tabs with "\t"
replace "'" with "\'" in pText-- replace single quotes with an escaped
single quote
replace quote with backslash in pText-- replace double quote with
escaped double quote


but I expect I am missing some characters that SQL manuals say should be
escaped. What about slash itself? And do you unescaped them in the same
order you escape them or reverse order or does the order matter?

I could Google the manuals, write some code, test it and revise until
I've found all the characters and got the order to escape and unescape
down correctly, but I figure someone else may have already done this
comprehensively and be willing to share their code?






___
use-livecode mailing list
use-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: Missing split option?

2016-05-18 Thread Phil Davis

Brothers of other mothers!
Phil


On 5/18/16 2:27 PM, Mark Talluto wrote:

On May 18, 2016, at 12:15 PM, Phil Davis  wrote:

What, you don't use the long seconds? That goes to a way finer granularity than 
millisecs. (I have a defect similar to yours)

Phil Davis


On 5/18/16 12:02 PM, Richard Gaskin wrote:

Most things I benchmark are too quick to be worth the effort, but it's an old 
habit and helps me learn so I just keep doing it.   Given that things are so 
fast, I usually run many iterations of an operation, taking note of the 
millisecs at the start and then again at the end, and dividing the difference 
by the number of iterations.

--

Or, you could put the long milliseconds for even more granularity. (I seem to 
share the same defect with both of you)

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



--
Phil Davis

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


Re: Missing split option?

2016-05-18 Thread Mark Talluto
> On May 18, 2016, at 12:15 PM, Phil Davis  wrote:
> 
> What, you don't use the long seconds? That goes to a way finer granularity 
> than millisecs. (I have a defect similar to yours)
> 
> Phil Davis
> 
> 
> On 5/18/16 12:02 PM, Richard Gaskin wrote:
>> Most things I benchmark are too quick to be worth the effort, but it's an 
>> old habit and helps me learn so I just keep doing it.   Given that things 
>> are so fast, I usually run many iterations of an operation, taking note of 
>> the millisecs at the start and then again at the end, and dividing the 
>> difference by the number of iterations.
> 
> -- 

Or, you could put the long milliseconds for even more granularity. (I seem to 
share the same defect with both of you)

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: Missing split option?

2016-05-18 Thread [-hh]
@Richard.
I like your benchmarking "soft spot" and I've learned
both from your stacks and considerations, appreciating
that until now.
But you really could add a smiley if you *interpret* a
1/1 second difference of timing ;-)

@Phil.
The additional digits of the long seconds are probably
closer to random than to exact measurement. Anyway, as
the long seconds are 'produced' increasingly, they are
good for ordering events in a queue. But they are NOT
'exact' for measuring the duration of an event, TMHO.

Hermann

p.s. I think we should prefer the median for averaging
timing, or, even better, if the process measured is
important, show the whole distribution of timing values
(in categories/histogram).




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Missing-split-option-tp4704799p4704829.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


LiveCode Quits

2016-05-18 Thread Javier Miranda
Hi friends, hope you can help me with this,  I downloaded LiveCode 8
Community Edition, but it quits after I click on the big green button
"Start Interactive Tour" of the Start Center.  If instead of trying the
Tour I open a Stack, the Open Dialog appears and the selected Stack opens
for a second and quits immediately.  I uninstalled it and erase everything
including some Registry entries I found, but the problem persists.  I am
sure it´s something in my machine, it´s running Windows 10.

Regards,

Javier
___
use-livecode mailing list
use-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: Missing split option?

2016-05-18 Thread Phil Davis
What, you don't use the long seconds? That goes to a way finer 
granularity than millisecs. (I have a defect similar to yours)


Phil Davis


On 5/18/16 12:02 PM, Richard Gaskin wrote:
Most things I benchmark are too quick to be worth the effort, but it's 
an old habit and helps me learn so I just keep doing it.   Given that 
things are so fast, I usually run many iterations of an operation, 
taking note of the millisecs at the start and then again at the end, 
and dividing the difference by the number of iterations.


--
Phil Davis

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


Re: Missing split option?

2016-05-18 Thread Richard Gaskin

-hh wrote:

> Richard G. wrote
>> Interestingly (though only mildly) I was able to shave off about
>> 1/10th of a millisecond.
>
> This is *very* interesting:
> How did you success in measuring a difference of 1/10th of a
> millisecond?

I was born with a birth defect that gives me an unusually refined 
awareness of time. :)


Most things I benchmark are too quick to be worth the effort, but it's 
an old habit and helps me learn so I just keep doing it.   Given that 
things are so fast, I usually run many iterations of an operation, 
taking note of the millisecs at the start and then again at the end, and 
dividing the difference by the number of iterations.


Far from scientific, and if I worked for CERN that sort of cavalier 
measurement wouldn't stand.  But it's enough to help me pick alternate 
algos for some things and is simple to write, so I'm okay with it.


I've put together some of my notes on benchmarking here:


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


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


Re: Missing split option?

2016-05-18 Thread [-hh]
Richard G. wrote
> Interestingly (though only mildly) I was able to shave off about 1/10th
> of a millisecond.

This is *very* interesting:
How did you success in measuring a difference of 1/10th of a millisecond?
What started the timing? A mouseEvent? A keyboardEvent?



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Missing-split-option-tp4704799p4704825.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: Daft "text Editor" question

2016-05-18 Thread Roger Eller
I never knew (or looked for it) in the Edit menu.  I've always selected a
stack, then pressed Control-F (on Windows).  It's great for changing the
names of hidden buttons too.

~Roger

On Wed, May 18, 2016 at 1:19 PM, Scott Rossi  wrote:

> If you look at the Find and Replace... option in the Edit menu, you'll see
> you can do replace actions throughout a stack by changing the "In" option
> to "This stack and its stack files".
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
___
use-livecode mailing list
use-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: Daft "text Editor" question

2016-05-18 Thread RM

Now THAT seems to be the information I am looking for.

Thank you very much indeed.

Richmond.

On 18.05.2016 20:19, Scott Rossi wrote:

If you look at the Find and Replace... option in the Edit menu, you'll see
you can do replace actions throughout a stack by changing the "In" option
to "This stack and its stack files".

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/18/16, 10:05 AM, "use-livecode on behalf of RM"
 wrote:


So am really wondering how to go about this.

In a perfect world (bloody silly thing to say really, as a "perfect
world" is just some sort of delusion) I would be able to
open the whole stack in some sort of text editor, run, say, 50
search-&-replace routines for multiple occurrences, save the thing,
and reopen it in Livecode, and "Bob's yer Uncle".

I wonder why Livecode is "so stuffy"?



___
use-livecode mailing list
use-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: Daft "text Editor" question

2016-05-18 Thread Scott Rossi
If you look at the Find and Replace... option in the Edit menu, you'll see
you can do replace actions throughout a stack by changing the "In" option
to "This stack and its stack files".

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/18/16, 10:05 AM, "use-livecode on behalf of RM"
 wrote:

>So am really wondering how to go about this.
>
>In a perfect world (bloody silly thing to say really, as a "perfect
>world" is just some sort of delusion) I would be able to
>open the whole stack in some sort of text editor, run, say, 50
>search-&-replace routines for multiple occurrences, save the thing,
>and reopen it in Livecode, and "Bob's yer Uncle".
>
>I wonder why Livecode is "so stuffy"?



___
use-livecode mailing list
use-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: Bullet • Mac/Win

2016-05-18 Thread RM
If you are working with any version from 7.0 upwards you should be able 
to "just" do this:


put whatever & TAB & *numToCodePoint(8226)* & anothervar & CR after tDGText

give it a try and revert to me :)

Best, Richmond.

On 18.05.2016 18:55, Klaus major-k wrote:

Hi Richmond,


Am 18.05.2016 um 17:45 schrieb RM :

Dear Klaus,

As Macintosh and Windows versions of Livecode, and the 2 operating systems, are 
Unicode compliant
as long as you use the Unicode compliant bullet-point symbol [Hex 2022, Decimal 
8226] there should
be no reason why it should not cross from Mac to Windows without going "funny".

http://www.unicode.org/charts/PDF/U2000.pdf

OK, thank you!

Please pardon my ignorance, but how can I create a tab delimited text list
(for a datagrid) that contains this bullet?
...
put whatever & TAB & XXX & anothervar & CR after tDGText
## Where XXX should be the bullet...
...

Any pointer appreciated :-)


Richmond.

Best

Klaus

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


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


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


Re: Daft "text Editor" question

2016-05-18 Thread RM



On 18.05.2016 18:45, J. Landman Gay wrote:
You can read and edit stack files in most text editors (I use BBEdit) 
but note that LC won't recognize the altered file as a valid stack if 
you try to open it later.


Aah: that is where the antic sits (check out Shakespeare's "Richard II": 
it rocks); the fact that Livecode won't read the altered file.


In Visual Basic 5 (which I had a brief, unhappy flirtation forced on me 
at the "University" of Abertay), although, frankly, I cannot
think of much good to say about it, the one thing that was useful 
(although at the time I disliked it intensely) was the ability to look at
the scripts for all the objects in a "stack" as one long list. In fact 
my main grouse about it (apart from the fact that it was confined to one

operating system) was that one couldn't view individual scripts of objects.

I notice that in my original post I misspelled 'frankly' as 'farnkly', 
and FARNKLY really expresses how I feel
about having to go through millions of lines of code changing numToChar 
to numToCodePoint, and replacing surrogate pairs with

full Unicode address numbers.

So am really wondering how to go about this.

In a perfect world (bloody silly thing to say really, as a "perfect 
world" is just some sort of delusion) I would be able to
open the whole stack in some sort of text editor, run, say, 50 
search-&-replace routines for multiple occurrences, save the thing,

and reopen it in Livecode, and "Bob's yer Uncle".

I wonder why Livecode is "so stuffy"?

Richmond.



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



On May 18, 2016 5:05:02 AM RM  wrote:


Does anyone know of a word-processing type program that can open .rev
and .livecode
files so that one can see ALL the scripts of ALL the objects in one long
document?

This may sound a bit daft, but I am considering "refactoring" the
code-base for my Devawriter Pro
from pre version 7 to post version 7, and this will involve very many
changes in about 4 million
lines of code, and, farnkly, I should like to automate that process as
much as possible.

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: Missing split option?

2016-05-18 Thread Richard Gaskin

Bob Sneidar wrote:

> On May 18, 2016, at 08:37 , Richard Gaskin wrote:
>
>> DGs will give the array directly so I don't need to deal with that
>> when using those as the Master, but more often I use list fields
>> for the Master, where it would be convenient to have the array made
>> in one line.
>
> I was thinking of having a hidden data grid for the sole purpose of
> converting your data to an array. The repeat loop you are looking
> for may already been written in the datagrid library, which begs the
> possibility, why not get that function from the datagrid library
> itself? Might have some methods that will prove useful.

There's a lot of great stuff in the DG code, but this one was easy 
enough to write:


function NamedRowToArray pData
   set the itemdel to tab
   put line 2 of pData into tVals
   put 0 into i
   repeat for each item tKeyName in line 1 of pData
  add 1 to i
  put item i of tVals into tA[tKeyName]
   end repeat
   return tA
end NamedRowToArray

On sample data of 100 fields each with values of > 100 chars (a bit 
larger than most of the data I work with), it returns the array in the 
format I'm looking for in about 1.5 ms, fast enough for UI-related tasks.


Interestingly (though only mildly) I was able to shave off about 1/10th 
of a millisecond by pre-splitting the values rather than using item chunks:


function NamedRowToArray pData
   set the itemdel to tab
   put 0 into i
   put line 2 of pData into tVals
   split tVals by tab
   put line 1 of pData into tKeyNames
   repeat for each item tKeyName in tKeyNames -- line 1 of pData
  add 1 to i
  put tVals[i] into tA[tKeyName]
   end repeat
   return tA
end NamedRowToArray

Even more interesting, that split is only beneficial when dealing with a 
lot of values.  When I reduced the sample set from 100 fields to 10, it 
actually added an extra 1/10th of a millisecond to the time 
(understandable since split requiring chunking anyway, plus a little 
hashing time).


Since the minor difference with pre-splitting the values is negligible 
and data-size dependent, for now I'll stick with the first version since 
to my eye it's more straightforward.


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


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


Re: Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi Mike,

> Am 18.05.2016 um 18:06 schrieb Mike Bonner :
> 
> You can set it up in your script as a constant to avoid some typing.
> 
> Do the numtocodepoint in the text box then paste the thing into your
> constant declaration.

thanks, will keep this in mind for future uses :-)


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: Bullet • Mac/Win

2016-05-18 Thread Mike Bonner
You can set it up in your script as a constant to avoid some typing.

Do the numtocodepoint in the text box then paste the thing into your
constant declaration.

On Wed, May 18, 2016 at 10:03 AM, Klaus major-k  wrote:

> Hi Bob,
>
> > Am 18.05.2016 um 17:58 schrieb Bob Sneidar  >:
> >
> > Hi Klaus.
> >
> > What I did is create a bullet point graphic (could use an SVG path??)
>
> unfortunatley we cannot use SVGs like a“regular“ image object (yet)!
>
> > then set the imageSource of the first character which I insert (like a
> space) to that image. I will preface each line with a space and a tab, then
> set the first tab spacing to enough to make the list pleasing to the eye.
> This way the items of the list are all left aligned.
>
> I did want to use a datagrid of type TABLE with no more scripting ;-)
>
> Thanks anyway!
>
> > Just one way to skin that cat (I apologise to cat lovers for the phrase).
> >
> > Bob S
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-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: Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi Devin,

> Am 18.05.2016 um 18:00 schrieb Devin Asay :
>> ...
>> Please pardon my ignorance, but how can I create a tab delimited text list
>> (for a datagrid) that contains this bullet?
>> ...
>> put whatever & TAB & XXX & anothervar & CR after tDGText
>> ## Where XXX should be the bullet…
> 
> Klaus,
> 
> How about:
> 
> put whatever & TAB & numToCodepoint(8226) & anothervar & CR after tDGText

YES! 
Looks like this is what I was looking for, thanks a lot! :-)

> Devin
> 
> Devin Asay
> Office of Digital Humanities
> Brigham Young University

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: Bullet • Mac/Win

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

> Am 18.05.2016 um 17:58 schrieb Bob Sneidar :
> 
> Hi Klaus.
> 
> What I did is create a bullet point graphic (could use an SVG path??)

unfortunatley we cannot use SVGs like a“regular“ image object (yet)!

> then set the imageSource of the first character which I insert (like a space) 
> to that image. I will preface each line with a space and a tab, then set the 
> first tab spacing to enough to make the list pleasing to the eye. This way 
> the items of the list are all left aligned.

I did want to use a datagrid of type TABLE with no more scripting ;-)

Thanks anyway!

> Just one way to skin that cat (I apologise to cat lovers for the phrase).
> 
> Bob S

Best

Klaus

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


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

Re: Missing split option?

2016-05-18 Thread Paul Dupuis
On 5/18/2016 10:36 AM, Richard Gaskin wrote:
> This morning it seemed natural enough to me to take this data:
>
> IDName  Email
> 101   Richard   r...@somedomain.com
>
> ...and turn that into an array where the first line determines the key
> names and the second line consists of the values using this:
>
>   split tData by column with cr and tab
>
> I found that when splitting by column the "with" clause throws an error.
>
> Such cases are for data so small that I don't mind writing a loop to
> create the array.  But it seems common enough that I would imagine
> others have tried this and met with similar disappointment that it's
> not already built in.
>
> Or is it?  Is there some other syntax I might try to do that?
>

For everyone who might like this capability, add your endorsements to a
long pending enhancement request at
http://quality.livecode.com/show_bug.cgi?id=9950

___
use-livecode mailing list
use-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: Bullet • Mac/Win

2016-05-18 Thread Devin Asay

> On May 18, 2016, at 9:55 AM, Klaus major-k  wrote:
> 
> Hi Richmond,
> 
>> Am 18.05.2016 um 17:45 schrieb RM :
>> 
>> Dear Klaus,
>> 
>> As Macintosh and Windows versions of Livecode, and the 2 operating systems, 
>> are Unicode compliant
>> as long as you use the Unicode compliant bullet-point symbol [Hex 2022, 
>> Decimal 8226] there should
>> be no reason why it should not cross from Mac to Windows without going 
>> "funny".
>> 
>> http://www.unicode.org/charts/PDF/U2000.pdf
> 
> OK, thank you!
> 
> Please pardon my ignorance, but how can I create a tab delimited text list
> (for a datagrid) that contains this bullet?
> ...
> put whatever & TAB & XXX & anothervar & CR after tDGText
> ## Where XXX should be the bullet…

Klaus,

How about:

put whatever & TAB & numToCodepoint(8226) & anothervar & CR after tDGText

Devin

Devin Asay
Office of Digital Humanities
Brigham Young University

___
use-livecode mailing list
use-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: Bullet • Mac/Win

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

> Am 18.05.2016 um 17:45 schrieb RM :
> 
> Dear Klaus,
> 
> As Macintosh and Windows versions of Livecode, and the 2 operating systems, 
> are Unicode compliant
> as long as you use the Unicode compliant bullet-point symbol [Hex 2022, 
> Decimal 8226] there should
> be no reason why it should not cross from Mac to Windows without going 
> "funny".
> 
> http://www.unicode.org/charts/PDF/U2000.pdf

OK, thank you!

Please pardon my ignorance, but how can I create a tab delimited text list
(for a datagrid) that contains this bullet?
...
put whatever & TAB & XXX & anothervar & CR after tDGText
## Where XXX should be the bullet...
...

Any pointer appreciated :-)

> Richmond.

Best

Klaus

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


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


Re: Missing split option?

2016-05-18 Thread Bob Sneidar
I was thinking of having a hidden data grid for the sole purpose of converting 
your data to an array. The repeat loop you are looking for may already been 
written in the datagrid library, which begs the possibility, why not get that 
function from the datagrid library itself? Might have some methods that will 
prove useful.

Bob S


On May 18, 2016, at 08:37 , Richard Gaskin 
> wrote:

> But it occurs to me that datagrids do this by nature. If you were to
> set the dgText of a data grid, then get the dgData of the same, you
> would get the exact effect you seek.

Good for the Master part of my Master-Detail layout, but this is for the Detail 
part. I'm writing a generic handler to populate Detail views from an array 
containing the data for a record selected in the Master view (never gonna type 
that generic code again! ).

DGs will give the array directly so I don't need to deal with that when using 
those as the Master, but more often I use list fields for the Master, where it 
would be convenient to have the array made in one line.

Minor issue though, certainly fast enough to just write a loop function for 
that and move on

--
Richard Gaskin

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


LibURLftpUploadFile doesn't work with Windows Firewall On

2016-05-18 Thread Ray

I'm issuing the following Lib URL commands

   libURLSetFTPMode "active" -- our FTP server doesn't work 
otherwise for some reason

   libURLSetStatusCallback "uploadProgress", the long ID of me
   libURLftpUploadFile tFileForUpload, tDestination, "uploadComplete"

This only works on my Windows 8.1 system if I "Turn Off Windows 
Firewall" under "Private Network Settings".  Leaving Windows Firewall 
turned on for Public network setting doesn't cause any problems.


Does anybody have any experience with this?  Ideally I could provide 
users with a way to "always allow connections for the application named 
Livecode" as I get with other programs like FileZilla.


Thanks in advance!



___
use-livecode mailing list
use-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: Bullet • Mac/Win

2016-05-18 Thread RM

Dear Klaus,

As Macintosh and Windows versions of Livecode, and the 2 operating 
systems, are Unicode compliant
as long as you use the Unicode compliant bullet-point symbol [Hex 2022, 
Decimal 8226] there should
be no reason why it should not cross from Mac to Windows without going 
"funny".


http://www.unicode.org/charts/PDF/U2000.pdf

Richmond.

On 18.05.2016 18:37, Klaus major-k wrote:

Hi friends,

I do not have a Win PC at hand, so my question:
Since version 7.x we have unicode, does that mean
that if I enter a bullet point (see subject) on my Mac into
an LC field, i will also get a bullet point when opening that
stack on Windows?

Know what I mean?

Thanks a lot in advance!


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: Missing split option?

2016-05-18 Thread J. Landman Gay
Splitting by column or row uses the rowdelimiter and columndelimiter 
properties, which are cr and tab by default, but you can change them. In 
your example you wouldn't need to.


But splitting by column won't give what you want, I don't think. If I 
remember right it will give a numbered array with each element being the 
contents of a column.


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



On May 18, 2016 9:38:50 AM Richard Gaskin  wrote:


This morning it seemed natural enough to me to take this data:

IDName  Email
101   Richard   r...@somedomain.com

...and turn that into an array where the first line determines the key
names and the second line consists of the values using this:

   split tData by column with cr and tab

I found that when splitting by column the "with" clause throws an error.

Such cases are for data so small that I don't mind writing a loop to
create the array.  But it seems common enough that I would imagine
others have tried this and met with similar disappointment that it's not
already built in.

Or is it?  Is there some other syntax I might try to do 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-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi friends,

I do not have a Win PC at hand, so my question:
Since version 7.x we have unicode, does that mean
that if I enter a bullet point (see subject) on my Mac into 
an LC field, i will also get a bullet point when opening that 
stack on Windows?

Know what I mean?

Thanks a lot in advance!


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: Missing split option?

2016-05-18 Thread Bob Sneidar
Okay reading further it seems there are two forms: "using | with" (synonyms) 
and "by column". The documentation is incorrect (or else I misunderstand what 
"{by | using | with}" means) where it says:

Syntax:
split variable {by | using | with} primaryDelimiter [and secondaryDelimiter]
split variable {by | using | with} primaryDelimiter as set
split variable {by | using | with} {row | column}

It also seems you CAN create an array where you get named keys, but the text 
has to be something like:

put "A apple;;B bottle;;C cradle" into myVariable split myVariable by ";;" and 
space

So the first delimiter is the record delimiter, and the second is the key 
delimiter. In no case can I figure a way to use split in the manner you want. 
But it occurs to me that datagrids do this by nature. If you were to set the 
dgText of a data grid, then get the dgData of the same, you would get the exact 
effect you seek. 

Bob S


> On May 18, 2016, at 07:45 , Bob Sneidar  wrote:
> 
> "by | using | with" are synonyms so far as I can tell from the dictionary. 
> Should be:
> 
> split tData with cr and tab
> 
> Bob S


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


Re: Missing split option?

2016-05-18 Thread Bob Sneidar
Oh and I am reminded that split will only produce simple one dimensional 
arrays, not 2 dimensional ones as you seem to envision. I've complained about 
this a couple times as it seems at first blush to be a great engine based way 
to create arrays fro text, but alas, no. 

Split will NOT produce an array where teh first line is the key names and the 
rest of the data will be the elements. At least not in any fashion I have yet 
been able to discern. 

Bob S


> On May 18, 2016, at 07:45 , Bob Sneidar  wrote:
> 
> "by | using | with" are synonyms so far as I can tell from the dictionary. 
> Should be:
> 
> split tData with cr and tab
> 
> Bob S
> 
> 


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


Re: Missing split option?

2016-05-18 Thread Richard Gaskin

Bob Sneidar wrote:

>> On May 18, 2016, at 07:36 , Richard Gaskin wrote:
>>
>> This morning it seemed natural enough to me to take this data:
>>
>> IDName  Email
>> 101   Richard   rg at somedomain.com
>>
>> ...and turn that into an array where the first line determines the
>> key names and the second line consists of the values using this:
>>
>>  split tData by column with cr and tab
>>
>> I found that when splitting by column the "with" clause throws an
>> error.
>
> "by | using | with" are synonyms so far as I can tell from the
> dictionary. Should be:
>
> split tData with cr and tab

Thanks, Bob, but the problem is that when using the split command with 
delims the engine presumes you want to split by row, with no option 
(AFAIK) for splitting by column.


The line you wrote would give me an array like this:

KeyValue
   ---
ID Name   Email
101Richard  r...@somedomain.com

...but what I'm hoping to get is:

KeyValue
   ---
ID 101
Name   Richard
Email  r...@somedomain.com


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


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


Re: Missing split option?

2016-05-18 Thread Bob Sneidar
"by | using | with" are synonyms so far as I can tell from the dictionary. 
Should be:

split tData with cr and tab

Bob S


> On May 18, 2016, at 07:36 , Richard Gaskin  wrote:
> 
> This morning it seemed natural enough to me to take this data:
> 
> IDName  Email
> 101   Richard   r...@somedomain.com
> 
> ...and turn that into an array where the first line determines the key names 
> and the second line consists of the values using this:
> 
>  split tData by column with cr and tab
> 
> I found that when splitting by column the "with" clause throws an error.
> 
> Such cases are for data so small that I don't mind writing a loop to create 
> the array.  But it seems common enough that I would imagine others have tried 
> this and met with similar disappointment that it's not already built in.
> 
> Or is it?  Is there some other syntax I might try to do that?


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


Missing split option?

2016-05-18 Thread Richard Gaskin

This morning it seemed natural enough to me to take this data:

IDName  Email
101   Richard   r...@somedomain.com

...and turn that into an array where the first line determines the key 
names and the second line consists of the values using this:


  split tData by column with cr and tab

I found that when splitting by column the "with" clause throws an error.

Such cases are for data so small that I don't mind writing a loop to 
create the array.  But it seems common enough that I would imagine 
others have tried this and met with similar disappointment that it's not 
already built in.


Or is it?  Is there some other syntax I might try to do 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


Re: tree view widget

2016-05-18 Thread Klaus major-k
Hi Ali,

> Am 18.05.2016 um 15:51 schrieb Ali Lloyd :
> 
> Hi Klaus,
> Although we currently have no plans to do that ourselves,it shouldn't be
> too hard to turn the string that's used for the tree view into a property
> of the widget, since it is almost completely independent of the rest of the
> code.
> 
> You'd just need to define a new member variable (say mAddText), set up a
> property for it and replace
> 
> paintText("Add new element", "left", tTextRect, false, false)
> with
> paintText(mAddText, "left", tTextRect, false, false)

hm, I was really hoping that YOU would do this!? 8-)

Come on, I think that LC should NEVER EVER hardcode any english string, 
n’est-ce pas?
We already have this problem on mobile with:
...
mobilePick "A" & return & "B" & return & "C", 1, "cancelDone"
...
Where we will have the english buttons „Cancel“ and „Done“ even on localized 
systems. :-/
I already bug-reported that.

Things like this will make our apps look amateurish, as if we forgot the last 
bit of translation!

> On Wed, May 18, 2016 at 1:02 PM Klaus major-k  wrote:
> 
>> Hi all,
>> 
>>> Am 17.05.2016 um 21:32 schrieb J. Landman Gay >> The array is malformed. The script should be:
>>> on mouseUp
>>> ...
>>> end mouseUp
>>> Note the square brackets around each sublevel.
>> 
>> yep, that worked great, thanks!
>> 
>> Question:
>> Any chance we will be able to TRANSLATE the
>> „Add new element“ string?
>> 
>> Yes, not all of our users speak english, although the
>> mothership seems to presume this... 8-)

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: line graph widget > Help is welcome...

2016-05-18 Thread Ton Kuypers
Grapjas ;-)

Met vriendelijke groeten,
Warm Regards,



Ton Kuypers
+32 (0) 477 739 530

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





> On 18 mei 2016, at 14:36, Erik Beugelaar  wrote:
> 
> Hi Ton,
> 
> Pledge or Infinite LiveCode and this will all be low hanging fruit this 
> summer ;-)
> 
> Kind regards,
> Erik
> 
> P.S. Just in case: this is a joke.
> 
> 
> Sent from solidit    
> 
> 
> 
> 
> 
> 
> On 18/05/16 14:28, "use-livecode on behalf of Ton Kuypers" 
>  tkuyp...@publishingtools4u.com> wrote:
> 
>> Just opened the .lcb file (thanks Peter), but this is not for average 
>> programmers like myself…
>> 
>> Could anyone give me some pointers, or maybe modify the widget?
>> It would be great to set a sub-devision like .5, .2 or .1 so the axis don’t 
>> only show integers...
>> 
>> 
>> Met vriendelijke groeten,
>> Warm Regards,
>> 
>> 
>> 
>> Ton Kuypers
>> +32 (0) 477 739 530
>> 
>> Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium
>> www.publishingtools4u.com
>> 
>> 
>> 
>> 
>> 
>>> On 18 mei 2016, at 14:10, Peter TB Brett  wrote:
>>> 
>>> On 18/05/2016 13:05, Ton Kuypers wrote:
 Is it possible to change the scale of the axes of this widget?
 
 It works fine, but when the values contain decimals, the axis only shows 
 integers, so 5,6,6.3,6.4,6.9,7,8 will show up as 5,6,6,6,6,7,8
 Would be great to set a sub-devision like .5 or .1
 
 I tried editing the source like Kevin showed during his introduction 
 video, but “module.lcm” is scrambled when you open it in Atom :-(
>>> 
>>> You need to edit the ".lcb" file.   The ".lcm" file is the output of 
>>> compiling the ".lcb" file with the lc-compile tool.
>>> 
>>>  Peter
>>> 
>>> -- 
>>> Dr Peter Brett 
>>> LiveCode Open Source Team
>>> 
>>> LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-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: tree view widget

2016-05-18 Thread Ali Lloyd
Hi Klaus,
Although we currently have no plans to do that ourselves, it shouldn't be
too hard to turn the string that's used for the tree view into a property
of the widget, since it is almost completely independent of the rest of the
code.

You'd just need to define a new member variable (say mAddText), set up a
property for it and replace

paintText("Add new element", "left", tTextRect, false, false)

with

paintText(mAddText, "left", tTextRect, false, false)



On Wed, May 18, 2016 at 1:02 PM Klaus major-k  wrote:

> Hi all,
>
> > Am 17.05.2016 um 21:32 schrieb J. Landman Gay  >:
> >
> > The array is malformed. The script should be:
> >
> > on mouseUp
> >  put "Dog,Cat,Horse" into temp
> >  repeat with i = 1 to the number of items of temp
> >put item i of temp into tHobby["John"]["Animal"][i]
> >  end repeat
> >  put "Dog,Tortoise" into temp
> >  repeat with i = 1 to the number of items of temp
> >put item i of temp into tHobby["Jane"]["Animal"][i]
> >  end repeat
> >  put  "Football,Swimming" into temp
> >  repeat with i = 1 to the number of items of temp
> >put item i of temp into tHobby["Willy"]["Sport"][i]
> >  end repeat
> >  set the arraydata of widget "Tree View" to tHobby
> > end mouseUp
> >
> > Note the square brackets around each sublevel.
>
> yep, that worked great, thanks!
>
> Question:
> Any chance we will be able to TRANSLATE the
> „Add new element“ string?
>
> Yes, not all of our users speak english, although the
> mothership seems to presume this... 8-)
>
>
> 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: Daft "text Editor" question

2016-05-18 Thread Richard Gaskin

RM wrote:

> Does anyone know of a word-processing type program that can open .rev
> and .livecode files so that one can see ALL the scripts of ALL the
> objects in one long document?
>
> This may sound a bit daft, but I am considering "refactoring" the
> code-base for my Devawriter Pro from pre version 7 to post version 7,
> and this will involve very many changes in about 4 million lines of
> code, and, farnkly, I should like to automate that process as much
> as possible.

Personally, I find the context of scripts so informative that I tend to 
use the Project Browser for things like that.  With the PB I can get to 
any script very quickly, but unlike one big text file I also get to know 
where the script came from.


But if viewing the scripts out of context is preferred, my go-to 
solution for that is LiveCode:  just make a simple stack with one field, 
and a button that lets me select any file and put its contents into the 
field.   And since you're using LC you could also strip out any 
non-ASCII parts, possibly worth the modest effort in allowing you to 
have a clean listing.


Another option with LC would be to write a script that worms through the 
project and writes all of the scripts to a text file.  There are many 
such tools in the community, and the benefit there is that most of them 
also include at least the object name the script came from so you'll 
have some idea of the original context of the script.


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


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


Re: line graph widget > Help is welcome...

2016-05-18 Thread Ali Lloyd
Hi Ton,

The graph widget layout code is rather complicated because of the
relationship between the available space for the graph and how much space
is needed for the axis labels. It is mainly for space saving reasons that
the drawYLabels handler does the following:

put the rounded of tNumber formatted as string into tString
Changing that to

put tNumber formatted as string into tString

will give you (too) accurate labels on your y-axis.

So what you also probably want to do is define a property (something like
yIncrement). There is already a variable mYIncrement which controls this
value, however this is currently calculated using the maximum value on the
y-axis (stored as mYMax) and
the number of points on the y-axis (mVPointCount). The latter is currently
set to the same as number of points on the x-axis in the calculateAll
handler.

-- Use the same number of points for the y-axis

put mHPointCount into mVPointCount

calculateMinMaxes()

-- Set the y axis point increment

put (mYMax - mYMin) / mVPointCount into mYIncrement

What you would need to do is tweak the logic so that mVPointCount is
calculated using the mYIncrement variable. This should be done after
calculateMinMaxes() is called so that the mYMax has already been
calculated. I *think* that apart from this (i.e.

calculateMinMaxes()

put (mYMax - mYMin) / mYIncrement into mVPointCount
)

you might also have to tweak mYMax and mVPointCount afterwards to make sure
the Y-axis maximum was high enough to accommodate a further increment, and
that mVPointCount was a whole number.

Ali

On Wed, May 18, 2016 at 1:36 PM Erik Beugelaar  wrote:

> Hi Ton,
>
> Pledge or Infinite LiveCode and this will all be low hanging fruit this
> summer ;-)
>
> Kind regards,
> Erik
>
> P.S. Just in case: this is a joke.
>
>
> Sent from solidit 
>
>
>
>
>
>
> On 18/05/16 14:28, "use-livecode on behalf of Ton Kuypers" <
> use-livecode-boun...@lists.runrev.com on behalf of
> tkuyp...@publishingtools4u.com> wrote:
>
> >Just opened the .lcb file (thanks Peter), but this is not for average
> programmers like myself…
> >
> >Could anyone give me some pointers, or maybe modify the widget?
> >It would be great to set a sub-devision like .5, .2 or .1 so the axis
> don’t only show integers...
> >
> >
> >Met vriendelijke groeten,
> >Warm Regards,
> >
> >
> >
> >Ton Kuypers
> >+32 (0) 477 739 530
> >
> >Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium
> >www.publishingtools4u.com
> >
> >
> >
> >
> >
> >> On 18 mei 2016, at 14:10, Peter TB Brett 
> wrote:
> >>
> >> On 18/05/2016 13:05, Ton Kuypers wrote:
> >>> Is it possible to change the scale of the axes of this widget?
> >>>
> >>> It works fine, but when the values contain decimals, the axis only
> shows integers, so 5,6,6.3,6.4,6.9,7,8 will show up as 5,6,6,6,6,7,8
> >>> Would be great to set a sub-devision like .5 or .1
> >>>
> >>> I tried editing the source like Kevin showed during his introduction
> video, but “module.lcm” is scrambled when you open it in Atom :-(
> >>
> >> You need to edit the ".lcb" file.   The ".lcm" file is the output of
> compiling the ".lcb" file with the lc-compile tool.
> >>
> >>   Peter
> >>
> >> --
> >> Dr Peter Brett 
> >> LiveCode Open Source Team
> >>
> >> LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >___
> >use-livecode mailing list
> >use-livecode@lists.runrev.com
> >Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-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: Daft "text Editor" question

2016-05-18 Thread Randy Hengst
Richmond,

Apple’s TextEdit works for me in Yosemite and El Capitan. I don’t have access 
to an earlier OS to check.

be well,
randy



> On May 18, 2016, at 5:25 AM, Peter W A Wood  wrote:
> 
> Richmond
> 
>> On 18 May 2016, at 18:03, RM  wrote:
>> 
>> Does anyone know of a word-processing type program that can open .rev and 
>> .livecode
>> files so that one can see ALL the scripts of ALL the objects in one long 
>> document?
> 
> You can open them and read the scripts in BBEdit under OS X. I would imagine 
> that the free version, TextWrangler, would be able to do the same.
> 
> I was also able to open them in Gedit on Ubuntu but Gedit complained about 
> some of the “binary” data not being correctly encoded UTF-8. Again I could 
> see the scripts.
> 
>> This may sound a bit daft, but I am considering "refactoring" the code-base 
>> for my Devawriter Pro
>> from pre version 7 to post version 7, and this will involve very many 
>> changes in about 4 million
>> lines of code, and, farnkly, I should like to automate that process as much 
>> as possible.
> 
> That is a lot of code !!!
> 
> Regards
> 
> Peter
> ___
> use-livecode mailing list
> use-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: line graph widget > Help is welcome...

2016-05-18 Thread Erik Beugelaar
Hi Ton,

Pledge or Infinite LiveCode and this will all be low hanging fruit this summer 
;-)

Kind regards,
Erik

P.S. Just in case: this is a joke.


Sent from solidit    






On 18/05/16 14:28, "use-livecode on behalf of Ton Kuypers" 
 wrote:

>Just opened the .lcb file (thanks Peter), but this is not for average 
>programmers like myself…
>
>Could anyone give me some pointers, or maybe modify the widget?
>It would be great to set a sub-devision like .5, .2 or .1 so the axis don’t 
>only show integers...
>
>
>Met vriendelijke groeten,
>Warm Regards,
>
>
>
>Ton Kuypers
>+32 (0) 477 739 530
>
>Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium
>www.publishingtools4u.com
>
>
>
>
>
>> On 18 mei 2016, at 14:10, Peter TB Brett  wrote:
>> 
>> On 18/05/2016 13:05, Ton Kuypers wrote:
>>> Is it possible to change the scale of the axes of this widget?
>>> 
>>> It works fine, but when the values contain decimals, the axis only shows 
>>> integers, so 5,6,6.3,6.4,6.9,7,8 will show up as 5,6,6,6,6,7,8
>>> Would be great to set a sub-devision like .5 or .1
>>> 
>>> I tried editing the source like Kevin showed during his introduction video, 
>>> but “module.lcm” is scrambled when you open it in Atom :-(
>> 
>> You need to edit the ".lcb" file.   The ".lcm" file is the output of 
>> compiling the ".lcb" file with the lc-compile tool.
>> 
>>   Peter
>> 
>> -- 
>> Dr Peter Brett 
>> LiveCode Open Source Team
>> 
>> LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription 
>preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: line graph widget > Help is welcome...

2016-05-18 Thread Ton Kuypers
Just opened the .lcb file (thanks Peter), but this is not for average 
programmers like myself…

Could anyone give me some pointers, or maybe modify the widget?
It would be great to set a sub-devision like .5, .2 or .1 so the axis don’t 
only show integers...


Met vriendelijke groeten,
Warm Regards,



Ton Kuypers
+32 (0) 477 739 530

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





> On 18 mei 2016, at 14:10, Peter TB Brett  wrote:
> 
> On 18/05/2016 13:05, Ton Kuypers wrote:
>> Is it possible to change the scale of the axes of this widget?
>> 
>> It works fine, but when the values contain decimals, the axis only shows 
>> integers, so 5,6,6.3,6.4,6.9,7,8 will show up as 5,6,6,6,6,7,8
>> Would be great to set a sub-devision like .5 or .1
>> 
>> I tried editing the source like Kevin showed during his introduction video, 
>> but “module.lcm” is scrambled when you open it in Atom :-(
> 
> You need to edit the ".lcb" file.   The ".lcm" file is the output of 
> compiling the ".lcb" file with the lc-compile tool.
> 
>   Peter
> 
> -- 
> Dr Peter Brett 
> LiveCode Open Source Team
> 
> LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

Re: line graph widget

2016-05-18 Thread Ton Kuypers
gr… Completely overlooked that one, thanks!


Met vriendelijke groeten,
Warm Regards,



Ton Kuypers
+32 (0) 477 739 530

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





> On 18 mei 2016, at 14:10, Peter TB Brett  wrote:
> 
> On 18/05/2016 13:05, Ton Kuypers wrote:
>> Is it possible to change the scale of the axes of this widget?
>> 
>> It works fine, but when the values contain decimals, the axis only shows 
>> integers, so 5,6,6.3,6.4,6.9,7,8 will show up as 5,6,6,6,6,7,8
>> Would be great to set a sub-devision like .5 or .1
>> 
>> I tried editing the source like Kevin showed during his introduction video, 
>> but “module.lcm” is scrambled when you open it in Atom :-(
> 
> You need to edit the ".lcb" file.   The ".lcm" file is the output of 
> compiling the ".lcb" file with the lc-compile tool.
> 
>   Peter
> 
> -- 
> Dr Peter Brett 
> LiveCode Open Source Team
> 
> LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

Re: line graph widget

2016-05-18 Thread Peter TB Brett

On 18/05/2016 13:05, Ton Kuypers wrote:

Is it possible to change the scale of the axes of this widget?

It works fine, but when the values contain decimals, the axis only shows 
integers, so 5,6,6.3,6.4,6.9,7,8 will show up as 5,6,6,6,6,7,8
Would be great to set a sub-devision like .5 or .1

I tried editing the source like Kevin showed during his introduction video, but 
“module.lcm” is scrambled when you open it in Atom :-(


You need to edit the ".lcb" file.   The ".lcm" file is the output of 
compiling the ".lcb" file with the lc-compile tool.


   Peter

--
Dr Peter Brett 
LiveCode Open Source Team

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

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

line graph widget

2016-05-18 Thread Ton Kuypers
Is it possible to change the scale of the axes of this widget?

It works fine, but when the values contain decimals, the axis only shows 
integers, so 5,6,6.3,6.4,6.9,7,8 will show up as 5,6,6,6,6,7,8
Would be great to set a sub-devision like .5 or .1

I tried editing the source like Kevin showed during his introduction video, but 
“module.lcm” is scrambled when you open it in Atom :-(

Maybe there are some “hidden” properties I could set?


Met vriendelijke groeten,
Warm Regards,



Ton Kuypers
+32 (0) 477 739 530

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





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

Re: tree view widget

2016-05-18 Thread Klaus major-k
Hi all,

> Am 17.05.2016 um 21:32 schrieb J. Landman Gay :
> 
> The array is malformed. The script should be:
> 
> on mouseUp
>  put "Dog,Cat,Horse" into temp
>  repeat with i = 1 to the number of items of temp
>put item i of temp into tHobby["John"]["Animal"][i]
>  end repeat
>  put "Dog,Tortoise" into temp
>  repeat with i = 1 to the number of items of temp
>put item i of temp into tHobby["Jane"]["Animal"][i]
>  end repeat
>  put  "Football,Swimming" into temp
>  repeat with i = 1 to the number of items of temp
>put item i of temp into tHobby["Willy"]["Sport"][i]
>  end repeat
>  set the arraydata of widget "Tree View" to tHobby
> end mouseUp
> 
> Note the square brackets around each sublevel.

yep, that worked great, thanks!

Question:
Any chance we will be able to TRANSLATE the
„Add new element“ string?

Yes, not all of our users speak english, although the
mothership seems to presume this... 8-)


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: Daft "text Editor" question

2016-05-18 Thread Peter W A Wood
Richmond

> On 18 May 2016, at 18:03, RM  wrote:
> 
> Does anyone know of a word-processing type program that can open .rev and 
> .livecode
> files so that one can see ALL the scripts of ALL the objects in one long 
> document?

You can open them and read the scripts in BBEdit under OS X. I would imagine 
that the free version, TextWrangler, would be able to do the same.

I was also able to open them in Gedit on Ubuntu but Gedit complained about some 
of the “binary” data not being correctly encoded UTF-8. Again I could see the 
scripts.

> This may sound a bit daft, but I am considering "refactoring" the code-base 
> for my Devawriter Pro
> from pre version 7 to post version 7, and this will involve very many changes 
> in about 4 million
> lines of code, and, farnkly, I should like to automate that process as much 
> as possible.

That is a lot of code !!!

Regards

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

Daft "text Editor" question

2016-05-18 Thread RM
Does anyone know of a word-processing type program that can open .rev 
and .livecode
files so that one can see ALL the scripts of ALL the objects in one long 
document?


This may sound a bit daft, but I am considering "refactoring" the 
code-base for my Devawriter Pro
from pre version 7 to post version 7, and this will involve very many 
changes in about 4 million
lines of code, and, farnkly, I should like to automate that process as 
much as possible.


Richmond.

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


RE: Downloading thirdparty products

2016-05-18 Thread Malte Brill
Hi,

please remember that you always can find the most current version on github:

https://github.com/derbrill/animationEngine

All the best,

Malte


> I see my
> subscription of AnimationEngine (version 6) but I can not download it.
> 


___
use-livecode mailing list
use-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: Downloading thirdparty products

2016-05-18 Thread Erik Beugelaar
Ok Tiemo,

Thanks for the info.

Erik

On 08:37, Wed, May 18, 2016 Tiemo Hollmann TB  wrote:

> Hi Erik,
>
> yes.
>
> Heather told me, that they have not finished yet all products in the new
> account interface.
> Animation engine is still available in the old interface here:
> http://livecode.com/account/products/products-old
> Though it is version 5 and not 6
>
> Tiemo
>
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
> Auftrag
> von Erik Beugelaar
> Gesendet: Mittwoch, 18. Mai 2016 08:03
> An: How to use LiveCode 
> Betreff: Downloading thirdparty products
>
>
> Hi All,
>
> If I login at my LiveCode account and go to Thirdparty Products I see my
> subscription of AnimationEngine (version 6) but I can not download it.
> Does anybody have the same experience with other third party products on
> the
> website?
>
> Kind regards,
> Erik
>
> Sent from solidit
>
> ___
> use-livecode mailing list
> use-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
>
-- 

Sent from Matwetwe
___
use-livecode mailing list
use-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 + WordPress = Infinite Possibilities

2016-05-18 Thread Dave Kilroy
Thank you Todd that is very generous of you, ability to connect to WordPress
(never mind WooCommerce and Gravity) is a BIG DEAL!

Kind regards

Dave


Todd Fabacher wrote
> We are happy to be part of the LiveCode community, and do our part to
> enhance open source software. But open source is about give and take. So
> we
> are offering our comlete WordPress framework if you help contribute to the
> latest LiveCode campaign and they reach their $40K goal by Friday.
> 
> If you have ever wanted to have eCommerce with LiveCode or even create
> websites. Lite Wordpress do all the hard work, you just control everything
> in LiveCode.
> 
> More details here:
> https://livecode.com/a-gift-from-the-community-for-the-community/
> 
> --WP+LiveCode Team @ Digital Pomegranate
> ___
> use-livecode mailing list

> use-livecode@.runrev

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





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

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


AW: Downloading thirdparty products

2016-05-18 Thread Tiemo Hollmann TB
Hi Erik,

yes.

Heather told me, that they have not finished yet all products in the new
account interface.
Animation engine is still available in the old interface here:
http://livecode.com/account/products/products-old
Though it is version 5 and not 6

Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Erik Beugelaar
Gesendet: Mittwoch, 18. Mai 2016 08:03
An: How to use LiveCode 
Betreff: Downloading thirdparty products


Hi All,

If I login at my LiveCode account and go to Thirdparty Products I see my
subscription of AnimationEngine (version 6) but I can not download it.
Does anybody have the same experience with other third party products on the
website?

Kind regards,
Erik

Sent from solidit   

___
use-livecode mailing list
use-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


Downloading thirdparty products

2016-05-18 Thread Erik Beugelaar

Hi All,

If I login at my LiveCode account and go to Thirdparty Products I see my 
subscription of AnimationEngine (version 6) but I can not download it.
Does anybody have the same experience with other third party products on the 
website?

Kind regards,
Erik

Sent from solidit   

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