LiveCode cannot do anything for you with that.
The security dictator is
1. the OS
2. the browser you use for the standalone.
There are a lot of differences alone by variations of
these two.
Yes, read and write from files is doable, but with the
restrictions given by OS security and Browser secur
A few words in defence of the LC HTML5 standalone builder.
1. > Pi wrote:
> To answer your subject heading, I did some calculating based on the
> current state of HTML5 deployment and my own experience in doing the
> fixes single-handed for it. I work it out in the region of £15k.
This is of cour
> Riko A. wrote:
> Is it possible to encrypt a standalone html5 file.
> So it can't be downloaded and unzipped. So other
> people can see our logic script. for example:
> http://hyperhh.de/html5/CopyPaste-8.0.2X.html
> http://hyperhh.de/html5/CopyPaste-8.0.2.zip
I did that intentionally and publi
This lesson is very short and simple:
A bicycle (mobile) usually drives much slower and can
transport much less weight than a car (desktop machine).
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscr
> Riko A. wrote:
> How do i protect my application with a password? I use livecode business.
In the File/Standalone Application Settings go to Tab "Stacks".
At bottom right you find a check and a field for the password.
___
use-livecode mailing list
use
> Richard G. wrote:
> That said, password protection only applies to the on-disk
> representation of a stack. Once in memory, the algorithms of
> any program made with any tool can be dumped and disassembled.
Little Criminals, I like this song by Randy Newman.
https://www.youtube.com/watch?v=T_MD
Yes, browserDocumentLoadComplete is working correctly and consistent
with HTML5, no bug here.
BrowserDocumentLoadComplete is fired as soon as the DOM is finished
incl. *reading* your script tags.
*After* that your javascript is *executed*. The server and browser/
browser widget don't check/care wh
Klaus,
looked in the scenario you mention. (I didn't say to use
messages of the browser widget ...)
This is your scenario (correct me if not):
You have several pages on one or more foreign servers.
These pages have dynamically generated content you wish
to access and extract parts to custom prop
@BR.
There is currently not yet support for mobile (precompiled binaries).
But Android 4.0+ supports the format natively in its browser. See
https://developers.google.com/speed/webp/faq#which_web_browsers_natively_support_webp
The way you could do it on desktop (and probably as soon as supported
MacOS 10.15.1
This is fld "IN" (your snippet):
tell application "System Events"
set activeApp to name of first application process whose frontmost is true
return activeApp
end tell
on mouseUp
do fld "IN" as "applescript"
put the result into fld "OUT"
end mouseUp
yields in fld "OUT":
Is it really worth the work to do that from LCB?
A while ago I installed HTML tidy 5.6.0 from here
http://binaries.html-tidy.org (the Mac .dmg)
Then I copied the binary "tidy" from /usr/local/bin
compressed to my stack (=231 KByte).
Now I use it from there, running it in the temporary
folder via
> JJS wrote:
> Ok sorry, i forgot to mention. I'm also on win10-64bit.
Did you save the stack to a before using it? If not, it has no path for the
binaries, which will be installed in folder "WIN" of your stack's folder...
If so, I can't really help as it works here.
The stack is very basic LC S
> Klaus M. wrote:
> Still -> execution error
It works here in the IDE on MacOS 10.14.6 and 10.15.1 using LC 9.5.0. or LC
8.1.10. (I stopped using unstable LC versions a while ago).
Did you try from the IDE?
If it is from the standalone only you could also try to use osascript
via shell:
get she
Yet another option is to use the technique from "pointInShape":
http://forums.livecode.com/viewtopic.php?p=129274#p129274
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscrip
> We are pleased to announce the release of LiveCode 9.6.0 DP-1.
> Mark Wieder wrote:
> Really?
> A major point release while still in the queue there are
>
> 186 pull requests for the engine (dating back to 2014)
> 42 pull requests for the IDE (dating back to 2016)
Good point, perhaps the major
@Mark Waddingham.
Good to know you are still alive.
LC version numbering has it's own logic, agreed -- as long as
it's counting up. Integers are meek as a lamb, we have enough
of them.
Nevertheless Mark Wieder made a good point with looking at the
pull requests.
If I understand correctly then yo
A few more words in defense of the HTML5 standalone builder:
Enjoy html5IDE v100_alpha. A LC-playground with 'integrated'
propertyInspector, dictionary, scriptEditor and tools.
http://hyperhh.de/html5/html5IDE.html
You can create objects, edit their properties and their script.
Moreover there is
> Tom G. wrote:
> Is it to have an easier time testing html 5 features?. is it to turn it
> into a product?
The SE and the messaging between the standalones is already basically done
in earlier parts of my html5 samples.
To improve the scriptEditor (which is 80% codeMirror) and build the mess
The defaultmenubar is a GROUP.
Empty is not a group. So you could try:
create a new group
set the defaultmenubar to that empty group
delete that empty group
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe,
As I understand this:
the menubar of this stack is a container (containing a group reference),
the defaultmenubar is itself a (may be referenced) group.
> Klaus M. wrote:
> hm, I was hoping for a ONE-Liner, that can easily be executed via script.
You could use semicolons ;-)
__
I reported a bug (#18688, Oct 26 - 2016) that is still there in 9.5.0
on Mac 10.15.1. It partially overlaps with your description:
[1] Saving a stack while the script editor is open with an unsaved
script doesn't save the script.
[2] Quitting LC without closing (saved) stack window or SE doesn't
s
1. Without killing prefs:
a) open the SE
b) from msg
send "sePrefSet " "e&"paneHeight""e&", 500" \
to stack "revnewscripteditor"
c) close the SE
d) reopen the SE
2. Kill/Reset prefs.
The height of the bottom pane is stored there.
___
use-livecode m
This is all OK assuming your html file is in
/Users/paul/Desktop/help/.
It works here with all modern browsers.
The error is caused somewhere else in your webpage.
Contains the char-attribute a gremlin or did you set
a conflicting base url?
You could use the WebInspector of the browser to see
w
We already have HTML5: Native RichText Field
https://hyperhh.de/html5/HTML5Field_v106-9.5.0X.html
This is now a bit simpler (and simpler to implement):
HTML5: Native PlainText Fields (basic example)
The stack, downloadable from
http://forums.livecode.com/viewtopic.php?p=186081#p186081
has a scri
@BR
Don't run the gif as animation but do your own animation
by setting the (or some) frames using "send in time".
By that you can control better the "animation".
Using a widget for that is significantly slower (takes more
CPU) than LCS with such animations.
A triangle with width=height is NOT a regular polygon (it doesn't have equal
side length).
To have what you want create a grc of type "polygon" and then
set points of grc 1 to "0,0,10,-10,20,0,0,0"
set width of grc 1 to 243
set height of grc 1 to 243
To have equal sideLength you set the width t
This works here:
go stack url("binfile:/Users/admin/xstacks/selectiveGray6789.IW")
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev
> BR wrote:
> But this is a one off design process, so I will still with my "ruler" grc
> rect….
Obviously you want an evenly sided triangle with fixed width W? So use
put 243 into W -- for example
set points of grc 1 to "0,0,10,-10,20,0,0,0" -- these are start-values only
set width of grc 1 to
> Richard H. wrote:
> Typing to Terminal „pdftotext“ I get a List with command-options.
> With get shell(„pdftotext“) with and without quotes
> I get the answer „/bin/sh: line 1: pdftotext: command not found“
> What is wrong? May you please help? (MacOS Catalina).
You could add on startup /usr/lo
See the "statistics" here:
http://forums.livecode.com/viewtopic.php?p=186723#p186723
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runre
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
This is a "standalone-Plus" that is, it is extended by several
javascript extensions for features that are not (yet) implemented
in LC-HTML5 or not pos
> BR wrote: can you save anything from that view?
1. Generally yes.
But this needs ALWAYS, with all modern browsers,
manual user interaction: click a button or select
from a menu.
Similarly user interaction (click, drag and drop)
is needed to read in such objects.
* STACKS
Panels with an LC icon
> Bob S. wrote:
> I probably misunderstand the use of this.
> I drug a simple stack into this but while it displays
> fine, it does not function...
Did you test it in the IDE? This is very simple in LC 9:
Open the stack, select HTML5 (nothing else) in the
standalone settings and hit the Test but
While testing intensively in the LC-HTML5 builder for
cross-browser functionality of extensions I used
Brave, Chrome, Firefox and Safari.
My personal ranking in short:
Safari is fastest with huge JS (the standalone engine),
Firefox is slowest but has more special features,
Chrome has most feature
> Bob S. wrote: Unfortunately I only have the Community version
> and cannot test.
Works here with LC Community 9.5.1 (on MacOS 10.15.3):
Open the stack, select HTML5 (nothing else) in the standalone
settings and hit the Test button.
You need a HTML5 license *only* for publishing standalones,
jus
> Richard G. wrote:
> do you know if would it be practical to run the generated
> LC-engine-as-JS file through a JS->WASM converter?
> If not, what would be needed to make that happen?
AFAIK the current HTML5 standalone builder was made by Peter
Brett in contact with Mark Waddingham. It uses Emsc
> Richard G. wrote:
> I'm seeing a growing number of JS->WASM converters out there ...
Where? Please cite some.
> ... seemingly designed to replace a JS lib with a WASM version
> that is functionally identical, just smaller and faster.
> I'm wondering if anyone has tried this with the generated
> Sean C. wrote (in thread 'Brave'):
> ... can you put together a priority list of items that need to
> be fixed in HTML5 deployment as I am currently adjusting the code.
> I mean things that should just work without running external
> JS workarounds like most of the key commands not working in a
* There are some things relating 1 & 2 one could think about:
Start with mouseEvents (incl. wheel) and modifier keys.
Then one could use native fields so that the browser does the keyboard job
and executes all shortcuts for fields.
To get/set field values is easy. A native styled field is also po
> Sean wrote:
>
> 4. As with 3 also, emscripten itself has capabilities built in that will
> allow for this so I will more likely utilise these rather than use JQuery.
> The idea will be to handle as much as possible within the emscripten code
> and have minimal stuff within the HTML output other
Added to html5Player (v103 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. (Just
If I understand correctly:
What you want will be done soon, in a limited way, with the "html5IDE"
https://hyperhh.de/html5/html5IDE.html
(but without debugging!). The html5Player is not for that (**).
You have there a propertyInspector, scriptEditor (and Dictionary).
Everything is done in the bro
New in html5Player (v104 alpha)
https://hyperhh.de/html5/html5Player.html
html5Player adds a function keyCombo to your stack (as behavior)
that you may use in your local stacks.
It is updated on every keydown, keyup, mousedown and mouseup
in the browser window.
[See the stack "FontAndKeyTester" of
Parse1 is here always at least 30% faster than Parse2.
Yet another approach in LC 7/8/9 that I find to be very
fast (especially for a lot of hits in large strings,
e.g. when searching for "and" or "the"):
-- Offset per ItemDelimiter
-- Searches for pStr in pSrc using pCase
function Parse0 pStr, p
The htmltext of a field is based on HTML3 or before.
In HTML 3/4 a span can not contain two links, in HTML5 yes.
[So a browser widget does what you explicitly wish to have.]
Or if you set the metadata of the -tag instead
(= set the metadata of line x of fld 1 to "metadata1").
> JLG wrote:
> If
> JLG wrote:
> I'm still working on htmltext in a field. There are anchors
> that indicate positions elsewhere in the file. A browser will
> automatically find and scroll to the right place in the text.
> I need to reproduce that.
Besides using style runs you could try the following simple
method
ChangeImage Widget v106
This is a (partial) extension of the TurnImage widget (v135).
It adds masking of the images and several transition animations
(from one image to a second one). We now have
zoom, barn door horiz/vert, move horiz/vert, squeeze horiz/vert,
swipe diag/horiz/vert, (perspectiv
As others try to optimize ("ping") I'll try an improvement too ("pong")
with using another method that requires to change your link targets ONCE:
Instead of unique targets write in your field
""&numTochar(1)&"target10"&numTochar(1)&"""
Handler replaceTargets below does it (slowly) but you proba
Sorry, forgot that some html entities are not displayed in the list:
So assuming (unusual) should read
-- [1] you use the following for a link target
-- Xtarget10X
where X is ("&" & "#1;") ..., the html translation of numToChar(1).
-- LC translates numToChar(1) to " " should read
-- LC t
This is possibly your problem if I understand correctly what
you are doing (Browser source -> LC htmltext -> LC styledText).
You try to work, using one LC method (styledText), around
problems that another LC method (htmltext) has generated.
One way to solve this could be to avoid LC's htmltext at
The widget computes BioRhythm-Curves (sinus curves with different
periods of days).
The 7 names and their periods are: physical 23, emotional 28,
intellectual 33, spiritual 53, awareness 48, aesthetic 43,
intuition 38. Moreover you can have a weighted mean of the
included of these 7 curves.
Displ
http://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile
http://lessons.livecode.com/m/4069/l/11509-how-do-i-implement-a-multi-touch-pinch-motion
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this u
Some people are very angry about deficiencies of LC, what I can understand from
their view, and *we should hear what they have to say*.
Especially when they get angry about the whitewashing of bugs by some list
members.
What's wrong that's wrong, no matter who tries to whitewash bugs or even tri
Indeed, the current implementation of
(Default),(Menu),(Message),(Styled Text),(System),(Text),(Tooltip)
is not very useful.
For example (System) at size 13 on MacOS 10.15 is on Windows 10
at about (System) at size 12. So one needs nevertheless a platform
switch.
___
> > hh wrote:
> > Some people are very angry about deficiencies of LC, what I can understand
> > from
> > their view, and *we should hear what they have to say*.
>
> Matthias wrote:
> Why. Posting here won´t change anything.
The uselist is not a LC-praising list. As long as we have the freedom
> > hh wrote:
> > The uselist is not a LC-praising list. As long as we have the freedom of
> > speech everybody can say whether he is contented with LC or not.
>
> Bob S. wrote:
> I was not aware we had such freedoms on this list! For instance, if I begin
> to speak of fermented dairy products, I
> Richard G. wrote at Mike K.:
> The rest of us are having conversations with none other than the lead
> engineer, right here on this list this morning.
Yes the CTO was in the last two weeks probably more often here than in the
last two years before that two weeks. But he's now more often searchi
> Matthias wrote:
> I did NOT refer to any personal problems. So please do not impute
> such an intention to me.
Sorry Matthias, I obviously misinterpreted "your problems last year".
Hopefully Sean Cole didn't also misinterpret this.
___
use-livecode ma
801 - 858 of 858 matches
Mail list logo