Search found 61 matches

by SEAL29
Tue Jan 16, 2024 3:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Export snapshot black picture
Replies: 2
Views: 1115

Export snapshot black picture

Hi.
I have export the snapshot but the picture is black the path and file name is correct. I use this command:

Code: Select all

 set the JPEGQuality to 100
export snapshot from rect “15,30,260,340” to file tFilepath as JPEG
by SEAL29
Sun Jun 19, 2022 4:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Linux terminal in Livecode
Replies: 2
Views: 1195

Re: Linux terminal in Livecode

This is it. Thank you.
by SEAL29
Sun Jun 19, 2022 2:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Linux terminal in Livecode
Replies: 2
Views: 1195

Linux terminal in Livecode

This is possible? The run linux terminal in Livecode like a text in field. Or other way?
by SEAL29
Thu Feb 17, 2022 3:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Extract color code
Replies: 21
Views: 7155

Re: Extract color code

It looks like Seal29 is looking for HTML hex colors. To do this: on mouseUp answer color if it is empty then exit mouseUp -- it contains the color as RGB, for example (0,0,0) black repeat for each item aDezimalColor in it put format("%02s",(baseConvert(aDezimalColor, 10, 16))) after tResult end rep...
by SEAL29
Wed Feb 16, 2022 8:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Extract color code
Replies: 21
Views: 7155

Extract color code

How do i extract the HTML or RGB color code from system default color chooser?

Code: Select all

answer color
set the backgroundColor of graphic "tester" to it
But i like extract the colors code into filed, example #C0808080 in field.
by SEAL29
Sun May 16, 2021 7:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How can i save in UTF-8 format?
Replies: 3
Views: 2349

Re: How can i save in UTF-8 format?

andresdt wrote:
Sun May 16, 2021 2:32 pm
Hi, try using textDecode or textEncode

Code: Select all

put the dgtext of grp "filmDataGrid" of cd "listcard" into tVariable
put textDecode( tVariable, "UTF-8") into url("file:/Volumes/Data/Adatlapok/filmDataGrid.txt")
Thanks. The textEncode command works fine. :D
by SEAL29
Sat May 15, 2021 7:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How can i save in UTF-8 format?
Replies: 3
Views: 2349

How can i save in UTF-8 format?

How can i export/import text from/in Data Grid in UTF-8 format? I use this in Data Grid put the dgtext of grp "filmDataGrid" of cd "listcard" into tVariable put tVariable into url("file:/Volumes/Data/Adatlapok/filmDataGrid.txt") This command works with field set the unicodeText of fld "tartalom" to ...
by SEAL29
Wed Apr 14, 2021 1:57 pm
Forum: Multimedia
Topic: Append an image to another image
Replies: 29
Views: 26594

Re: Append an image to another image

Thank you for your help and time.
by SEAL29
Mon Apr 12, 2021 7:17 pm
Forum: Multimedia
Topic: Append an image to another image
Replies: 29
Views: 26594

Re: Append an image to another image

and now most probably what you would like to have, or close... screenshot 2021-04-12 à 16.57.21.jpg constant myDesktopFolder = "/Users/xxxx/Desktop/cards52/" constant mySourcesImages = "KH,JS,QD,AC,3H,7S,10D,2C,5H" on mergeImages local imgsIN, imgTiles, imgTilesRow local W, H, L, Nimgs, Nrows, Ncol...
by SEAL29
Mon Apr 12, 2021 1:52 pm
Forum: Multimedia
Topic: Append an image to another image
Replies: 29
Views: 26594

Re: Append an image to another image

Thank you guys for solutions.
by SEAL29
Mon Apr 12, 2021 4:30 am
Forum: Multimedia
Topic: Append an image to another image
Replies: 29
Views: 26594

Re: Append an image to another image

I tried with snapshot but the image quality is bad. I set the jpegquality is 100 the resolution and quality is inappropriate.
by SEAL29
Sun Apr 11, 2021 6:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating movie thumbnail
Replies: 2
Views: 1863

Creating movie thumbnail

I have 35 different full hd images (snapshots) from movie and i want to make an app that puts these images together in a 7x5 thumbnail. i use this code ... ## Create images ##01 create image "pic1" set the filename of img "pic1" to tPath & tSnap1 & tType ##02 create image "pic2" set the filename of ...
by SEAL29
Sun Apr 11, 2021 5:57 pm
Forum: Multimedia
Topic: Append an image to another image
Replies: 29
Views: 26594

Re: Append an image to another image

Hi, Appending two images is really easy, if the images have the same width. This seems what you want to do. on mouseUp put the imagedata of img 1 & the imagedata of img 2 into myData create img set the height of it to the height of img 1 + the height of img 2 set the width of it to the width of img...
by SEAL29
Sat Mar 13, 2021 8:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Insert image from path with text in field
Replies: 0
Views: 9849

Insert image from path with text in field

Hello. I have one field "sampleimage" with name of image example House. This image path is /Volumes/HDD/Pictures/House.jpg Now i create a button and what script is to find and insert automatically this 'House.jpg' into the standalone application using field with name of image. So put the text of fie...

Go to advanced search