Search found 2256 matches

by [-hh]
Fri Feb 07, 2020 7:18 pm
Forum: Converting to LiveCode
Topic: Sudoku Code [was: python code I'm trying to copy over to LC]
Replies: 26
Views: 2326

Re: Python code I'm trying to copy over to LC

Just for reference: Jim Hurley wrote a Sudoku application using LiveCode http://jamesphurley.com/Sudoku.htm ... but on the website I couldn't see anything relating to it being able to completely solve a sudoku? Can it? It is a fine exercise/learning step to implement one of the many solution tools ...
by [-hh]
Fri Feb 07, 2020 6:39 pm
Forum: Internet
Topic: Allow Downloads from Websites with Browser Widget?
Replies: 4
Views: 1879

Re: Allow Downloads from Websites with Browser Widget?

Until that you could simply use browserUnhandledLoadRequest , e.g. on browserUnhandledLoadRequest pUrl -- set download target: set itemdel to slash put item -1 of pURL into tF set itemdel to comma ask file "Download as:" with tF if it is empty then exit browserUnhandledLoadRequest -- download: put u...
by [-hh]
Wed Feb 05, 2020 7:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Two developers same project ?
Replies: 20
Views: 3020

Re: Two developers same project ?

Sorry 'jacque', I corrected the typo.
I cited the last line of viewtopic.php?p=136476#p136476
by [-hh]
Wed Feb 05, 2020 6:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Force LC to start on second monitor
Replies: 5
Views: 657

Re: Force LC to start on second monitor

There is also a function the screenrects that may be useful here, additionally to Craig's answer.
See the documentation for this plural form in the entry for the singular form "screenrect".
by [-hh]
Wed Feb 05, 2020 6:14 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Two developers same project ?
Replies: 20
Views: 3020

Re: Two developers same project ?

Yes. And this is also 4 years old:
the OP wrote:Will we have less development features in the community edition than in the Indy one ?
jacque wrote:The license you choose doesn't matter, they all work the same way.
But that answer is still wrong.
[Edit. Corrected from "jacques" to "jacque", sorry for the typo.]
by [-hh]
Wed Feb 05, 2020 12:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Two developers same project ?
Replies: 20
Views: 3020

Re: Two developers same project ?

jacques wrote:The license you choose doesn't matter, they all work the same way.
Wrong.
As to Indy and Community versions there are at least two differences
(besides ability to password protect script):
tsNet/internet library and camera access (cameraControl)
are not available in the community version.
by [-hh]
Mon Feb 03, 2020 1:16 am
Forum: HTML5
Topic: Successful test
Replies: 75
Views: 45038

Re: Successful test

Added to html5Player (v104 alpha) https://hyperhh.de/html5/html5Player.html 1. Your added local (uncompiled) stacks can use as textfont : Aclonica, Andale Mono, DejaVu Sans, DejaVu Serif, Impact, Inconsolata, Optima, Permanent Marker, Skia, Verdana else textfont falls back to Droid Sans. 2. html5Pla...
by [-hh]
Fri Jan 31, 2020 1:32 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Avoid double .png file with same data
Replies: 2
Views: 513

Re: Avoid double .png file with same data

Hi Jean-Marc, there is certainly no simpler way. But you could also try the following that is a little bit shorter (and assumes that the resource fork size isn't needed any more). -- reports *all* png files in destination folder that have compare-data on mouseUp put url("binfile:/Users/admin/tum.png...
by [-hh]
Thu Jan 30, 2020 5:32 am
Forum: Raspberry Pi
Topic: New RPi 4 is out
Replies: 7
Views: 4378

Re: New RPi 4 is out

Certainly not what you want but in that direction: Of course LC 6.5.1/7.0.4 run on Raspi 3/4. But also: The html5Player ( 9.5.1 HTML5 standalone ) https://hyperhh.de/html5/html5Player.html runs in the (standard) chromium browser of Raspi 3/4. So you can load it once (slow) and run LC 6/7/8/9 stacks ...
by [-hh]
Wed Jan 29, 2020 10:16 pm
Forum: HTML5
Topic: Successful test
Replies: 75
Views: 45038

Re: Successful test

HTML5: html5Player (v102 as of Jan 30, 2020) This is a HTML5 standalone (webApp in the new LC wording). https://hyperhh.de/html5/html5Player.html (audio/video streaming then only works from https-streams!). This is a "standalone-Plus" that is, it is extended by javascript for several features that ...
by [-hh]
Sun Jan 26, 2020 9:26 pm
Forum: Feature Proposals
Topic: Colored or shaded sections of code in the SE
Replies: 37
Views: 2661

Re: Colored or shaded sections of code in the SE

Craig. I you wish to save the htmltext of the scripts then you have to follow the laborious way that Mark Wieder describes. Compare that to the markers-method: • That doesn't change the scripts (except of the markers), • it doesn't blow up the stack with the html-version of the scripts, • it applies...
by [-hh]
Sun Jan 26, 2020 7:30 pm
Forum: Feature Proposals
Topic: Colored or shaded sections of code in the SE
Replies: 37
Views: 2661

Re: Only some of the SE properties are saved between sessions

Craig. I have just started to use colorized blocks. Have you already done so? This is after all a fine idea, thanks for that. If a block is such complicated that I can't recall it for 5 minutes I use marks (to jump to, as most code editors allow). Following your idea, I just now rewrote the handler ...
by [-hh]
Sun Jan 26, 2020 6:42 pm
Forum: Feature Proposals
Topic: Colored or shaded sections of code in the SE
Replies: 37
Views: 2661

Re: Only some of the SE properties are saved between sessions

Interesting take on the colorizing issue, but does not address the saving part. Of course it does. The markers are part of the script, thus saved with the script. The backcolor of my marked parts is changed without changing the script: My handler doesn't make the script "dirty" because its plain te...
by [-hh]
Sun Jan 26, 2020 5:43 pm
Forum: Feature Proposals
Topic: Colored or shaded sections of code in the SE
Replies: 37
Views: 2661

Re: Only some of the SE properties are saved between sessions

Craig. Scripts are saved as plain text and newly colorized when reformatting what first removes all styles. But there is a simple remedy: 1. Insert markers #BC start and #BC end into the script where the "custom backColor" should occur. For example: on updateImage x, modus put the height of grp x in...
by [-hh]
Sun Jan 26, 2020 2:43 pm
Forum: Feature Proposals
Topic: Colored or shaded sections of code in the SE
Replies: 37
Views: 2661

Re: Colored or shaded sections of code in the SE

HtmlText will only include properties within the text itself, not field properties. If no text run within the field has had its textFont or textSize assigned, it will render with the textFont and textSize of the field the text is in. While those field properties will affect appearance, they are not...

Go to advanced search