Print source code from the IDE
#2
FROM:

https://qb64phoenix.com/qb64wiki/index.php/SHELL

(Example #2):

Code: (Select All)
INPUT "Enter a file name to read in Notepad: ", filename$
SHELL "CMD /C start /max notepad " + filename$  ' display in Notepad full screen in XP or NT  

'SHELL "start /min notepad /p " + filename$ ' taskbar print using QB64 CMD /C not necessary

Maybe you would like to fix it up so it always looks for a file inside QB64 folder or wherever else you save your source code.
Reply


Messages In This Thread
Print source code from the IDE - by Kernelpanic - 11-26-2022, 10:45 PM
RE: Print source code from the IDE - by mnrvovrfc - 11-26-2022, 11:51 PM
RE: Print source code from the IDE - by Dimster - 11-27-2022, 02:40 PM
RE: Print source code from the IDE - by bplus - 11-27-2022, 03:42 PM
RE: Print source code from the IDE - by mnrvovrfc - 11-27-2022, 07:05 PM
RE: Print source code from the IDE - by bplus - 11-27-2022, 06:17 PM
RE: Print source code from the IDE - by mnrvovrfc - 12-10-2022, 07:47 AM
RE: Print source code from the IDE - by Dimster - 12-10-2022, 07:00 PM
RE: Print source code from the IDE - by SMcNeill - 12-10-2022, 08:33 PM
RE: Print source code from the IDE - by bert22306 - 12-10-2022, 09:08 PM
RE: Print source code from the IDE - by Pete - 12-11-2022, 10:27 PM
RE: Print source code from the IDE - by bplus - 12-12-2022, 03:46 AM
RE: Print source code from the IDE - by mnrvovrfc - 12-12-2022, 08:50 AM
RE: Print source code from the IDE - by SMcNeill - 12-12-2022, 09:43 AM
RE: Print source code from the IDE - by Pete - 12-12-2022, 03:44 PM



Users browsing this thread: 7 Guest(s)