No worries, I have found a better solution, MIT licensed. I have a working proof of concept:
Jon, please contact me at andreas@wheninspace.se to discuss further.
Search found 328 matches
- Sat Apr 11, 2026 2:38 pm
- Forum: Developer Services Marketplace
- Topic: Datamatrix Barcodes
- Replies: 10
- Views: 13533
- Fri Apr 10, 2026 7:37 pm
- Forum: Developer Services Marketplace
- Topic: Datamatrix Barcodes
- Replies: 10
- Views: 13533
Re: Datamatrix Barcodes
Hi Jon,
I have experience with building interaction between LiveCode and embedded browser functions. I could take a look at it if I get the html file and some example data that you want to base the barcode on.
/Andreas
I have experience with building interaction between LiveCode and embedded browser functions. I could take a look at it if I get the html file and some example data that you want to base the barcode on.
/Andreas
- Fri Aug 22, 2025 9:47 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Wait until commandKey is down only works once
- Replies: 5
- Views: 21828
Re: Wait until commandKey is down only works once
Either you can use a counter variable, to just perform different actions depending on the number of times the command key has been down and up.
Or introduce a wait period in between key presses:
wait until the commandKey is down
put "AAAAA"
wait 1 secs with messages
wait until the commandKey ...
Or introduce a wait period in between key presses:
wait until the commandKey is down
put "AAAAA"
wait 1 secs with messages
wait until the commandKey ...
- Tue Aug 19, 2025 6:53 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Comparing scripts
- Replies: 4
- Views: 15626
Re: Comparing scripts
Check diffCompare in the Dictionary and see if that helps?
- Thu Jun 26, 2025 8:09 pm
- Forum: HTML5
- Topic: HTML5 modal focus not working
- Replies: 5
- Views: 101961
Re: HTML5 modal focus not working
I’m not entirely sure if my approach works in all situations
Unfortunately, your approach does not work for modal stacks . The field is focused and the insertion beam is blinking, but when you start typing nothing enters the field. You still have to click it to make it receive key strokes. This ...
- Tue Jun 24, 2025 9:58 pm
- Forum: HTML5
- Topic: HTML5 modal focus not working
- Replies: 5
- Views: 101961
Re: HTML5 modal focus not working
OK, now I have updated code that works in all tested browsers (Firefox, Safari, Chrome).
You can copy it directly from here: https://wheninspace.com/test/modal/
Implement it as in my first post.
Note though, that modal generally does not work as expected in web deployment. The modal mode is ...
You can copy it directly from here: https://wheninspace.com/test/modal/
Implement it as in my first post.
Note though, that modal generally does not work as expected in web deployment. The modal mode is ...
- Mon Jun 23, 2025 9:34 pm
- Forum: HTML5
- Topic: HTML5 modal focus not working
- Replies: 5
- Views: 101961
Re: HTML5 modal focus not working
Ha, well, yeah, working in Firefox and Safari on Mac, and Safari on iOS. NOT working in Chrome on Mac.
So we're not quite done with this one yet.
I'll be back!
- Mon Jun 23, 2025 9:26 pm
- Forum: HTML5
- Topic: HTML5 modal focus not working
- Replies: 5
- Views: 101961
Re: HTML5 modal focus not working
Hi igalperry,
Ouf, it took the better part of an evening to trouble-shoot that one, but I (and ChatGPT) FINALLY found a solution that seems to work well.
Only a physical tab key press seems able to actively shift the focus, and that can't be simulated as the browser prevents it. So it had to be a ...
Ouf, it took the better part of an evening to trouble-shoot that one, but I (and ChatGPT) FINALLY found a solution that seems to work well.
Only a physical tab key press seems able to actively shift the focus, and that can't be simulated as the browser prevents it. So it had to be a ...
- Sat Jun 14, 2025 10:55 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: send "end mouseUp"
- Replies: 7
- Views: 22920
Re: send "end mouseUp"
Indeed! "Send" is a command and needs a handler name as argument. "exit mouseUp" is not, an can never be, a handler name.
- Thu May 29, 2025 9:41 pm
- Forum: Talking LiveCode
- Topic: KeyUp message has disappeared.
- Replies: 5
- Views: 34940
Re: KeyUp message has disappeared.
That script works as intended for me, using LC10.0.1-rc-3 and 9.6.13-rc-1 on a Mac Studio running Sequoia 15.5.
- Thu May 29, 2025 5:07 pm
- Forum: Android Deployment
- Topic: Android Keyboard - Using "Sentence" Option.
- Replies: 17
- Views: 55762
Re: Android Keyboard - Using "Sentence" Option.
I have in the past viewed a way to set the Android keyboard to a "Sentence" option. Essentially when a key is pressed, the character will automatically set the case to uppercase. I have searched the dictionary for "Keyboard" but can't seem to find the information I need.
Search for ...
- Sun May 11, 2025 8:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Spotting a hyperlink?
- Replies: 2
- Views: 14271
Re: Spotting a hyperlink?
The styling handler:
command processLinks pFieldToProcess,pWordToLinkStyle
set the textStyle of word 1 to -1 of field pFieldToProcess to empty
put field pFieldToProcess into tText
lock screen
put 0 into tStartSearchAt
set the wholeMatches to true
repeat
put tokenOffset(pWordToLinkStyle ...
command processLinks pFieldToProcess,pWordToLinkStyle
set the textStyle of word 1 to -1 of field pFieldToProcess to empty
put field pFieldToProcess into tText
lock screen
put 0 into tStartSearchAt
set the wholeMatches to true
repeat
put tokenOffset(pWordToLinkStyle ...
- Wed May 07, 2025 8:00 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Livecode and Javascript
- Replies: 9
- Views: 49600
Re: Livecode and Javascript
What is the relevance of Javascript in a Livecode forum?
It is of great relevance if you want to extend LiveCode's capabilities to things that is normally out of its scope.
Since a long time, you've been able to run javascript in LiveCode by simply calling it through do [javascript code] with ...
- Fri Apr 11, 2025 4:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Browser widget and local files?
- Replies: 8
- Views: 17811
Re: Browser widget and local files?
This works perfectly well for me:
answer file "Select file"
set the URL of widget "MyBrowser" to "file:" & it
If you still get a blank browser, then delete the browser widget and add a fresh one. It can get stuck somehow, especially if you've gone forth and back between setting the url and ...
answer file "Select file"
set the URL of widget "MyBrowser" to "file:" & it
If you still get a blank browser, then delete the browser widget and add a fresh one. It can get stuck somehow, especially if you've gone forth and back between setting the url and ...
- Sat Mar 15, 2025 12:44 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Livecode and Javascript
- Replies: 9
- Views: 49600
Re: Livecode and Javascript
This simplification works:
The result value is then 15.
Code: Select all
function add(a, b) {
return a + b;
}
add(5, 10);