Search found 158 matches

by T3RRY
21 Jun 2021 08:51
Forum: DOS Batch Forum
Topic: Clear clipboard with .bat file
Replies: 5
Views: 71

Re: Clear clipboard with .bat file

AR Coding wrote:
21 Jun 2021 06:56

I just did a simple search on Google and moSt websites that i clicked on said what i said

This was my search: How to empty clipboard cmd
Simple searches unfortunately do not uncover the details that testing does.
by T3RRY
21 Jun 2021 01:40
Forum: DOS Batch Forum
Topic: Clear clipboard with .bat file
Replies: 5
Views: 71

Re: Clear clipboard with .bat file

echo off | clip This merely writes an empty clip to the clip board. If clipboard History is enabled, previous clips will be viewable using WinKey + V There are methods for resolving this in batch, however they require administrator access. See: https://superuser.com/a/1567434/1125492 To disable cli...
by T3RRY
14 Jun 2021 05:18
Forum: DOS Batch Forum
Topic: Button functions via VT100, and Mouse.exe
Replies: 3
Views: 19152

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: 23
Views: 699

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: 19152

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. Edit: As expected, its ...
by T3RRY
11 Jun 2021 09:55
Forum: DOS Batch Forum
Topic: Set default prompt
Replies: 1
Views: 125

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: 222

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: 170

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: 23
Views: 699

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: 23
Views: 699

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: 23
Views: 699

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: 368

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: 368

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: 368

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: 368

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 ...