Sounds awesome. And thanks for the kind tribute. Using images as buttons sounds great. I'll download and test this out over the weekend.
- Dav
Browser with download facilities
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Browser with download facilities
• The button-handling has been redesigned. It was done as a quick fit after changing from buttins to sprites. Now the handling is much simpler.
Sprites are loaded in function 'Buts' which contains also the characteristic parameters such as Buts.Count and Buts.Id$().
The buttons are positioned in the function 'PositionButs()' and activity is scanned with 'ButsTouched()'. The function 'Hit(id$)' can be used to check wether a button is touched.
• The red button-Emoji is not available in the standard characterset. Therefore the button to stop the info-panel is now added in red to the info-panel.
• The 'HiLite' of the buttons after touching has been extended to three modes: oversize, overlay and oversize+overlay.
• The 'clear'-button next to the url-field has been removed. Url-field can now be entered for editing by touching it.
• The complete Browser-folder is now available as an archive-file and an Install-program has been made.
• The Browser and its resources are no longer part of the folder 'File transfer'. It is now in a single folder "Browser" without other tools. The tools will be updated and also archived.
Note: The archive-file is NOT a zip-file. It contains files compressed with the deflate-algorithm, but the total file structure is rather simple and not according the zip-standard.
The program 'MakeInstall.sb' with which these files have been created will be published shortly. It makes publishing on the forum much easier and simpler to download via the browser.
Survey of changes:
• Button-handling redesigned for button-sprites
• Three different modes for 'HiLite'
• Browser-info updated with picture of buttons
• Browser-files separated from 'File transfer'
• Boxed buttons have now larger icon
• Size of buttons reduced
• Clear-button removed, touch url-field to change url
• "continue" button added to stop info-panel
• Complete folder archived and install-program made
Sprites are loaded in function 'Buts' which contains also the characteristic parameters such as Buts.Count and Buts.Id$().
The buttons are positioned in the function 'PositionButs()' and activity is scanned with 'ButsTouched()'. The function 'Hit(id$)' can be used to check wether a button is touched.
• The red button-Emoji is not available in the standard characterset. Therefore the button to stop the info-panel is now added in red to the info-panel.
• The 'HiLite' of the buttons after touching has been extended to three modes: oversize, overlay and oversize+overlay.
• The 'clear'-button next to the url-field has been removed. Url-field can now be entered for editing by touching it.
• The complete Browser-folder is now available as an archive-file and an Install-program has been made.
• The Browser and its resources are no longer part of the folder 'File transfer'. It is now in a single folder "Browser" without other tools. The tools will be updated and also archived.
Note: The archive-file is NOT a zip-file. It contains files compressed with the deflate-algorithm, but the total file structure is rather simple and not according the zip-standard.
The program 'MakeInstall.sb' with which these files have been created will be published shortly. It makes publishing on the forum much easier and simpler to download via the browser.
Survey of changes:
• Button-handling redesigned for button-sprites
• Three different modes for 'HiLite'
• Browser-info updated with picture of buttons
• Browser-files separated from 'File transfer'
• Boxed buttons have now larger icon
• Size of buttons reduced
• Clear-button removed, touch url-field to change url
• "continue" button added to stop info-panel
• Complete folder archived and install-program made
- 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:
- Contact:
Re: Browser with download facilities
Now that many improvements have been made to the browser, I want to download everything again, but it is now getting a bit confusing as to where everything is to be found. Can you confirm that the Dropbox links now contain the most recent versions?
My humble suggestion is that with a new version, it is better to make a new post, rather than continue to add pages of comments and revisions to the initial post.
My humble suggestion is that with a new version, it is better to make a new post, rather than continue to add pages of comments and revisions to the initial post.
The only thing that gets me down is gravity...
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Browser with download facilities
The Dropbox-link and the archive-file contain the same version. The Dropbox-folder has been changed to "Browser".
- 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:
- Contact:
Re: Browser with download facilities
Ton, I have done a new install of the Browser and it is working well. I have been able to download entire pages, code sections, and image links.
But on re-reading this thread, it seems there are some other necessary files:
I don’t have either of these files and can’t seem to find them. Are they still needed?
Thanks
But on re-reading this thread, it seems there are some other necessary files:
There was also an earlier reference to “Download files.sb”The images can then be downloaded with the utility "Download pics.sb".
I don’t have either of these files and can’t seem to find them. Are they still needed?
Thanks
The only thing that gets me down is gravity...
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Browser with download facilities
Thank you for your feedback.
I have removed the browser from the Dropbox-folder "File transfer" into its own folder "Browser".
The folder "File transfer" still exists, but the programs have to be adapted to the new location of the browser. I hope that only the content of the File-variables in the user-sections have to be adapted, but it is not done yet. The folder can be accessed via the following link, which is the 'old' link in this thread: https://www.dropbox.com/sh/baavn06jne57 ... S4FDa?dl=0
Sorry for the inconvenience
I have removed the browser from the Dropbox-folder "File transfer" into its own folder "Browser".
The folder "File transfer" still exists, but the programs have to be adapted to the new location of the browser. I hope that only the content of the File-variables in the user-sections have to be adapted, but it is not done yet. The folder can be accessed via the following link, which is the 'old' link in this thread: https://www.dropbox.com/sh/baavn06jne57 ... S4FDa?dl=0
Sorry for the inconvenience
- 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:
- Contact:
Re: Browser with download facilities
Thanks. You have done an amazing job on this set of tools!
The only thing that gets me down is gravity...
- 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:
- Contact:
Re: Browser with download facilities
My Smart Basic editor seems to have gone nuts this morning. I had noticed that in the iOS 11 update, the keyboard no longer has the correct apostrophe. It is a curly on, rather than the straight one that we use to indicate comments in our code.
Today I tried to make some changes to the paths in Download.sb. Capsyntax then began to mangle the code. Regular apostrophes were substituted with the curly ones. Therefore comments ceased to be comments. Key words were then unnecessarily capitalized within all comments. Pathname words such as default were changed to DEFAULT, and the path or file then could not be found. It is a fine mess. I will post this bug, but I’m not sure if/when we can expect Mr. K. to fix it.
I will have to reinstall Browser and start over.
Today I tried to make some changes to the paths in Download.sb. Capsyntax then began to mangle the code. Regular apostrophes were substituted with the curly ones. Therefore comments ceased to be comments. Key words were then unnecessarily capitalized within all comments. Pathname words such as default were changed to DEFAULT, and the path or file then could not be found. It is a fine mess. I will post this bug, but I’m not sure if/when we can expect Mr. K. to fix it.
I will have to reinstall Browser and start over.
The only thing that gets me down is gravity...
- 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:
- Contact:
Re: Browser with download facilities
I shut off Capsyntax and reinstalled Browser. Then I updated the paths in Download Images.sb. It runs and is able to find an image, but then it tries to use the entire URL for the image as the filename to save in the Images folder. The program terminates with an error. I have attached a screenshot showing the error message.
I don’t want to try tweaking the code further until I know why this is happening. I can confirm that the URL for the image is correct.
I don’t want to try tweaking the code further until I know why this is happening. I can confirm that the URL for the image is correct.
- Attachments
-
- F2920C55-2AC5-4909-8C4B-35AF7FB5F1C8.png (3.36 MiB) Viewed 3542 times
The only thing that gets me down is gravity...