Re: JavaScript + LC HTML5 = LiveCode.js

2016-11-24 Thread Todd Fabacher
Hello Roger, you need to remember almost 50% of web users are on a non-desktop OS, and almost none of them support plugins like you are describing. LC HTML5 is what it is...It is an App running in an HTML5 canvas. We will be limited that those restrictions. But I understand where you are coming

Re: JavaScript + LC HTML5 = LiveCode.js

2016-11-24 Thread Sannyasin Brahmanathaswami
I too never quite understood why the RevWeb Plugin was abandoned. The old issue that users resist such downloads, never, IMHO, really materialized… just look at the kJillion extensions for FireFox or Chrome, there is no end in sight. So the plugin was abandoned, but in the end, hasn't the team

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Sannyasin Brahmanathaswami
Thanks every one for all the great answers/ideas. That said, @Mark… docs may need clarification 1) create 'regular polygon graphic" with 4 sides 2) name it "trapezoid" 3) make button "set the editMode of grc "trapezoid" to polygon result: nothing happens at all, no change, no option to add

Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Alejandro Tejada
Maybe this could be useful: on mouseUp lock screen create grc set the style of it to polygon set the points of it to "3,0,0,10,10,10,7,0,3,0" -- a very small figure set the rect of it to "0,0,200,100" -- enlarge the figure set the loc of it to the screenloc -- position

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Paul Hibbert
> On Nov 24, 2016, at 11:57 AM, Sannyasin Brahmanathaswami > wrote: > > Question: is there a way to close the polygon path? It does appear to be > closed by default, but I can't actually get the last point of the last line > to snap-connect to the first point of starting

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Roger Guay
I don’t know about you, but I got tired trying to figure out how to use the editMode of a polygon in Version 8, so I built what I think you need here: https://www.dropbox.com/s/bbsfkorg9vm32um/PolywHandles.livecode?dl=0

Re: JavaScript + LC HTML5 = LiveCode.js

2016-11-24 Thread Roger Eller
I disagree that you might as well be running a desktop app. The download of the helper would only be necessary once (like the old RevWeb plugin). Back when we had the RevWeb plugin, my browser based apps just worked. Being in a position where localized automation is primarily what I create for

Re: JavaScript + LC HTML5 = LiveCode.js

2016-11-24 Thread Mark Waddingham
I should perhaps say that whilst what I'm saying above sounds somewhat doom and gloom, it isn't. Browsers have a huge responsibility to keep your computer safe from malicious attack (there are people who spend all their time trying to find holes to wriggle through and then exploit). Browser

Re: JavaScript + LC HTML5 = LiveCode.js

