Search found 4926 matches

by jacque
Sat Jul 13, 2019 5:54 pm
Forum: Rich Media
Topic: Encapsulated Image in external File
Replies: 13
Views: 546

Re: Encapsulated Image in external File

@Xero, what do you get if you put this into the message box?

Code: Select all

put  the text of img "Imagename"
by jacque
Sat Jul 13, 2019 5:46 pm
Forum: Rich Media
Topic: Encapsulated Image in external File
Replies: 13
Views: 546

Re: Encapsulated Image in external File

As I said above, the text of an image, whether referenced or not, is not empty after using: -- next two lines needed for referenced images only set the alphadata of img iName to the alphadata of img iName set the imagedata of img iName to the imagedata of img iName Right, I was asking the OP who sa...
by jacque
Sat Jul 13, 2019 5:08 pm
Forum: Rich Media
Topic: Encapsulated Image in external File
Replies: 13
Views: 546

Re: Encapsulated Image in external File

As far as I know, referenced images are the only way the text would be empty. Did you import the image using the Import Control item in the File menu?
by jacque
Sat Jul 13, 2019 4:57 pm
Forum: Talking LiveCode
Topic: Implementing full regex in LiveCode
Replies: 34
Views: 1489

Re: Implementing full regex in LiveCode

assuming • will not appear in text, then use • as the itemdelimiter, do the replace, then remove •
My favorite delimiters are ascii 3 and 8. They can't be typed, so neither will ever be in the text a user creates.
by jacque
Sat Jul 13, 2019 6:19 am
Forum: Rich Media
Topic: Encapsulated Image in external File
Replies: 13
Views: 546

Re: Encapsulated Image in external File

Images are always binary data. The blank lines and spaces you saw are non-printable characters that are part of the image (you can see a representation of those if you open an image file in a text editor that shows invisible characters.) I'm not sure why grayscale images appear to be okay but they w...
by jacque
Fri Jul 12, 2019 10:25 pm
Forum: Raspberry Pi
Topic: Coming in 9.x
Replies: 19
Views: 1205

Re: Coming in 9.x

mwieder wrote:
Fri Jul 12, 2019 8:39 pm
Do you have a link for this? My searches are coming up empty.
I only found this: http://hopl.info/showlanguage.prx?exp=7 ... uage=YAMIL

I'm certain the LC report didn't mean this, YAMIL dates from 1980. To be honest, I was kind of surprised to get any hits at all.
by jacque
Fri Jul 12, 2019 6:14 pm
Forum: Raspberry Pi
Topic: Coming in 9.x
Replies: 19
Views: 1205

Re: Coming in 9.x

Sorry. I assume in this case they're talking about GPS.

It's not well documented but Yamil is a programming language for music. But I suspect LC meant your version.
by jacque
Fri Jul 12, 2019 6:11 pm
Forum: Talking LiveCode
Topic: Implementing full regex in LiveCode
Replies: 34
Views: 1489

Re: Implementing full regex in LiveCode

Maybe "trueWord" then. It ignores spaces, punctuation, etc. I'm just thinking out loud.
by jacque
Fri Jul 12, 2019 6:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling around
Replies: 13
Views: 423

Re: Scrolling around

Images have formattedHeight. Is the image used as an imagesource? If so, get the formattedHeight of the original. Imagesource is the only way I can think of to embed an image in a field.

If you want the height of the entire field including the image then formattedHeight should also still work.
by jacque
Fri Jul 12, 2019 5:15 pm
Forum: Raspberry Pi
Topic: Coming in 9.x
Replies: 19
Views: 1205

Re: Coming in 9.x

LC Global was the annual conference held entirely online with live streaming. There were two, preceding this year's physical conference. Each conference spanned an entire year, with a daily session happening once a month (so you got 12 days instead of three.) If you paid to attend, then all material...
by jacque
Fri Jul 12, 2019 4:53 pm
Forum: Rich Media
Topic: Encapsulated Image in external File
Replies: 13
Views: 546

Re: Encapsulated Image in external File

Are you saving the file as binary (binfile)?

I'd be tempted to use an array for each section and then arrayEncode it and save it as binfile, but that's just me. hh's suggestion does convert it to ascii which doesn't require binary.
by jacque
Fri Jul 12, 2019 4:43 pm
Forum: Talking LiveCode
Topic: Implementing full regex in LiveCode
Replies: 34
Views: 1489

Re: Implementing full regex in LiveCode

Could you repeat for each word instead of items? That would ignore extraneous spaces at both ends as well as internally.
by jacque
Fri Jul 12, 2019 4:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling around
Replies: 13
Views: 423

Re: Scrolling around

The formattedHeight?
by jacque
Fri Jul 12, 2019 12:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I don't understand this error I'm getting
Replies: 11
Views: 348

Re: I don't understand this error I'm getting

If you were running the stack in an older version of LC, we didn't need to worry about encoding back then but since LC 7 we do. If that isn't the case, I have no idea. It's one of those mysteries you could probably track down but probably isn't worth the effort. :)
by jacque
Thu Jul 11, 2019 8:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I don't understand this error I'm getting
Replies: 11
Views: 348

Re: I don't understand this error I'm getting

Yes, that's UTF-8. In general, when moving data in/out of LC you need to textDecode/textEncode because almost all databases are UTF-8 and LC uses UTF-16. I'm not sure that will fix your problem but it isn't hard to do that and it might tell you something.

Go to advanced search