Re: Making icons

2015-07-30 Thread JB
Thanks Scott. I bought it and it works nice. John Balgenorth On Jul 30, 2015, at 5:56 PM, Scott Rossi wrote: > If your system is OS X: > > Icon Slate > https://itunes.apple.com/us/app/icon-slate/id439697913?mt=12 > > Only $5, highly recommended. > > > Regards, > > Scott Rossi > Creative

Import Snapshot of Stack?

2015-07-30 Thread Scott Rossi
Anyone know if this is possible without referencing a windowID? This fails with a script error: import snapshot from stack "xyz" This defaults to selecting a region to capture and then fails: import snapshot of stack "xyz" This works, but clips the snapshot if any portion of the stack appears

Re: Making icons

2015-07-30 Thread Scott Rossi
If your system is OS X: Icon Slate https://itunes.apple.com/us/app/icon-slate/id439697913?mt=12 Only $5, highly recommended. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design ___ use-livecode mailing list use-livecode@lists.runrev

Re: Making icons

2015-07-30 Thread JB
Thanks Jaque, I forgot about that program. I have been using it for years. I think it came out around system 7 or maybe a ltlle earlier and is a excellent investment. John Balgenorth On Jul 30, 2015, at 5:13 PM, J. Landman Gay wrote: > Graphic Converter does it too. > > On July 30, 2015 6

Re: Making icons

2015-07-30 Thread J. Landman Gay
Graphic Converter does it too. On July 30, 2015 6:14:26 PM CDT, JB wrote: >If you are using a Mac go to the Mac App >store and do a search for icon. You will >find quite a few apps for making icons. > >Some of them make cost a few dollars but >the time saved and options may be worth >it. > >The

Re: Making icons

2015-07-30 Thread Dr. Hawkins
On Thu, Jul 30, 2015 at 1:37 PM, Peter Haworth wrote: > I'm sure there are other places but there's a free online convertor at > https://iconverticons.com/online/ > This was perfect! My application no longer has a square icon. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 __

Re: setprop handlers for custom property sets

2015-07-30 Thread Mark Wieder
Paul Dupuis writes: > The recursion issue is of you have a pair (or more) or setProp handlers > that call back to one another: ie. Right. There's a special-case trap for that. From the docs: If you use the set command within a setProp control structure to set the same custom property for the cu

Re: setprop handlers for custom property sets

2015-07-30 Thread Mark Wieder
Paul Dupuis writes: > Am I missing something else Mark? How do you put a setProp handler in a > customPropertySet? The handlers have to be in scripts. Do you use > behaviors to switch between setprop handlers? Nope - I'm getting distracted by too many things at once. You're correct - you can't h

Re: Making icons

2015-07-30 Thread JB
If you are using a Mac go to the Mac App store and do a search for icon. You will find quite a few apps for making icons. Some of them make cost a few dollars but the time saved and options may be worth it. They will provide you with the ability to make and icon for desktop or mobile apps and do

Re: setprop handlers for custom property sets

2015-07-30 Thread Paul Dupuis
On 7/30/2015 7:00 PM, Scott Rossi wrote: > Maybe I'm missing something, but I originally thought the following would > cause a recursion error, because the property being set appears within a > setProp handler of the same name. Trying this in LC 7.0.5 works, but I > still see a warning in the docs

Re: setprop handlers for custom property sets

2015-07-30 Thread Paul Dupuis
On 7/30/2015 6:44 PM, Mark Wieder wrote: > Paul Dupuis writes: > >> it does correctly execute the setProp handler. Much to my surprise. This >> implies that you can NOT have two custom property sets that have the >> same property name IF you want to use setprop or getProp handlers with them. > No,

Re: setprop handlers for custom property sets

2015-07-30 Thread Scott Rossi
Maybe I'm missing something, but I originally thought the following would cause a recursion error, because the property being set appears within a setProp handler of the same name. Trying this in LC 7.0.5 works, but I still see a warning in the docs about recursion. So does the following work onl

Re: setprop handlers for custom property sets

2015-07-30 Thread Mark Wieder
Paul Dupuis writes: > it does correctly execute the setProp handler. Much to my surprise. This > implies that you can NOT have two custom property sets that have the > same property name IF you want to use setprop or getProp handlers with them. No, that's the point of the custom property sets. T

Re: setprop handlers for custom property sets

2015-07-30 Thread Peter Haworth
I wonder if the mouseUp script is - set the mySet["myNumber"] of me to 90 - whether the setProp handler for myNumber still is executed. On Thu, Jul 30, 2015 at 3:22 PM Paul Dupuis wrote: > On 7/30/2015 5:31 PM, Mark Wieder wrote: > > Within the customPropertySet you just have: > > > > setProp

Re: setprop handlers for custom property sets

2015-07-30 Thread Paul Dupuis
On 7/30/2015 5:31 PM, Mark Wieder wrote: > Within the customPropertySet you just have: > > setProp property1 pValue > set the property1 of me to pValue > end property1 > > setProp property2 pValue > set the property2 of me to pValue > end property2 Thanks Mark. I am interested in avoiding the

Re: setprop handlers for custom property sets

