Search found 857 matches
- Wed Jul 12, 2023 3:20 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Decode Little Endian
- Replies: 7
- Views: 13413
Re: Decode Little Endian
I've tried all of the following but can't find a way to get it to come out to 2022..:
put baseConvert("E607" ,16,10) into t ... this comes out as 58887
Hi,
As said in the subject: little Endian.
Have you tried reversing the 2 bytes, as:
put baseConvert("07E6" ,16,10) into t
Regards ...
- Sat Apr 15, 2023 3:14 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Finding text without variants
- Replies: 11
- Views: 13511
Re: Finding text without variants
Hi Thierry,
What a nice surprise to see you here again.
And what a wonder of Regex you brought along.
It works like a charm. (It even might be a charm).
Vielen Dank, Bernd
You're the winner of the day with a little variant,
euh, a bit more simple if I may say so as I catch the Lab values in ...
- Sat Apr 15, 2023 2:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Finding text without variants
- Replies: 11
- Views: 13511
Re: Finding text without variants
Hi Bruce,
Your actual data is a bit different from the first snippets that you posted.
As you noticed in your code:
Tab is the column delimiter and CYMK and Lab values have leading zeroes for 7 characters and wavelengths have trailing spaces for 6 characters.
I changed the code by removing all ...
- Sat Dec 03, 2022 4:20 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED] Getting Index of Characters
- Replies: 17
- Views: 29679
Re: Getting Index of Characters
Thanks Thierry.
I get why the charOffset works, but not quite sure why the paragraph number will only work when it is 1.
It will work on paragraph 1 because the offsets you are catching with offset(),
are based on the 1st character of your text,
the same as the first character of paragraph 1 ...
- Sat Dec 03, 2022 12:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED] Getting Index of Characters
- Replies: 17
- Views: 29679
Re: [SOLVED] Getting Index of Characters
Hi Thierry!
Nice to see you again :D
Thanks Stam, Bernd and Sparkout for your welcoming :)
Actually, I did post because I edit my signature to inform Livecoders
that someone did stole my identity on sunny-tdz.com.
I did send a message to the ISP abuse service...
let's see what will happen ...
- Fri Dec 02, 2022 12:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED] Getting Index of Characters
- Replies: 17
- Views: 29679
Re: Getting Index of Characters
Hi Xero,
Replace this line:
replace y with "?" in character tCharOffset of paragraph tParaOffset in tText
with:
replace y with "?" in character tCharOffset in tText
and I guess it should work better...
Your original line will work only and only if tParaOffset is 1.
and for fun all these ...
Replace this line:
replace y with "?" in character tCharOffset of paragraph tParaOffset in tText
with:
replace y with "?" in character tCharOffset in tText
and I guess it should work better...
Your original line will work only and only if tParaOffset is 1.
and for fun all these ...
- Wed Jul 28, 2021 3:05 pm
- Forum: Talking LiveCode
- Topic: Regex to find phone numbers in text
- Replies: 6
- Views: 7884
Re: Regex to find phone numbers in text
Hi Thierry,
As a regex forum expert I am hoping you might have a minute
to take a look at my post at viewtopic.php?f=9&t=36139
Interested in your thoughts on learning / getting better with Regex and Livecode.
~ Rodney
Hi Rodney,
Finally found some time to chime in with my little regex ...
As a regex forum expert I am hoping you might have a minute
to take a look at my post at viewtopic.php?f=9&t=36139
Interested in your thoughts on learning / getting better with Regex and Livecode.
~ Rodney
Hi Rodney,
Finally found some time to chime in with my little regex ...
- Sat Apr 17, 2021 4:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: splitting a long icon path into several lines - possible ?
- Replies: 10
- Views: 14309
Re: splitting a long icon path into several lines - possible ?
Is it possible to split the iconpath parameter into a working few lines for a "better" display
set iconpath to "M1134 1229Q1142 1254 1130 1277.5 1118 1301 1093 1309 1068 1317 ..................... "
A little saturday night gift for you Sir :)
build a little stack with 2 fields and one ...
- Sat Apr 17, 2021 3:22 pm
- Forum: Bug Triage
- Topic: Win: "launch [doc] with [app]" fails, & workaround
- Replies: 2
- Views: 3500
Re: Win: "launch [doc] with [app]" fails, & workaround
get shell("D:/myDir/myApp.exe" "D:/myDir/myFile.txt")
Hi Axwald,
Ok, first I think you have to pass only 1 string to the shell() function.
Second, I believe the command you are looking for new Win box is: start /b aCommand
which should be the equivalent of aCommand& in Mac/Unix.
Could be ...
- Sat Apr 17, 2021 7:23 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Aligning Bananas and Numbers in a single (Text) field - doable ?
- Replies: 15
- Views: 20178
Re: Aligning Bananas and Numbers in a single (Text) field - doable ?
Really cool, I like that the stack holds the Icons themselves... no external images storage !
Yep, that's why I told you to check the dictionary for the options...
BTW Thierry... you seem to know how to setup a socket connection...
Well, knowing sockets is one thing,
knowing how to work ...
- Fri Apr 16, 2021 1:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Aligning Bananas and Numbers in a single (Text) field - doable ?
- Replies: 15
- Views: 20178
Re: Aligning Bananas and Numbers in a single (Text) field - doable ?
Thierry knows the 'Great and powerful Bogs' loves the only bannana you'll ever need hee hee....
https://i.postimg.cc/Ls8wXTP2/BANANA.gif
Well, then you might be able to help me with this crazy thing?
Can't manage to make this command works:
open datagram socket to bananaSocket with ...
- Fri Apr 16, 2021 9:13 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Aligning Bananas and Numbers in a single (Text) field - doable ?
- Replies: 15
- Views: 20178
Re: Aligning Bananas and Numbers in a single (Text) field - doable ?
yeah..;no bananas, this is a must feature for the next release !
How could livecode live without it :shock:
Of course they have one, but deeply hidden in the resources.
New widget called "banana-split-pops" made by the Great bogs
banana split pops.jpg
Ok, so just a simple field..cool ...
- Fri Apr 16, 2021 3:57 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Aligning Bananas and Numbers in a single (Text) field - doable ?
- Replies: 15
- Views: 20178
Re: Aligning Bananas and Numbers in a single (Text) field - doable ?
Hi liveme,
Sorry, no bananas here but may be you could do something with this?
Here is a standard LC field:
screenshot 2021-04-16 à 04.52.55.jpg
and the script of the field:
on mouseUp b
if b = 3 then
put "android: 1 apple: 2 iOS: 3" into me
set the imageSource of char oC("1") of me ...
Sorry, no bananas here but may be you could do something with this?
Here is a standard LC field:
screenshot 2021-04-16 à 04.52.55.jpg
and the script of the field:
on mouseUp b
if b = 3 then
put "android: 1 apple: 2 iOS: 3" into me
set the imageSource of char oC("1") of me ...
- Wed Apr 14, 2021 10:56 am
- Forum: Multimedia
- Topic: Append an image to another image
- Replies: 29
- Views: 111258
Re: Append an image to another image
Hi Seal,
and finally, got some free time refactoring,
renaming few variables and making the code more generic:
-- specify number of Rows and Columns!
put 2 into Nrows
put 4 into Ncols
screenshot 2021-04-14 à 11.45.15.jpg
on mergeImages
local imgData, imgTiles, imgTilesRow
local W ...
and finally, got some free time refactoring,
renaming few variables and making the code more generic:
-- specify number of Rows and Columns!
put 2 into Nrows
put 4 into Ncols
screenshot 2021-04-14 à 11.45.15.jpg
on mergeImages
local imgData, imgTiles, imgTilesRow
local W ...
- Tue Apr 13, 2021 9:57 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: IDE windowed mode
- Replies: 64
- Views: 53647
Re: IDE windowed mode
....
I’m also not friends with the documentation in-app
- but I now use Dash.app instead, so much better. Just can’t launch from IDE sadly.
Hi Stam,
I feel your pain on this topic.
Dash is really an excellent app, and so, almost 2 years ago,
did add it to my private BBLC environment with some ...