Björnke von Gierke wrote:
I still think that adding an assert command (of all things) is a
completely wrong way to do that tho. What i'd want is this to use
existing capabilities, instead of sidestepping how things work right
now. Maybe a control structure would be a lot more in touch with
Hi,
Color Tracing, Color Tracking.
here is a version of an image tracing stack that traces color images.
It makes a graphic for each color. And it makes a combined graphic from the
color-subgraphics.
You have quite some options which graphics to include.
note that this stack has a button with
Hi Bernd!
Played a little with your Tracer. You're on the way to build an image to
vector converter for LC. That's awesome!
Best regards
Mats
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe
Thank you all for the suggestions. I finally got it working by adding
revDataGridLibrary in the Add files section in the builder settings.
/Mats
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe,
Here's a function that may come in handy if you need to script something based
on which table cell is clicked.
function gridCellClicked
-- Designed for tab-delimited fields, ie., tables
-- returns empty if the field doesn't contain a tab char,
-- otherwise returns
Mats' posting on encryption difficulties got me thinking about local variables.
Are they supposed to persist after the script is done executing, so that the
next time a handler within that script is called, they can be expected to hold
previously set values? I notice that they don't. Or would
Tom McGrath has an iTunes Library Suite somewhere, I bet his handlers will let
you do what you want.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Feb 21, 2014, at 5:09 PM, Peter Haworth wrote:
Is there a library anywhere for importing a CD along with its
Hallo Bernd,
Amazing and running so fast !
Kind regards,
Thierry
2014-02-22 14:43 GMT+01:00 BNig bernd.niggem...@uni-wh.de:
Color Tracing, Color Tracking.
here is a version of an image tracing stack that traces color images.
It makes a graphic for each color. And it makes a combined
Hi Bill,
Sometimes there are other considerations as to when to use variables or custom
properties, I didn't suggest custom props here because I understand that they
may still be visible in the IDE in password protected stacks, as these
variables were important to the integrity of the app it
Folks:
I think there is something weird about offset. This occurred on version 6.5
and now on 6.6.
First off, the documents say:
the charsToSkip is a non-negative integer. If you don't specify how many
charsToSkip, the offset function does not skip any items and starts at the
beginning of the
Bonjour,
From liveCode Dictionnary:
The value of a local variable is retained only while the handler is running.
When the handler exits, the value of the local variable is lost.
The value of a script local variable is retained between handlers,
For more information have a look at local in the
2014-02-22 17:04 GMT+01:00 Earthednet-wp proth...@earthednet.org:
Mats' posting on encryption difficulties got me thinking about local
variables. Are they supposed to persist after the script is done executing,
so that the next time a handler within that script is called, they can be
Hi Bill,
you have to add the CharsToSkip to the OFFSET by yourself!
See below...
Am 22.02.2014 um 18:49 schrieb proth...@earthednet.org:
Folks:
I think there is something weird about offset. This occurred on version 6.5
and now on 6.6.
put abcdefgabcccablmnopoq into theChars
put
2014-02-22 18:49 GMT+01:00 proth...@earthednet.org proth...@earthednet.org:
Folks:
I think there is something weird about offset. This occurred on version 6.5
and now on 6.6.
First off, the documents say:
the charsToSkip is a non-negative integer. If you don't specify how many
That was part of the problem, the value wasn't being retained, maybe for
different reasons.
The original stack script set the variable values on openStack, then a button
script called the stack script handlers to do the encryption, this is where I
saw the possibility for the dis-connection,
I think this is dependant on the Variable Preservation setting on the
Preferences Script Editor tab.
I use script local variables a lot in conjunction with handlers to access
them from other objects instead of custom properties. I started doing it
because custom properties are visible to users
There is a great table object available from Bernd Niggermann
(modTableField) that includes a lot of the power of the datagrid but with
less complexity. Bernd, care to chime in?
Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
Hi Bill,
If you specify a number of characters to skip, the offset that is returned
is relative to that number, not the start of the string. So if you specify
7 characters to skip and the character you are looking for is the 10th
character in the string, you will get (10-7) or 3 as the result.
Folks:
I get it. It seems an odd way to implement it, though. Anyway, a clarification
in the docs would help the confusion, and the use of the word items in the
docs is definitely confusing.
Another thing that confuses me, as a newbie, is the free interchangeable use of
handler and script. In
On 2/22/14, 12:17 PM, Peter Haworth wrote:
I think this is dependant on the Variable Preservation setting on the
Preferences Script Editor tab.
It is, but there's a bug in it somewhere. I use script locals
extensively and they always worked until somewhere around version 6.x.
After that the
Hi Peter,
yes I did a modifiedTableField which is a variant of the table field.
It has evolved from the one I announced on the list and allows data entry
and some more fancy things.
I just uploaded the current version. It is not finished but the api calls
are documented.
Hi Thierry, Mats
thank you for your kind words.
@Mats
You're on the way to build an image to vector converter for LC
If I knew how to count to three I would certainly try that :)
Kind regards
Bernd
--
View this message in context:
Sorry: Neanderthal question time:
I cannot see anything about charsToSkip in the inbuilt (i.e. in the IDE)
documentation (6.6. dp1).
Went round in circles on the website.
-
Anyway:
I set up a boring little stack with a fld fORIGIN conatinong The
quick brown fox jumps
On 22/02/14 21:35, Richmond wrote:
Sorry: Neanderthal question time:
I cannot see anything about charsToSkip in the inbuilt (i.e. in the
IDE) documentation (6.6. dp1).
Went round in circles on the website.
-
Anyway:
I set up a boring little stack with a fld fORIGIN
Hi Jacque,
I've definitely seen values disappear after compiling the script for a long
time but didn't worry abut it too much since that only happens during
development not in production versions.
Like you, I haven't been able to come up with a recipe to reliably
reproduce it.
Pete
lcSQL
I found it a bit odd too when I discovered it. I found that I was often
using the chars to skip parameter in a repeat loop and now I usually avoid
it by deleting the characters from the beginning of the string to the
offset each time around the loop. May or may not work for you depending on
what
Thanks Peter. I think his library is more about communicating with iTunes
to play music that's already in its library. I'm looking for something
that will do the equivalent of an iTunes Import CD.
Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser
I had problems with this a while back, and now it's happening again.
I have fields that decide that they're still live in edit mode, and can't
be selected.
When the cursor enters them, it changes to a text tool.
I can't see any properties set differently in the inspectors for these.
Last time,
On 2/22/14, 1:35 PM, Richmond wrote:
Sorry: Neanderthal question time:
I cannot see anything about charsToSkip in the inbuilt (i.e. in the IDE)
documentation (6.6. dp1).
It's the third parameter in the offset function. See offset in the
dictionary.
I set up a boring little stack with a
Richard,
If I set the cantSelect of a field to true, I can click in it and the
text cursor will start blinking, but I can't type in it (on Windows). Is
this what you are seeing? If you set the cantSelect of the field to
false, it should be editable with the pointer tool again.
--
Best
A nice enhancement would be for a LC plug-in that would translate a stack
interface to one that would look the same on the web, using css, perhaps
javascript too.
It's beyond what I would want to take on, given my minimal css and javascript
expertise, but I'd pay some bucks for a plug-in that
Folks:
Are there any docs on the assert function? Seems like it might be useful, but
searching the livecode site and the docs turns up nothing.
Bill
William Prothero
http://es.earthednet.org
___
use-livecode mailing list
Hi Nakia
I tried to chat with you on my site but you blocked me. You might try my
email.
Thank you
Vaughn Clement
Apps by Vaughn Clement (Support)
*http://www.appsbyvaughnclement.com/tools/home-page/
http://www.appsbyvaughnclement.com/tools/home-page/*
Skype: vaughn.clement
Hi Vaughan,
Didn't see anything come up when I was browsing away...
Anyway, I'll drop you an email.
Sent from my iPhone
On 23 Feb 2014, at 9:39 am, Vaughn Clement vclem...@gmail.com wrote:
Hi Nakia
I tried to chat with you on my site but you blocked me. You might try my
email.
Folks:
Are there any docs for how to use the assert statement? I can't find any by
searching the live code site or the dictionary.
Bill
William Prothero
http://es.earthednet.org
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please
Hi Jacque
On 23 Feb 2014, at 02:56, J. Landman Gay wrote:
It is, but there's a bug in it somewhere. I use script locals extensively and
they always worked until somewhere around version 6.x. After that the values
were occasionally lost. Every subsequent version has made the problem worse,
On Sat, Feb 22, 2014 at 1:50 PM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:
If I set the cantSelect of a field to true, I can click in it and the text
cursor will start blinking, but I can't type in it (on Windows). Is this
what you are seeing? If you set the cantSelect of the
Only in the release notes for 6.6
Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html
On Sat, Feb 22, 2014 at 4:45 PM, proth...@earthednet.org
proth...@earthednet.org wrote:
Folks:
Are
On 2/22/14, 6:49 PM, Peter W A Wood wrote:
local tMyScriptLocal1
local tMyScriptLocal2 = ghijk
local tMyScriptLocal3
I'm not sure it's a fair test. As far as I know, you can't assign a
value to a script local that way, though you can if it's a constant.
Actually, I'm kind of surprised it
Uh, oh -- I do this all the time.
Is this really not supposed to work?
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On 2/22/14 6:04 PM, J. Landman Gay jac...@hyperactivesw.com wrote:
local tMyScriptLocal1
local tMyScriptLocal2 = ghijk
local tMyScriptLocal3
I'm not
Scott-
Saturday, February 22, 2014, 6:26:31 PM, you wrote:
Uh, oh -- I do this all the time.
Is this really not supposed to work?
It sometimes works, but it's not legal syntax.
I don't know of any particular reason why not, but it's not.
--
-Mark Wieder
ahsoftw...@gmail.com
This
Well, I didn't *think* it was allowed. I confess I never used script
locals that way. If I need to assign a permanent value, I use a constant:
constant kVar = 1234
If the IDE accomodates script locals with assignments, then maybe
something changed. Apparently it doesn't work in standalones.
I take it back. The dictionary says you can do it. Whaddya know.
On 2/22/14, 8:26 PM, Scott Rossi wrote:
Uh, oh -- I do this all the time.
Is this really not supposed to work?
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On 2/22/14 6:04 PM, J. Landman Gay
On 2/22/14, 8:42 PM, Mark Wieder wrote:
Scott-
Saturday, February 22, 2014, 6:26:31 PM, you wrote:
Uh, oh -- I do this all the time.
Is this really not supposed to work?
It sometimes works, but it's not legal syntax.
I don't know of any particular reason why not, but it's not.
They
Thanks very much for the suggestions of other tools and the script
that would help me write my own. But before giving up completely on
the basic table, I'm trying to understand how it works (and, in the
process, more about how LiveCode works).
Inspecting the frontscripts, I discovered
45 matches
Mail list logo