how to get a clickable map over an image?

2011-04-27 Thread Tiemo Hollmann TB
Hi, Is there still anybody left, not being in San Jose? I am trying to get multiple polygon shaped areas clickable within an image. So my first idea was to put multiple transparent polygons over my image as clickable buttons. But now I experience that a polygon is only mouse sensitive, when i

Re: how to get a clickable map over an image?

2011-04-27 Thread Klaus on-rev
Hi Tiemo, > Hi, > > Is there still anybody left, not being in San Jose? Yep, me :-) > I am trying to get multiple polygon shaped areas clickable within an image. > So my first idea was to put multiple transparent polygons over my image as > clickable buttons. > But new I experience that a polyg

AW: how to get a clickable map over an image?

2011-04-27 Thread Tiemo Hollmann TB
Klaus, you made my day! -Or- I knew it was Ditto... Thanks to the bass man from the river Rhein Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] Im Auftrag von Klaus on-rev > Gesendet: Mittwoch, 27. April 2011

Re: how to get a clickable map over an image?

2011-04-27 Thread René Micout
Merci Klaus ! Very useful... René (sous le soleil de Paris et non de San Jose) Le 27 avr. 2011 à 12:24, Klaus on-rev a écrit : > Hi Tiemo, > >> Hi, >> >> Is there still anybody left, not being in San Jose? > > Yep, me :-) > >> I am trying to get multiple polygon shaped areas clickable within

Re: Creating a customkey from a variable

2011-04-27 Thread Glen Bojsza
I forgot to show that the score and student can be a variables... On Wed, Apr 27, 2011 at 10:27 AM, Glen Bojsza wrote: > Hello, > > Hopefully someone is still looking at the list while the conference is > going on... > > I want to create a customkey from a variable. > > on mouseup > put "Math"

Creating a customkey from a variable

2011-04-27 Thread Glen Bojsza
Hello, Hopefully someone is still looking at the list while the conference is going on... I want to create a customkey from a variable. on mouseup put "Math" into testname set the testname[student] of this stack to score end mouseup this doesn't create the customkey or properties for me but if

Re: Creating a customkey from a variable

2011-04-27 Thread Bob Sneidar
Not sure if this is relevant, but putting "Math" into testname is going to have no effect on setting a property of the stack called testname. There will be a variable containing "Math" and that is all. Further, you have to create the array as a variable first: put "score" into testname[student]

Re: Creating a customkey from a variable

2011-04-27 Thread stephen barncard
store all your info in one array then store the whole array... set the customProperties["testname"] of stack tFilepath to testname On 27 April 2011 09:29, Glen Bojsza wrote: > I forgot to show that the score and student can be a variables... > > > > On Wed, Apr 27, 2011 at 10:27 AM, Glen Bojsz

Re: Creating a customkey from a variable

2011-04-27 Thread Paul Dupuis
Why not use a two-dimensional array, as in: on mouseUp put "Math" into testname put "Jane" into student put "A+" into score set the testresults[testname][student] of this stack to score end mouseUp On 4/27/2011 12:29 PM, Glen Bojsza wrote: I forgot to show that the score and student can be a va

Re: Creating a customkey from a variable

2011-04-27 Thread Pete
Maybe try something like this (untested): put "Math" into testname set the custompropertyset of this stack to testname set the student of this stack to score set the custompropertyset to empty Pete Molly's Revenge On Wed, Apr 27, 2011 at 9:27 AM, Glen Bojsza wr

Re: Creating a customkey from a variable

2011-04-27 Thread Mark Schonewille
Hi Glen, One of the problems is that testname and testname[student] are different variables. First it is a simple variable, but next it is an array. When you turn testname into an array, the variable is cleared and as soon as it is cleared testname is parsed as plane text and hence as a propert

Re: Creating a customkey from a variable

2011-04-27 Thread Glen Bojsza
It is the testresult that I want to be a variable. Also, your set command should be set the testresults[testname,student] of this stack to score On Wed, Apr 27, 2011 at 11:10 AM, Paul Dupuis wrote: > Why not use a two-dimensional array, as in: > > on mouseUp > put "Math" into testname > put "Ja

Re: Creating a customkey from a variable

2011-04-27 Thread Glen Bojsza
Hi Mark, The do script produces what I want (myscore should be score in the example) though I am still working through your array structure to see if I can get the same results... so far no luck. On Wed, Apr 27, 2011 at 11:23 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi G

Re: Creating a customkey from a variable

2011-04-27 Thread Nonsanity
Remember that there is the customKeys set and if you do this: put "ABC" into myCustomPropNameVar put "123" into myCustomPropValue set the myNewPropSet[ myCustomPropNameVar ] of this stack to myCustomPropValue You are creating a new key set. If you look at the Custom Properties page of the inspect

Re: Creating a customkey from a variable

