Program Template

Post Reply
User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Program Template

Post by rbytes »

;)
Attachments
81480D81-336B-4814-B2DE-DCC612C245DD.png
81480D81-336B-4814-B2DE-DCC612C245DD.png (3.84 MiB) Viewed 7278 times
Last edited by rbytes on Sat Jun 15, 2019 4:57 am, edited 9 times in total.
The only thing that gets me down is gravity...

PaulKnight
Posts: 19
Joined: Mon Jan 21, 2019 9:27 pm
My devices: iPhone SE
Flag: Great Britain

Re: Program Shell- Graphics

Post 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 :-)

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: Program Shell- Graphics

Post 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.
The only thing that gets me down is gravity...

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: Program Shell- Graphics

Post by rbytes »

I have posted the updated code.
The only thing that gets me down is gravity...

Chooch912
Posts: 35
Joined: Thu Apr 12, 2018 6:16 pm
My devices: iPad
Flag: United States of America

Re: Program Template

Post 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.

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: Program Template

Post 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.
The only thing that gets me down is gravity...

Chooch912
Posts: 35
Joined: Thu Apr 12, 2018 6:16 pm
My devices: iPad
Flag: United States of America

Re: Program Template

Post by Chooch912 »

Thank you very much!

I have it now!

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: Program Template

Post by rbytes »

OK. Let me know how it goes.
The only thing that gets me down is gravity...

Chooch912
Posts: 35
Joined: Thu Apr 12, 2018 6:16 pm
My devices: iPad
Flag: United States of America

Re: Program Template

Post 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!

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: Program Template

Post by rbytes »

8-)
The only thing that gets me down is gravity...

Post Reply