![]() |
Forum Index : Microcontroller and PC projects : MMBASIC for DOS question....
Author | Message | ||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Hi everyone. ![]() As I continue to play around with my VLC idea, the MMB4D method seems to be a very real possibility, based on example code posted in my other thread by member mozzie. However, is there any way to change the SIZE of the text inside the MMBASIC window? It's tiny and hard to read - for me, anyway..... ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Ignore. Found out how. ![]() Right-click window title/properties/font.... Select size or font options, then click OK. Smoke makes things work. When the smoke gets out, it stops! |
||||
mozzie Senior Member ![]() Joined: 15/06/2020 Location: AustraliaPosts: 142 |
G'day Grogster, MMB4Dos is surprisingly powerful, between it and AutoHotKey all sorts of madness can be created ![]() A word of warning, unless someone knows a way around this, I have never figured out how to send a file name or path containing a space with the SYSTEM command, tried all sorts of things (chr$ / enclosing in single or extra brackets / separate strings) all with no luck. ![]() Mention this just in case your video names contain spaces. Whoever made it "Program Files" instead of ProgramFiles or Program_Files needs space between his head and neck ![]() File names should NEVER contain spaces.... Good Luck Lyle. |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2642 |
On W10 hidden 8.3 format names still work. Eg in Explorer when you enter C:\PROGRA~1 in the address bar it goes to "Program Files". (between PROGRA and 1 is a Tilde not a dash. In my browser it looks like a dash) In a CMD window enclosing in double quotes also works. CHDIR "c:\Program Files" I think MMBasic can include double quotes in a string but don't remember how. . Edited 2025-06-02 08:04 by phil99 |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
CHR$(34) VK7JH MMedit |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2642 |
Thank you! > Print "adding double quotes in a string "chr$(34)"c:\Program Files"chr$(34)" is done this way" addind double quotes in a string "c:\Program Files" is done this way > But for a string variable you need this:- > P$ = "Or "+chr$(34)+"c:\Program Files"+chr$(34)+" this way" > ? P$ Or "c:\Program Files" this way > Edited 2025-06-02 09:17 by phil99 |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
I hope to have a play about with this and mozzie's example code, tonight or in the next few days. I'll keep the thread updated. The first thing I plan to do, is basically run mozzie's example code as-is, so that I can(hopefully!) replicate that behaviour here. Once I have the example code working, I can start playing about. I plan to make use of DATE$ and TIME$ as I expand the code. I already have a couple of very useful commands for use with IrfanView picture viewer, which I plan to use to show an image full-screen when nothing is being played, then I can kill that process and start VLC. Amusingly, the command to close all IrfanView instances is i_view64 /killmesoftly ![]() I think this is a reference to Killing Me Softly With His Song. Smoke makes things work. When the smoke gets out, it stops! |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7938 |
I love Irfanview. It's a truly remarkable piece of programming. The sheer number of file types that it can either load or at least take some sort of a shot at is astounding. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Yes, I've been using it for years, and it still remains my go-to picture viewer and basic editor/cropper/resizer etc. Smoke makes things work. When the smoke gets out, it stops! |
||||
tgerbic Regular Member ![]() Joined: 25/07/2019 Location: United StatesPosts: 66 |
I have used it for years as well, both under windows and linux (WINE). Has great support and functionality. |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5091 |
I just used MMBasic for DOS to convert some files to another format. It works reliable and (on this PC) is fast. But. Coming from PicoMite the DOS version (5.05) is miles behind. I constantly try to use commands from pico, that are not available in the DOS version. It is easy enough to work around it, but I realize I am truly spoiled with pico. Anyway, MMBasic4DOS performed it's task on some huge excel files, and is highly valued. Especially since it came packed with MMEdit (that I used to develop the file convertor code). Volhout PicomiteVGA PETSCII ROBOTS |
||||
mozzie Senior Member ![]() Joined: 15/06/2020 Location: AustraliaPosts: 142 |
G'day, Thanks for the hints, I had the 8.3 figured out but after looking back at some older programs realized I was using chr$(22) instead of chr$(34), got my HEX and DEC muddled up ![]() Little wonder MMbasic refused to work ![]() I still reckon spaces in filenames are the work of the devil ![]() IrFanview can also play video files, but used Windows media player so you have no real control, might still be worth a try? Regards, Lyle. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |