Search found 948 matches: parameter*

Searched query: parameter*

by bbadmin
Thu Sep 05, 2024 8:13 pm
Forum: HOW-TOs
Topic: Silent Installs
Replies: 9
Views: 8124

Re: Silent Installs

Is TextPad already installed? If so, uninstall it before running msiexec.exe. You can create a log of msiexec's actions as follows: msiexec /quiet /i "TextPad 8.19.msi" /lewiv "log.txt" I couldn't get it to work with the TARGETDIR parameter in PowerShell, but it did work with Command Prompt. This ...
by bbadmin
Thu Sep 05, 2024 2:28 pm
Forum: HOW-TOs
Topic: Silent Installs
Replies: 9
Views: 8124

Re: Silent Installs

If you run it without the "/quiet" parameter, it should explain why it's not working.
by bbadmin
Sat Aug 03, 2024 8:40 am
Forum: Enhancement Suggestions
Topic: Command line switch to execute a macro on startup
Replies: 6
Views: 2978

Re: Command line switch to execute a macro on startup

In the absence of an option to specify a macro on the command line, a way to achieve the same ends with the minimum number of keystrokes is: Create the macro and append the "FileSave" command to it. Assign a shortcut to the macro using Configure » Preferences » Keyboard » Macros. Then, each time you ...
by Anonymous Coward
Fri Aug 02, 2024 9:59 pm
Forum: Enhancement Suggestions
Topic: Command line switch to execute a macro on startup
Replies: 6
Views: 2978

Re: Command line switch to execute a macro on startup

Thank you for suggesting wildcards in search queries on the forum, and for including "parameter*" as a search term in this case. I can't believe I didn't try that. Duh! As I am sure is true for many longtime TextPad users, I use/abuse the program in ways that were probably never considered when it ...
by AmigoJack
Fri Aug 02, 2024 11:26 am
Forum: Enhancement Suggestions
Topic: Command line switch to execute a macro on startup
Replies: 6
Views: 2978

Re: Command line switch to execute a macro on startup

I can't see any sense in starting TextPad with a file and auto-executing a macro on without saving the file and closing TextPad again - for me it would imply to also need to more parameters to save all open files, and close TextPad entirely. However, this results in not needing the GUI at all, so ...
by AmigoJack
Fri Aug 02, 2024 7:16 am
Forum: Enhancement Suggestions
Topic: Command line switch to execute a macro on startup
Replies: 6
Views: 2978

Re: Command line switch to execute a macro on startup

In the future (or on other boards) you may want to make more than one attempt, since commandline and parameter* do find posts (the asterisk finds not only "parameter" but also words starting with that, like "parameter s " - likewise searching for command* does find posts, too, but you can use the ...
by bbadmin
Fri Jul 12, 2024 4:33 pm
Forum: Enhancement Suggestions
Topic: TWS file format
Replies: 4
Views: 2047

Re: TWS file format

Not directly applicable, but in case you're not aware, the Edit/Copy Other/All File Names command will place the fully qualified names of all the files currently open on the clipboard. Also, if you paste and save them in a file, say wspfiles.txt, then use the Quick Open command (Ctrl+Shift+O) to ...
by cfisherubg
Wed Jul 10, 2024 1:39 pm
Forum: HOW-TOs
Topic: How to silently install TextPad with a multi-user license
Replies: 2
Views: 15945

Re: How to silently install TextPad with a multi-user license

I am following these instructions and everything appeared to go as planned except the actual install with the .msi. If I use the command line msiexec.exe /quiet /i "TextPad 9.5.msi" TRANSFORMS=LicenseKey.mst it fails to install. If I take off the /quiet parameter and interactively install it goes ...
by bbadmin
Thu Jun 27, 2024 5:15 pm
Forum: General
Topic: Issues with SVG files, and opening from File Explorer
Replies: 26
Views: 4258

Re: Issues with SVG files, and opening from File Explorer

@MrSpock: to allow for spaces in file pathnames, put the %1 in the registry in quotes. Assuming that was not an issue, if TextPad is started with the name of a file in its parameters, it will either open it, or ask if you want to create it. Try it for yourself by running these commands in a command ...
by bbadmin
Sun Jun 23, 2024 8:15 am
Forum: General
Topic: Issues with SVG files, and opening from File Explorer
Replies: 26
Views: 4258

Re: Issues with SVG files, and opening from File Explorer

That is how TextPad handles multiple instances, and you can get File Explorer to start a new instance of TextPad for each file by deleting the ddeexec stuff in the registry and changing the open command to pass in the filename using "%1" as a parameter, like Notepad does.
by bbadmin
Sat Jun 22, 2024 9:44 am
Forum: General
Topic: Issues with SVG files, and opening from File Explorer
Replies: 26
Views: 4258

Re: Issues with SVG files, and opening from File Explorer

These are the relevant entries that TextPad's installer writes to the registry to enable File Explorer to request that it opens a file which has been double clicked: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\TextPad.exe C:\Program Files\TextPad\TextPad.exe HKEY_LOCAL ...
by bbadmin
Sat Jun 08, 2024 3:40 pm
Forum: HOW-TOs
Topic: How to Use Text Filters
Replies: 3
Views: 1757

Re: How to Use Text Filters

Awk is a powerful scripting language which has been around since the early days of Unix. It can do a surprising amount in a single line, as this example to delete consecutive duplicate lines in a document shows. The script in the Parameters field is "!a[$0]++". Screenshot 2024-06-08 163556.png Awk ...
by bbadmin
Tue May 28, 2024 2:46 pm
Forum: HOW-TOs
Topic: How to Use Text Filters
Replies: 3
Views: 1757

How to Use Text Filters

Text filters can be written in scripting languages such as Python, PHP and awk. Selected text can be filtered through them to perform edits which TextPad cannot do natively. Any script or program which reads from stdin and writes to stdout can be employed. Anything written to stderr will appear in ...
by AmigoJack
Fri Mar 29, 2024 10:51 pm
Forum: General
Topic: Own syntax file definition: keywords won't work
Replies: 1
Views: 2155

Re: Own syntax file definition: keywords won't work

Let me copy text which is actually readible, copyable and can be zoomed into (in contrast to your screenshot that is too far zoomed out) - I marked two items red that might be interesting: Syntax Definition Files Syntax definition files contain the information TextPad uses to highlight keywords in ...
by rcourtois
Tue Feb 06, 2024 2:35 pm
Forum: General
Topic: v9 Usually doesn't reload modified file after running external tool
Replies: 2
Views: 2932

Re: v9 Usually doesn't reload modified file after running external tool

I confirmed that the create time of the file doesn't change when the formatter runs, only the modification time changes. In doing some more testing, I did find that if I save the file first, wait a few seconds, then run the formatter, it will reload every time. The formatter does open its own window ...