Search found 156 matches

by T3RRY
14 Jun 2021 05:18
Forum: DOS Batch Forum
Topic: Button functions via VT100, and Mouse.exe
Replies: 3
Views: 19016

Re: Button functions via VT100, and Mouse.exe

Again, very nice lowsum. the multithreading gives it alot of potential for use as a means of input during gameplay. I'll have to find time to play around with it to see how accurate the coordinate reads are.
by T3RRY
13 Jun 2021 07:55
Forum: DOS Batch Forum
Topic: Need help
Replies: 14
Views: 398

Re: Need help

I've not encountered a 3rd party exe that can satisfactorily report mouse click positions correctly for any given line and column position of the console. After a bit of digging around and testing I've found a suitable mouse input tool - Mouse.exe by IcarusLiaves at topic: https://www.dostips.com/f...
by T3RRY
13 Jun 2021 07:55
Forum: DOS Batch Forum
Topic: Button functions via VT100, and Mouse.exe
Replies: 3
Views: 19016

Re: Button functions via VT100, and Mouse.exe

A very nice tool you've made there Icarus. I can see it being easy enough to create a callable function for output of and selection from a dynamic menu. I've played around a bit with the functions currently scripted and added parameters for button color and button text color. Took a crack at trying ...
by T3RRY
11 Jun 2021 09:55
Forum: DOS Batch Forum
Topic: Set default prompt
Replies: 1
Views: 63

Re: Set default prompt

Hello! PROMPT $E[48^;5^;104^;38^;5^;15m$D$G$E[0m$S How can I make cmd.exe to run this code at startup to set the color prompt automatically every time I launch cmd.exe? Windows 10 Thanks! Assuming you have either A) Cmd.exe pinned to the task bar or B) you use a shortcut to open cmd, you can edit t...
by T3RRY
10 Jun 2021 21:52
Forum: DOS Batch Forum
Topic: Get cursor position
Replies: 5
Views: 131

Re: Get cursor position

For pure batch, without powershell, It is much more efficient to use variable tracking of cursor movements than it is to capture and compare the current cursor position - even if you need to perform string length calculations in conjuction with set /a modification to y;x axis variables, you'll still...
by T3RRY
10 Jun 2021 11:49
Forum: DOS Batch Forum
Topic: FINDSTR \s regexp meaning
Replies: 4
Views: 95

Re: FINDSTR \s regexp meaning

Well, due to localization, the results won't be of any particular use here. ECHO /? | FINDSTR /R "\s" returns a single string: ECHO [message] What results do you get if you run ECHO /? | FINDSTR /R "\s"? FOR /? | FINDSTR /R "\s" returns some random strings from FOR's help. DIR /? | FINDSTR /R "\s" ...
by T3RRY
05 Jun 2021 05:45
Forum: DOS Batch Forum
Topic: Need help
Replies: 14
Views: 398

Re: Need help

Also what about the clickable menu? I have cmdmenusel, but i am searching for clickable text, which acts like a hyperlink, but shouldn't take as much space as cmdmenusel, as cmdmenusel covers the whole line. If u know then pls tell I've not encountered a 3rd party exe that can satisfactorily report...
by T3RRY
04 Jun 2021 06:07
Forum: DOS Batch Forum
Topic: Need help
Replies: 14
Views: 398

Re: Need help

Thanks terry, one more question, in my game I am making a coin feature, and i want a coin image beside its left. Is there any bitmap ( pixel like ) figure or view i can add to it and how? I know i can add bmps in a . bat with a tool ( forgot its name ), but is there any possible way, with a tool or...
by T3RRY
03 Jun 2021 23:44
Forum: DOS Batch Forum
Topic: Need help
Replies: 14
Views: 398

Re: Re:Animated Loading Screen help

https://www.facebook.com/groups/textpuzzlelab/permalink/1406023929744615/ I want to do this in batch. Uh, I understand that the glowy effect is not possible. But can anyone please design one with the colours, any colors would work. :) Please it should only take 10 seconds or less. Thanks in advance...
by T3RRY
02 Jun 2021 08:36
Forum: DOS Batch Forum
Topic: progress bar while doing command
Replies: 8
Views: 292

Re: progress bar while doing command

What does the + 200 do in %Start.Thread.2% + 200 Sorry if im asking to many questions , im just not very good at this :( the '+' is the character output r the loading bar, the '200' is redundant from an alternate version that took a numeric parameter to base a delay on. as this version clears the l...
by T3RRY
02 Jun 2021 03:40
Forum: DOS Batch Forum
Topic: progress bar while doing command
Replies: 8
Views: 292

Re: progress bar while doing command

Thanks for the script! Ill try it when i get a chance. Where should i put my command for the bar? animation is actioned in :thread2 Note the remark regarding the use of <nul set /p "=." to output an additional period each time the loop iterates. It is the simplest animation to action. replace with ...
by T3RRY
01 Jun 2021 10:29
Forum: DOS Batch Forum
Topic: progress bar while doing command
Replies: 8
Views: 292

Re: progress bar while doing command

It would be much simpler to display an in progress animation through the use of a 2nd thread that is started before a given command and stopped after said command. @T3RRY - thanks for the fast reply. can you please give me an example of how to do that? A barebones example, that should give you a go...
by T3RRY
31 May 2021 21:42
Forum: DOS Batch Forum
Topic: progress bar while doing command
Replies: 8
Views: 292

Re: progress bar while doing command

Hi, ive seen this, https://www.dostips.com/forum/viewtopic.php?p=17719#p17719 but is there a way to make a progress bar with any command? I dont know where to put the code. Maybe someone can make something like: call :progbar "command" But i would appreciate anything that works. Thank you! I don't ...
by T3RRY
31 May 2021 21:34
Forum: DOS Batch Forum
Topic: Animated screen in Batch
Replies: 4
Views: 195

Re: Animated screen in Batch

Sorry for my misunderstanding i understand the first part of your words "need to use a form of input that is non-blocking. " but I'm still beginner and i don't know what is Dave Benhams snake.bat forum Or what is this "Aacini's Getkey.exe" how this help me , so can you help me A somple search of th...
by T3RRY
31 May 2021 19:46
Forum: DOS Batch Forum
Topic: Color Change and Return to Default
Replies: 3
Views: 168

Re: Color Change and Return to Default

Hi, the only way to do that without external tools would be with VT100 which only came in, in Windows 10 This statement is false. Findstr supports the output of colored strings, and unlike VT sequences is not limited to windows 10 v1909 or higher. For a verbose function that simplifies repetative u...