Quantcast
Channel: Take Command / TCC
↧

Image may be NSFW.
Clik here to view.

Add drive buttons to XDIR.

With XDIR, one can navigate pretty much anywhere within the current drive, but it's not possible to move to another one without exiting and reinvoking XDIR with a different starting path.

View Article


Access is denied: "AttachConsole"

I am running Take Command v35. The program will no longer run. Launching Take Command brings up the app window. After about 15 seconds, a popup is displayed with the message: Access is denied....

View Article


Make ACTIVATE CENTER and WINDOW CENTER respect the taskbar

... use the MONITORINFO's rcWork instead of rcMonitor.

View Article

REMOVE a string from a string

If string2 = 111222333 remove 222 to return 111333 Code: $string2 = "111222333" $result = $string2.Replace("222", "") Write-Output $result Proof; Code: 111333 If string2 = 111222333 remove 222 to...

View Article

@REMOVE[offset,string1,string2]

The @INSERT[offset,string1,string2] inserts string1 into string2 starting at offset. If I want to remove string1 at a specific offset from string2, I have to use multiple functions. This should be...

View Article


Fonts not embedded in manual v35

When printing certain pages from manual v35, an error message appears. This error message can be traced back to two fonts not embedded in the manual: Symbol and Wingdings. See the output of PDFFONTS.

View Article

XDIR select and exit; colors

I spent a few minutes trying XDIR. I have some questions. To use for directory navigation, I would expect there to be a simple way to select the new TCC directory and exit. It seems I need to do...

View Article

Image may be NSFW.
Clik here to view.

Animating your work

Code: repeat 16 (screen 28 1 %@subst[%_repeat, ,The quick brown fox jumped over the lazy dog] & delay /M 100) Code: repeat 3 (screen 28 1 %@subst[%_repeat, ,111222333] & delay /M 100) Joe

View Article


@REMOVE function - Remove a string from a string starting at offset x

Hey @dumbenis, Here's a plugin with a @REMOVE function that I developed using PureBasic. Ref: @REMOVE[offset,string1,string2] Example Usage: Code: @setlocal @echo off if not plugin TCCUtils plugin /l...

View Article


How to check 2 things and do something if both are true (or false)

I would like to have something that that can be executed on a single line like this: if x=0 and y=1 then do something Is this possible? I haven't been able to figure it out.

View Article

How to update take command.

Hi. Presently using Take Command TCC 19.10.54 x64 on Windows 10 (yeah, I know waaay out of date). So I'm getting ready to update to the latest version (35, I think). Would just like to know what the...

View Article

TCC and high-DPI scaling

Hello, new TCC user here. I am using an oldish Windows application on Windows 11, with a high-DPI screen. If I start this application either by clicking on its icon in the Windows GUI or through CMD,...

View Article

Does RecycleBin=Yes work?

I have this. Code: v:\> option RecycleBin RecycleBin=Yes And I see no evidence that it's working.

View Article


Map F7 to use XDIR

Pressing F7 at the command line displays the FileNames Completion Window. Entering *.vbs at the command line, then pressing F7, displays the FileNames Completion Window for *.vbs files. My suggestion...

View Article

Python scripting in TCC 26

Does version 26 support scripting with python 3.12? I have the folder in my path, by the console crashes every time I enter the name of a python script, testWhile.py at the command line. PS: I have...

View Article


Add IN and MATCH and LIKE as Conditional Expressions for IF

Using "The quick brown fox jumped over the lazy dog" as an example, here is how PowerShell uses these conditional expressions. MethodSyntaxDescriptionRegex match Code: if ($text -match 'fox') {...

View Article

Blank line in multi-line alias in file changes internal variables

In the example below, notice how the blank line inside the multi-line alias of test_bad.dat changes the value of the internal _cmdspec variable. Code: [C:\temp]ver TCC 35.00.21 x64 Windows 11 [Version...

View Article


Image may be NSFW.
Clik here to view.

Update the website link to Take Command / TCC Help (PDF)

The weblink https://jpsoft.com/downloads/v33/TakeCommand.pdf should be replaced by the latest v35 version: https://jpsoft.com/downloads/v35/TakeCommand.pdf

View Article

Double expansion problem

I have an archive full of files whose filenames start with ‘yymmdd‘, ‘yyyy-mm-dd’, ‘dd-mm-yyyy’, ‘ddmmyyyy’ and many permutations of these. For this purpose, I have successfully written a TCC-script...

View Article

Problems displaying UTF8 characters in tcc 32

I have a small program written in Go, that needs to display matrices. On linux in bash, the special characters display as large matrix brackets. And on Win 11, stand-alone (detached) cmd.exe, these...

View Article

Run/Do Not Run remainder of TCStart.btm when using Command Prompt from...

When I am in TCEdit, I can start a new Command Prompt by pressing the F7 key, which corresponds to the Tools -> Command Prompt menu in TCEdit. Sometimes, I may not want to run all of my TCStart.btm...

View Article


PLUGIN /F /V and EXPR

Code: ?=expr In Visual FoxPro, the ? evaluates expressions and sends the results to the main Visual FoxPro window. This alias emulation will override the internal ? command, and emulate a calculator,...

View Article


How do I prevent accidentally detaching all tabs into separate windows

Hi, I'm using TC34.01. Every so often, I think I must be hitting some key sequence that makes all of my tabs suddenly jump to being separate windows (which I don't seem to be able to re-consolidate as...

View Article

KEYSTACK and numeric keypad

Is it possible to send a numeric-keypad keystroke to a window using KEYSTACK?

View Article

Python example for EXTPROC

I'm not sure how many people are using DATALOAD.EXE these days, but regardless I would like to request another example be added to the help file for EXTPROC. Maybe something along the lines of......

View Article


@REREPLACE, TPIPE's /replace - put back-reference into a @FUNCTION?

Apparently you just can't do it; the function takes the back-reference (\1 or $1) as a literal string ... maybe one for "Suggestions". I have a file with lines like these. Code: 0x01 Left mouse button...

View Article

Draft System Needs Work

I spent probably close to an hour authoring an issue that came up in CMDebug and saved it as a draft beause I was tired. I wanted to work on finishing it the next day but turns out there's no way to...

View Article

Command grouping causes variable functions and internal variables enclosed in...

Windows 7, Take Command 25 / TCC/LE 14 Command grouping causes variable functions and internal variables enclosed in double quotes to become invalid after redirection. In the Take Command command line,...

View Article

No closing quote

This code works, and provides the desired results. Code: @setlocal @echo off if exist sorted.csv del /q sorted.csv :: Create PowerShell script type <<- endtext > r:\ValuationSort.ps1...

View Article



Unable to register installation

I cannot register my v27 of Take Command. It says it already has too many registrations. There is only one -- mine, and a single laptop. I have had system issues and have had to uninstall / reinstall,...

View Article