Can a new Workspace be created from the command line?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Can a new Workspace be created from the command line?
I want to create new TextPad instances from a command line script. I've tried using the command: TextPad.exe "text.tws" but this creates a 0 Kb file that TextPad does not recognize as a Workspace. Can you suggest a way to create a valid Workspace from the command line?
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Open TextPad. With no files open save the current session as an empty workspace (File | Workspace | Save As...).
This produces a 45-byte file:
To create a new workspace, just copy this empty workspace into a new file.
This produces a 45-byte file:
Code: Select all
0 ff ff 06 00 07 00 54 65 78 74 50 61 64 00 00 00 ÿÿ....TextPad...
10 00 00 00 00 00 01 00 00 01 00 00 00 00 00 00 80 ...............€
20 00 00 00 00 00 00 00 00 00 00 00 00 00 .............