Page 1 of 2

Program Template

Posted: Wed Feb 20, 2019 10:54 pm
by rbytes
;)

Re: Program Shell- Graphics

Posted: Fri Feb 22, 2019 10:03 am
by PaulKnight
Thanks rbytes!

This is just the type of code listing that really helps newbies like me! Seeing a working example with well commented code is just so helpful.

I can't wait to play with this when I get time next week. It's school half term here I the UK so no time for coding this week unfortunately.

Thanks again - much appreciated :-)

Re: Program Shell- Graphics

Posted: Fri Feb 22, 2019 2:39 pm
by rbytes
Thanks for the positive reaction, Paul. :D

A couple of fixes were needed to the code, and I will update it this morning.

Before you start working with the Shell , please download it again.

I just used it myself to create a new program called Text Cutter. My expected coding time was reduced by half.

I will post it tomorrow.

Re: Program Shell- Graphics

Posted: Fri Feb 22, 2019 5:08 pm
by rbytes
I have posted the updated code.

Re: Program Template

Posted: Mon Apr 01, 2019 5:53 pm
by Chooch912
I am new to this- how do I get calcBG.jpg to the folder? When I click on the picture name nothing happens.

Re: Program Template

Posted: Mon Apr 01, 2019 6:29 pm
by rbytes
Press and hold on the image, and click Save Image from the popup menu. Once the image is in your Photos, run this one-line program to get it into your folder:

Code: Select all

ALBUM IMPORT "CalcBG.jpg"
Be sure you get the caps in the right places, because program names are case-sensitive.

Re: Program Template

Posted: Mon Apr 01, 2019 7:45 pm
by Chooch912
Thank you very much!

I have it now!

Re: Program Template

Posted: Mon Apr 01, 2019 7:59 pm
by rbytes
OK. Let me know how it goes.

Re: Program Template

Posted: Mon Apr 01, 2019 8:10 pm
by Chooch912
It worked perfectly! Because you gave me the code to get the image I was able to try another picture from my album. After changing the jpg name in your original code to match my photo name I ran the program to 100% satisfaction. I am amazed at what this SmartBasic can accomplish. Now I am going through your code line by line so I can understand all the various commands.

Thank you again for your help and patience!

Re: Program Template

Posted: Mon Apr 01, 2019 8:12 pm
by rbytes
8-)