Search found 120 matches

by johnmiller1950
Thu Nov 19, 2026 8:10 pm
Forum: Talking LiveCode
Topic: Scripting A Curve Graphic
Replies: 22
Views: 6061

Re: Scripting A Curve Graphic

This is John, the OP.

For my purposes, I think I can create an invisible oval then get the effective points and create an invisible curve with just the first half of those points. I’ll try this when I get home today and see if it works. Thanks everybody for your help and input.
by johnmiller1950
Wed Nov 04, 2026 7:12 pm
Forum: Talking LiveCode
Topic: Scripting A Curve Graphic
Replies: 22
Views: 6061

Re: Scripting A Curve Graphic

Richmond,

Thanks for the sample code. I have been playing around with sin and coin coding, and I can create a curved line, but I thought setting the style to curve and then setting the archangle and the startangle properties would be easier, but apparently this doesn't work.

John
by johnmiller1950
Wed Nov 04, 2026 7:07 pm
Forum: Talking LiveCode
Topic: Scripting A Curve Graphic
Replies: 22
Views: 6061

Re: Scripting A Curve Graphic

I'm a little confused.

Klaus, you asked, "who told you that?" I'm not sure what you are referring to.

This is what the LiveCode documentation says . . . "Setting the style of a graphic to curve makes the graphic into a curved line. Curve graphics, unlike painted curves, can be changed and ...
by johnmiller1950
Wed Nov 04, 2026 5:46 pm
Forum: Talking LiveCode
Topic: Scripting A Curve Graphic
Replies: 22
Views: 6061

Scripting A Curve Graphic

Greetings All,

Using the code below is supposed to set the graphic to a curve, but it uses straight lines instead. Any wisdom? I am using Mac OS 27.2 on a MacBook Pro M5 Max - Thanks, John

on mouseUp
create graphic "sCurve"
set the style of graphic "sCurve" to "curve"
put "100,100" & CR & "300 ...
by johnmiller1950
Thu Jan 16, 2025 12:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: All Deployment Options Grayed Out In Settings
Replies: 9
Views: 25518

Re: All Deployment Options Grayed Out In Settings

Bot or not, SparkOut and Jacque were on the right track. I own three different licenses and downloaded the wrong one.

Thanks for your help and adding a little joy to my life.
by johnmiller1950
Sat Jan 11, 2025 12:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: All Deployment Options Grayed Out In Settings
Replies: 9
Views: 25518

Re: All Deployment Options Grayed Out In Settings

Hi, yes Craig, when I say deploy, I mean make a standalone app.

I have LiveCode Professional w/7 deployment platforms. The last time I compiled anything, I was using version 6.0.3 because later versions changed something that screwed up the program that I was working on for a customer. I have since ...
by johnmiller1950
Fri Jan 10, 2025 3:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: All Deployment Options Grayed Out In Settings
Replies: 9
Views: 25518

All Deployment Options Grayed Out In Settings

Greetings All,

I have used LiveCode for years, but I haven't deployed to any platform for the past 4 years. I want to deploy to a Mac, but all of the deployment options are grayed out in the settings. This must be something obvious that I am forgetting and missing.
by johnmiller1950
Mon Dec 04, 2023 8:11 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 178534

Re: Color to Black & White

Cyril, thank you so much for the thorough explanation. It was very well done. I especially appreciated your explanation of the averaging technique of getting the grayscale value. - John
by johnmiller1950
Sun Dec 03, 2023 11:01 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 178534

Re: Color to Black & White

Paul, thanks for the link. I’m going to watch some of the other videos that are suggested. I’m trying to wrap my head around some of the algorithms in the code. Maybe I’ll catch on and maybe not, but figuring them out is a great mental workout.
by johnmiller1950
Sun Dec 03, 2023 10:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 178534

Re: Color to Black & White

After 73 years and a devastating head injury it may not have anything to do with attitude. Those days are long gone for me. Getting up each day and opening my computer to push into a new programming concept is about all the attitude I can muster these days. For me, finding something in the ...
by johnmiller1950
Sun Dec 03, 2023 1:12 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 178534

Re: Color to Black & White

I didn’t try it myself because I don’t understand the concept of palettes and how they function. I have often used the forums to see if someone knows how to do something that I don’t understand. Thanks for the work you did. I will keep playing around with it.
by johnmiller1950
Sat Dec 02, 2023 6:23 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 178534

Re: Color to Black & White

I notice that there is a pallet attribute in the export command. If I define the pallet with monochrome values, do you think that would work?
by johnmiller1950
Sat Dec 02, 2023 5:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 178534

Color to Black & White

Greetings All,

Is there a way to either . . .

. . . change an image from color to black & white within livCode or
. . . export a color image as a black and white image

Thanks in advance for any help you might offer.

Kind Regards To All,
John Miller
by johnmiller1950
Tue Jul 04, 2023 8:43 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resizeStack Project
Replies: 8
Views: 11492

Re: resizeStack Project

What I really want is to either drag the side of the stack and have the height of the stack increase proportionally, or stage the bottom and have the width increase automatically.
by johnmiller1950
Tue Jul 04, 2023 8:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resizeStack Project
Replies: 8
Views: 11492

Re: resizeStack Project

When I resize the stack, first I want the image to expand or shrink maintaining its original height to width ratio. Then I want to maintain ten pixels between the right side of the image and the right side of the stack. Also maintain a margin at the bottom equal to the height of my navigation ...