2011-04-27 Thread Nonsanity
I take the last code chunk back. This does not work. :( customKeys[ myPropName ] ...Does not make a new property in the default customKeys set. I can't seem to make any new properties in the default set without setting it directly by name - which won't work if you want the name of the property to

Re: Creating a customkey from a variable

2011-04-27 Thread Pete
Have you considered a very simple SQLIte database? A simple table with columns for student, subject and score, maybe a date related column would allow you to analyse the data every which way after you've collected it. Pete Molly's Revenge On Wed, Apr 27, 2011 a

Test message

2011-04-27 Thread Bill Vlahos
Testing the list server. I sent a message last night but I don't see it. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. ___ use-livecode mailing l

How to generate user passwords

2011-04-27 Thread Bill Vlahos
Before I reinvent the wheel, has anyone written a routine to generate passwords that they would be willing to share? Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. _

Re: Linked List Code

2011-04-27 Thread Nonsanity
Linked lists use pointers to allow the memory for the items to be allocated as needed, and ties those pointers to each item for the next (and previous for doubly-linked) so traversal code can hop from memory pocket to memory pocket in the right order. Whereas an array in a language like C keeps al

Re: How to generate user passwords

2011-04-27 Thread Björnke von Gierke
repeat for random(2) + random(2) + 4 times put any char of "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890+*%&/)=?-_.:,;" & quote & space after thePassword end repeat put thePassword On 27 Apr 2011, at 11:45, Bill Vlahos wrote: > Before I reinvent the wheel, has anyone written a

Re: How to generate user passwords

2011-04-27 Thread Nonsanity
put base64encode( random( 1 ) ) into msg :) ~ Chris Innanen ~ Nonsanity 2011/4/27 Björnke von Gierke > repeat for random(2) + random(2) + 4 times > put any char of > "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890+*%&/)=?-_.:,;" > & quote & space after thePassword >

Re: Linked List Code

2011-04-27 Thread Pete
I think maybe I used the wrong term. I see how the comma-delimited list would work for a one-dimensional list but I need a multi-dimensional list - still not sure if I have the right terminology, maybe "multi-level" would be better To use your example, starting off with A,B,C,D,E,F I need to be a

Re: How to generate user passwords

2011-04-27 Thread Mark Schonewille
Bill, I made this as part of another discussion about speakable passwords. function speakablePassword theLength put "bcdfghjklmnprstwyz" into myConsonants put "aeiou" into myVowels put "" into myPass repeat myPasswordLength if char -1 of myPass is in myConsonants the

Re: Linked List Code

2011-04-27 Thread Nonsanity
Ah, yes multi-dimensional arrays are fully supported by LC. put "ABC" into myMDArray[ 1 ][ 3 ][ 2 ] LC allows for nexting arrays, so basically this is an array of arrays of values, or a three dimensional array. ~ Chris Innanen ~ Nonsanity On Wed, Apr 27, 2011 at 3:20 PM, Pete wrote: > I th

Re: Linked List Code

2011-04-27 Thread Nonsanity
That should read "nesting arrays"... Putting one inside another. ~ Chris Innanen ~ Nonsanity On Wed, Apr 27, 2011 at 5:10 PM, Nonsanity wrote: > Ah, yes multi-dimensional arrays are fully supported by LC. > > put "ABC" into myMDArray[ 1 ][ 3 ][ 2 ] > > LC allows for nexting arrays, so basica

Re: How to generate user passwords

2011-04-27 Thread Dave Cragg
Mark's method has the additional advantage that it can be used to generate names for your next science fiction novel. Best wishes Kgime Bogbu (Commander 4th Class, Warmifa Federation) ___ use-livecode mailing list use-livecode@lists.runrev.com Please vi

Re: How to generate user passwords

2011-04-27 Thread dunbarx
I was in Malaysia in 1998 programming the Petronus Towers concert hall with a HC based control system for a large fiber optic project. The client still owed us quite a bit of money, and I knew if I left town, we would have a time getting paid. It was that sort of job. So while the general con

Re: How to generate user passwords

2011-04-27 Thread Bill Vlahos
Mark, Nice. Thank you. I want to add a feature to InfoWallet to generate passwords for a user so the user doesn't have to think them up. InfoWallet can manage the passwords and can automate login in to a web page or application using the Login Assistant feature with as little as 2 clicks. Your

Re: How to generate user passwords

2011-04-27 Thread Bill Vlahos
Also thanks to Bjornke and Chris for your suggestions too. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Apr 27, 2011, at 4:35 PM, Bill Vlahos wrote: > Mark, > > Nice. Thank you. > > I

Re: How to generate user passwords

2011-04-27 Thread Mark Schonewille
Bill, The passwords are "speakable", to make them easier to remember. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6

Live LiveCode Code Event #21

2011-04-27 Thread Mark Schonewille
Dear people, While the RunRevLive conference is on it's second day, we are organising the Live LiveCode Code Event for this Saturday already. Unfortunately, we don't have any presenters yet! It just so happens that all geeks are currently in San José! The good news is that this is an excellent

Re: How to generate user passwords