2015-07-30 Thread Mark Wieder
Paul Dupuis writes: > > On 7/30/2015 4:34 PM, Mark Wieder wrote: > > Paul Dupuis ...> writes: > > > >> The LC 6.7.5 dictionary entry for setProp has the following: > >> > >> If the custom property you want to control is in a custom property set, > >> use array notation in the first line of the

Re: setprop handlers for custom property sets

2015-07-30 Thread Paul Dupuis
On 7/30/2015 4:34 PM, Mark Wieder wrote: > Paul Dupuis writes: > >> The LC 6.7.5 dictionary entry for setProp has the following: >> >> If the custom property you want to control is in a custom property set, >> use array notation in the first line of the setProp handler, as in the >> following exam

Re: Making icons

2015-07-30 Thread Peter Haworth
I'm sure there are other places but there's a free online convertor at https://iconverticons.com/online/ On Thu, Jul 30, 2015 at 1:20 PM Dr. Hawkins wrote: > Quite some time ago, I converted a png to a .icons file on OS X. > > And I have absolutely no memory of what I did to use it. > > I've edi

Re: setprop handlers for custom property sets

2015-07-30 Thread Mark Wieder
Paul Dupuis writes: > > The LC 6.7.5 dictionary entry for setProp has the following: > > If the custom property you want to control is in a custom property set, > use array notation in the first line of the setProp handler, as in the > following example: Interesting. I do see that in the docum

Making icons

2015-07-30 Thread Dr. Hawkins
Quite some time ago, I converted a png to a .icons file on OS X. And I have absolutely no memory of what I did to use it. I've edited the icons, and need to do it again. Could anyone spare a hint? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ us

Re: parameterized query with wildcard

2015-07-30 Thread Peter Haworth
Good questions Ralph, not sure I have definitive answers. I do know that even if your queries are executed by PHP scripts on your sever, there are ways for SQL injection attacks to occur, although it's much more complicated. There's a good Wikipedia article on this at https://en.wikipedia.org/wik

Re: parameterized query with wildcard

2015-07-30 Thread Mark Waddingham
Injection attacks are caused by a lack of validation of the inputs used to construct a query - they are independent of any transport mechanism. Even fronting db access with a web service will cause a vector for injection attacks if the web service is constructing query strings without validating

RE: parameterized query with wildcard

2015-07-30 Thread Ralph DiMola
Peter, If you using an SSL connection to the DB is there still "SQL injection" risks? 3...2...1... and Mark Wieder says "Use a web service" Then I will +1 it. I have almost completely moved to the https web service model for remote DB access. Ralph DiMola IT Director Evergreen Information Serv

Re: parameterized query with wildcard

2015-07-30 Thread Peter Haworth
I feel I should point out that you are leaving yourself wide open to SQL injection attacks by not using the placeholder method of passing data to SQL statements. Not enough space to detail how that works here but just Google "SQL injection" on the web to see a sample of the really bad things that

Re: parameterized query with wildcard

2015-07-30 Thread Peter Haworth
If you use the placeholder method, there is no need to sanitize the strings, that's the point of using it. Although I guess it depends on what you mean by "sanitize". On Thu, Jul 30, 2015 at 8:11 AM Bob Sneidar wrote: > Yes it does. If you use the placeholder method (I am not really sure what >

setprop handlers for custom property sets

2015-07-30 Thread Paul Dupuis
The LC 6.7.5 dictionary entry for setProp has the following: If the custom property you want to control is in a custom property set, use array notation in the first line of the setProp handler, as in the following example: setProp mySet[thisProperty] newValue if thisProperty is "that" then put

How to Make a Business Plan

2015-07-30 Thread Jana Doughty
Hi LiveCode Community, If you're an app builder, you might want to know how to make your app into a full flourishing business. Lots of our community members have done this successfully and we'd like to see you succeed in this way, too. Our Business Developer, Iain Morrison, discusses how to make

Re: parameterized query with wildcard

2015-07-30 Thread Bob Sneidar
Yes it does. If you use the placeholder method (I am not really sure what to call it at this point) then sqlYoga sanitizes the strings for you. I've inserted records with any number of characters using this method without any problems reading in or out of the database. I'm not sure if a direct

Re: Thousands Separators

2015-07-30 Thread Graham Samuel
Very interesting stuff indeed, IMHO. Some time ago I implemented what amounts to a simplified spreadsheet as part of an iOS app. There were cells containing numbers, arithmetic operations on the cells, and displays of the results. It very quickly emerged that every cell had to be stored in two f

Re: Parsing and Extracting Text from ePub XHTML

2015-07-30 Thread James Hale
Hi Brahmanathaswami, My code was begun back in LC 5.5 slowly making the transition through 6 and then 7. I think I still have a switch in there in case the stack is opened in LC 6 to ensure it does some of the fudging required. I have learnt in doing all this that standards (such as ePub 2) seem

Re: recursionlimit mystery!

2015-07-30 Thread Sebastien Nouat
Hi Bruce, Good news: if you have a look at the bug report, the last comment is a link to the GitHub pull request in which the bug is addressed. The milestone of the pull request is 7.1.0 RC 1, so in the next version of LiveCode 7.1 that will be released, the bug will be fixed :) Regards, S

Re: Parsing and Extracting Text from ePub XHTML

2015-07-30 Thread Mark Schonewille
Yep, Unicode is the future :-) It is also a considerable part of the digital past already, just not so much LiveCode's. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 5027