2016-11-24 Thread Mark Waddingham
The connection could possibly be made by using web sockets I guess (someone correct me if I'm wrong). However, the user would have to download, install and run the helper process... At which point you might as well be running a desktop app I'd think. Browsers do not and will almost certainly

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Mark Waddingham
Check out the editMode property of graphic objects. Warmest regards, Mark. Sent from my iPhone > On 24 Nov 2016, at 04:44, Sannyasin Brahmanathaswami wrote: > > I want to be able to draw an adjustable trapezoid in Livecode. > > The regular polygon tool set to 4 sides

Re: JavaScript + LC HTML5 = LiveCode.js

2016-11-24 Thread Roger Eller
Mark, Would it be possible to have a LC executable (something resembling LC Server) on a Desktop, allowing the browser to access the local machine by way of that backgrounded process? Could it be an out of the box capability only turned on by the machine's primary user, via the html5 application

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Sannyasin Brahmanathaswami
The good news: Right click on the Polygon then choose 'Reshape Polygon' and the points that you require should appear. :-) BR: confirmed.. that works. Now the bad news: Sadly this also revealed the ghost trails seen before when you start to drag the points around. :-( BR:

Re: JavaScript + LC HTML5 = LiveCode.js

2016-11-24 Thread Mark Waddingham
Indeed. Once we have JS which 'does a similar thing' to answer file (or any other OS related piece of syntax) - hooking it up to that command is relatively straightforward. The hard part is writing the JavaScript implementations of the various OS services we are so used to using directly in

Re: JavaScript + LC HTML5 = LiveCode.js

2016-11-24 Thread Roger Eller
File picker should not have to be built in another language, in my opinion. Ask or Answer file SHOULD just work. Again, my opinion. This is LiveCode after all. ~Roger On Nov 24, 2016 10:49 AM, "Todd Fabacher" wrote: > Hello LiveCode community, > > At Digital Pomegranate

Re: Is there a mapping table for all rawKeyUp Codes?

2016-11-24 Thread Mark Waddingham
Hi Tiemo, If you search for 'PlatformKeyCode' in this file: https://github.com/livecode/livecode/blob/develop/engine/src/platform.h It should give you what you need. Warmest Regards, Mark. Sent from my iPhone > On 24 Nov 2016, at 16:31, Tiemo Hollmann TB wrote: > >

Is there a mapping table for all rawKeyUp Codes?

2016-11-24 Thread Tiemo Hollmann TB
Hello, since keyUp doesn't works anymore as it should on windows in LC 7/8 (see my previous post) I have to workaround with rawKeyUp. Does anybody has a togo mapping table of the rawkeyup codes to the real chars? If not I have to build it myself by testing each char. Thanks Tiemo

JavaScript + LC HTML5 = LiveCode.js

2016-11-24 Thread Todd Fabacher
Hello LiveCode community, At Digital Pomegranate we are very excited about the update to LiveCode HTML5. We already have several projects that we plan on using the platform for. Since our LiveCode team has only a little experience in JavaScript, we are thinking of creating a LiveCode.js. This

Re: Shell Command and cURL

2016-11-24 Thread Gregory Lypny
Hi Richard and Mark, Thanks for responding. Richard, I had tinkered with Put and libURLDownloadToFile or whatever version of libURL was available in version 7.1 (I have only today updated to 8.1.2) but the problem with those commands is that they need to make a connection or call (not sure of

Re: Installing LiveCode Server on a Microsoft Azure Bitnami LAMP stack

2016-11-24 Thread Dave Kilroy
Thanks Peter! I’ve passed it on… Kind regards Dave > Dave > > > On 24 Nov 2016, at 19:46, Dave Kilroy <[hidden email] > > > > > wrote: > > > > Hi all > > > > I’ve contracted a smashing guy with

Re: Installing LiveCode Server on a Microsoft Azure Bitnami LAMP stack

2016-11-24 Thread Peter W A Wood
Dave > On 24 Nov 2016, at 19:46, Dave Kilroy wrote: > > Hi all > > I’ve contracted a smashing guy with great server experience but who is new to > LiveCode install LiveCode Server on a Microsoft Azure Bitnami LAMP stack for > me - and it’s great working with

AW: LC 8: slowdown of a repeat loop

2016-11-24 Thread Tiemo Hollmann TB
Picking the thumbposition of the slider at mouseup and doing the calculations only at mouseup feels better now, as doing it simultaneously dragging the slider, though it is not a real "live experience" for the user. Tiemo -Ursprüngliche Nachricht- Von: use-livecode

Installing LiveCode Server on a Microsoft Azure Bitnami LAMP stack

2016-11-24 Thread Dave Kilroy
Hi all I’ve contracted a smashing guy with great server experience but who is new to LiveCode install LiveCode Server on a Microsoft Azure Bitnami LAMP stack for me - and it’s great working with someone who knows what they’re doing However we’re stuck - could you clever people have a look at

LC 8: slowdown of a repeat loop

2016-11-24 Thread Tiemo Hollmann TB
Hello, I am converting a 384x288 color image into greyscale, looping thru each pixel of the image and doing some calculations. That works fine. The user can do some fine adjustments using a slider with a live visual control of the effect on the image. For each movement of the slider the looping

LC 8: no keyUp at fast enter

2016-11-24 Thread Tiemo Hollmann TB
Hello, when entering chars in a fast sequence into a field I don't get a keyUp event in LC 8.1.1 on Windows. When entering single chars I get the keyUp, but when writing 10 finger system keyup stops working. On OS X 10.11 no problem and with LC 6.7 on windows also no problem, so it is not an

Re: roundUp function?

2016-11-24 Thread Quentin Long
sez Roger Eller : > We have round, which will either round up or down depending on the decimal > value being > or < .5, but what if I want ANY decimal value, even .01 to > round UP to the next whole number? The best solution is the Ceiling function. Since that's not an