2011-04-27 Thread Bill Vlahos
Mark, Of course they become less speakable if you have to include special characters (@#$%&*) and include upper and lower case which are often required complexities of strong passwords. :) Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life

How to delete a single customkey?

2011-04-27 Thread Glen Bojsza
Hello, I have found that you can delete all customkeys of an object by setting the customkeys to empty. But I only want to delete one of the customkeys? Is it all or nothing? thanks, Glen ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: How to generate user passwords

2011-04-27 Thread Scott Morrow
With those characters "(@#$%&*)" I would think you could just curse. -Scott On Apr 27, 2011, at 4:56 PM, Bill Vlahos wrote: > Mark, > > Of course they become less speakable if you have to include special > characters (@#$%&*) and include upper and lower case which are often required > complex

Re: How to delete a single customkey?

2011-04-27 Thread Björnke von Gierke
you can set it to parts of the existing customkeys like this: put the customkeys into theList delete line 2 of theList set the customkeys to theList On 27 Apr 2011, at 17:16, Glen Bojsza wrote: > Hello, > > I have found that you can delete all customkeys of an object by setting the > customkeys

Re: How to generate user passwords

2011-04-27 Thread Roger Eller
On Wed, Apr 27, 2011 at 7:27 PM, Scott Morrow wrote: > With those characters "(@#$%&*)" I would think you could just curse. > > -Scott > Hey! How did you guys get my password? ;-) ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

Re: How to delete a single customkey?

2011-04-27 Thread Pete
put the customkeys of into myTemp set the wholeMatches to true delete line lineoffset(,myTemp) of myTemp set the customKeys of to myTemp Pete Molly's Revenge On Wed, Apr 27, 2011 at 5:16 PM, Glen Bojsza wrote: > Hello, > > I have found that you can delete al

Re: How to delete a single customkey?

2011-04-27 Thread Glen Bojsza
what about deleting a single custompropertyset? In the inspector under custom properties in the middle there are customkeys and a couple of others that I have made (Exam1 and Exam2). Selecting Exam1 and clicking the garbage can deletes Exam1 and it's custom properties and property contents. What

Re: How to delete a single customkey?

2011-04-27 Thread Glen Bojsza
will this retain the custom properties and their contents of the customkeys not deleted? On Wed, Apr 27, 2011 at 6:34 PM, Pete wrote: > put the customkeys of into myTemp > set the wholeMatches to true > delete line lineoffset(,myTemp) of myTemp > set the customKeys of to myTemp > > > Pete > Mo

Re: How to delete a single customkey?

2011-04-27 Thread Björnke von Gierke
besides the one you delete, all else remain the same. did you actually try our examples, to see what they do? On 27 Apr 2011, at 17:43, Glen Bojsza wrote: > will this retain the custom properties and their contents of the customkeys > not deleted? > > On Wed, Apr 27, 2011 at 6:34 PM, Pete wrot

Re: How to delete a single customkey?

2011-04-27 Thread Pete
Yes, it just deletes the one custom property and leaves all the others intact. Pete Molly's Revenge On Wed, Apr 27, 2011 at 5:43 PM, Glen Bojsza wrote: > will this retain the custom properties and their contents of the customkeys > not deleted? > > On Wed, Apr

Re: How to delete a single customkey?

2011-04-27 Thread Pete
put the custompropertysets of into myTemp set the whole matches to true delete line lineoffset(,muyTemp) of myTemp set the custompropertysets of to myTemp There's a pretty good write up on all this stuff in the USer Guide, starting on page 229. Pete Molly's Revenge

Re: How to delete a single customkey?

2011-04-27 Thread Glen Bojsza
thanks. I find that if you don't work with custom properties on a regular basis it becomes confusing and sometimes frustrating. Similarly for open process! On Wed, Apr 27, 2011 at 6:55 PM, Pete wrote: > put the custompropertysets of into myTemp > set the whole matches to true > delete line

Re: How to delete a single customkey?

2011-04-27 Thread Pete
Yeah, sometimes it's frustrating how LC leave out basic functionality that every single programmer needs to do! I wonder how many handlers have been written to delete a custom property/custom property set - I'll bet it's thousands! Pete Molly's Revenge On Wed, A

comparing content of two fields

2011-04-27 Thread Ronald Zellner
I have two data fields that have multiple tabbed columns, I want to determine which items in the main field (1247 lines) also appear in the second field (436 lines). Using this code to compare line by line: on mouseUp set the itemDelimiter to tab repeat with x = 1 to the number of line

Re: comparing content of two fields

2011-04-27 Thread Joe Lewis Wilkins
Hi Ronald, You can speed things up immeasurably by put the content of the fields into variables and then make your comparisons between the vars. This is a universal truth. Always work with vars; not fields. HTH, Joe Lewis Wilkins Architect & Director of Product Development for GSI O

Re: comparing content of two fields

2011-04-27 Thread Scott Morrow
Hello Ron, Like Joe said, putting everything into a variable so you don't have to touch the field as often is the first and biggest step to speeding things up. With large lists, using the "repeat for each" structure may be faster. Her is an example (untested off the cuff) Watch for line wraps.

Re: How to delete a single customkey?

2011-04-27 Thread J. Landman Gay
On 4/27/11 8:29 PM, Pete wrote: Yeah, sometimes it's frustrating how LC leave out basic functionality that every single programmer needs to do! I wonder how many handlers have been written to delete a custom property/custom property set - I'll bet it's thousands! True. But it's only three line