Search found 470 matches

by misol101
22 Feb 2021 06:38
Forum: DOS Batch Forum
Topic: [How-To] Parse DateTime strings (PowerShell hybrid)
Replies: 14
Views: 4066

Re: [How-To] Parse DateTime strings (PowerShell hybrid)

Nice, can you add week number as well? :wink: Don't know about other countries but in Sweden we are obsessed with referring to the current week number (in the workplace etc)
by misol101
30 Dec 2020 17:45
Forum: DOS Batch Forum
Topic: CmdBkg - use bitmap as background to console window
Replies: 76
Views: 41915

Re: CmdBkg - use bitmap as background to console window

I actually ran this on my terribly worn down Win7 machine with the noisiest fan known to mankind, but didn't notice any problems.

Therefore, I have now updated the archive to 2.1
by misol101
30 Dec 2020 05:04
Forum: DOS Batch Forum
Topic: CmdBkg - use bitmap as background to console window
Replies: 76
Views: 41915

Re: CmdBkg - use bitmap as background to console window

Steffen,
I trust you have done an excellent job as always 8)

I will give it a few days before I update the archive though, just in case we should see any regression.
by misol101
30 Nov 2020 16:13
Forum: DOS Batch Forum
Topic: CmdBkg - use bitmap as background to console window
Replies: 76
Views: 41915

Re: CmdBkg - use bitmap as background to console window

Archive finally updated (to 2.0). Again, good work :)

I prefer to keep the original behavior of scaling the image. The /s option was removed, instead /c [bg] is now the center option, with optional background color.
by misol101
22 Nov 2020 10:43
Forum: DOS Batch Forum
Topic: CmdBkg - use bitmap as background to console window
Replies: 76
Views: 41915

Re: CmdBkg - use bitmap as background to console window

:lol:

You're on a roll! Well done.

I have very limited time now, will try to make a release next week.

Interesting that using hooks is more cpu-consuming than polling, but the way you describe it makes sense.
by misol101
11 Nov 2020 15:30
Forum: DOS Batch Forum
Topic: CmdBkg - use bitmap as background to console window
Replies: 76
Views: 41915

Re: CmdBkg - use bitmap as background to console window

Found it :D We have to call PostQuitMessage for WM_DESTROY. My original assumption that WMI could be the culprit made me think about alternatives. And indeed I found a much easier way. Instead of passing the console HWND as additional argument it gets now assigned to the user data of the background...
by misol101
09 Nov 2020 12:03
Forum: DOS Batch Forum
Topic: CmdBkg - use bitmap as background to console window
Replies: 76
Views: 41915

Re: CmdBkg - use bitmap as background to console window

As far as I could tell the new version works as expected. The archive linked in the first post has now been updated to v1.2. I did not make any changes to Steffens new version except updated the resource file, updated the credits in code/help (as this is now very much a joint effort), and recompiled...
by misol101
04 Nov 2020 12:46
Forum: DOS Batch Forum
Topic: CmdBkg - use bitmap as background to console window
Replies: 76
Views: 41915

Re: CmdBkg - use bitmap as background to console window

aGerman wrote:
03 Nov 2020 13:07
Found a bug. New file above...
I don't have much time to look at this at the moment but I like the idea of geting rid of the title polling and seems that it should work well.

I Will make a new release eventually
by misol101
01 Nov 2020 18:38
Forum: DOS Batch Forum
Topic: CmdBkg - use bitmap as background to console window
Replies: 76
Views: 41915

Re: CmdBkg - use bitmap as background to console window

- a variable with 64000 bytes of stack memory is critical - string "_secondRun_" should be inserted into the original command line because surrounding quotes are already removed if it gets rearranged out of the arguments - a combination of whitespaces is used rather than the word "Kill" and the upd...
by misol101
23 Oct 2020 04:01
Forum: DOS Batch Forum
Topic: Cmdwiz - 54 operation cmd helper tool (now with Unicode)
Replies: 51
Views: 48339

Re: Cmdwiz - 54 operation cmd helper tool (now with Unicode)

Hello, i have a bug that all text and backgrounds of fonts are bright, i saw a program that uses this and its not bright like mine any help ? Umm... use the "color" command to set the foreground and background color of the terminal. This has nothing to do with Cmdwiz. For example (for a default pal...
by misol101
20 Oct 2020 07:50
Forum: DOS Batch Forum
Topic: Blockout (3d Tetris) !
Replies: 16
Views: 9701

Re: Blockout (3d Tetris) !

I have a browser version in JavaScript. https://gamereality.se/blockout/index.php It now also work with swipe on phone. Is it ok? Umm... yes, seems ok to me, except the pieces don't move downwards it seems(?) until you press Space. You seem to know a lot more about Blockout than me, having some kin...
by misol101
27 Sep 2020 10:01
Forum: DOS Batch Forum
Topic: Cmdwiz - 54 operation cmd helper tool (now with Unicode)
Replies: 51
Views: 48339

Re: Cmdwiz - 54 operation cmd helper tool (now with Unicode)

I'm running this script (which also checks for left/right/middle mouse key presses) and don't see an issue here: @echo off for /l %%a in (1,1,500) do call :Get_XY goto :eof :Get_XY cmdwiz getmousecursorpos x set /a x=%errorlevel% cmdwiz getmousecursorpos y set /a y=%errorlevel% cmdwiz getkeystate 1 ...
by misol101
27 Sep 2020 02:57
Forum: DOS Batch Forum
Topic: Cmdwiz - 54 operation cmd helper tool (now with Unicode)
Replies: 51
Views: 48339

Re: Cmdwiz - 54 operation cmd helper tool (now with Unicode)

Any idea why calling this would result in my batch program locking up before the exit /b, sometimes at the first call and sometimes at the second? :Get_XY call cmdwiz getmousecursorpos x set x=%errorlevel% call cmdwiz getmousecursorpos y set y=%errorlevel% exit /b Well, after I wrote that I tried c...
by misol101
25 Sep 2020 16:20
Forum: DOS Batch Forum
Topic: Batch Games
Replies: 31
Views: 44335

Re: Batch Games

Lowsun wrote:
25 Sep 2020 15:17
I have also made lots of pure Batch games like platformers, rogue-likes, and other stuff. They're are all here

https://lowsun.itch.io/
These are nice. Maybe not so much for the gameplay, but because you create an atmosphere with the story+music.