Search found 36 matches: commandline

Searched query: commandline

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

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 SteveW
Wed Jul 02, 2014 8:52 pm
Forum: Enhancement Suggestions
Topic: Is there an math expression evaluation addin for TP ?
Replies: 3
Views: 2419

... that click "Apply". Expand tools to the left (by clicking the +). Click on what you named the tool. Change parameters to the URL/address of the commandline calculator (e.g. C:\calc.exe). Untick "Capture Output". Tick "Run Minimized". Tick "Close DOS Window On Exit". Finally click "OK".

After that ...
by G666rl
Fri Mar 01, 2013 9:13 pm
Forum: General
Topic: can I use Textpad in a dosbox commandline?
Replies: 0
Views: 726

can I use Textpad in a dosbox commandline?

... I've tried it, and the macros don't seem to wanna do a close command, or a skip to next file command.

OR,

there should be a way to do it via commandline with a batchfile like this
textpad.exe -f UTF-8 -t ANSI "c:\LYRICS\morcheeba.txt" > "morcheeba-ansi.txt"
textpad.exe -f UTF-8 -t ANSI "c ...
by hcandersen
Tue Oct 16, 2012 6:09 am
Forum: Enhancement Suggestions
Topic: I'm feeling lucky
Replies: 2
Views: 1050

I'm feeling lucky

A commandline option to Textpad that create a "search in files" and automaticly opens up the first match.


I have a flowchart of all my functions in another program and it's possible for me to execute a program from each of my squares in the flowchart.

By having a function like this I will be able ...
by woho
Wed May 16, 2012 11:31 am
Forum: Enhancement Suggestions
Topic: new command line parameter: -n: start with new workspace
Replies: 1
Views: 1177

Workaround founc

Start Textpad with commandline parameter -u and leave file name empty
TextPad.exe -m -u
by scaevola
Wed Apr 04, 2012 1:14 am
Forum: General
Topic: Segmentation Fault while using cygwin (c++)
Replies: 1
Views: 475

... done hardcore programming

Have you hardcoded the pathing args in windows so that you can call the compiler/debugger directly from windows(cml - commandline).

That's the first place I'd start.

As an example...
In java
you have to map the javac and java as fixed pathing variables inorder to preform ...
by woho
Tue Aug 09, 2011 3:38 pm
Forum: General
Topic: Ctags and Search Results window move in Textpad
Replies: 12
Views: 2335

... unchecked) Allow multiple instances to run
=> files are opened in the same Instance of TextPad
- In my Windows Shortcut to TextPad I use commandline option -m ('Multiple') so this forces a new instance independent on the preferences

- Find Tag/Options:
[ ](unchecked) Use DD
=> no more error ...
by trids
Fri Jul 15, 2011 9:11 am
Forum: Enhancement Suggestions
Topic: SQL Support
Replies: 4
Views: 1636

:idea: You might also like to execute your SQL scripts/queries from within textpad .. if so, then see my post here :D

You would just need to modify it to run isql.exe .. or is it osql.exe(?) Can't remember the SQL Server commandline interface off-hand.
by trids
Fri Jul 15, 2011 9:02 am
Forum: Enhancement Suggestions
Topic: Run Tool on Selection Only
Replies: 7
Views: 2836

... zip) runs your text selection as a SQLite3 script/query, it can easily be modfied to execute your selection as any other language that has a commandline interface. Eg: AutoIt3, Python, etc

In fact, i do have another one which uses the same approach that runs python selections, but have not as ...
by trids
Wed Feb 10, 2010 8:33 am
Forum: General
Topic: Multi Search-n-Replace! Possible through lists???
Replies: 4
Views: 1021

Or you can use the commandline utility, sed from http://gnuwin32.sourceforge.net/packages/sed.htm as follows .. Save the following script as mysed.sed:

s/String01/String_A/g
s/String02/String_B/g
s/String03/String_C/g
s/String04/String_D/g
s/String05/String_E/g

Then run the following command at ...
by trids
Wed Dec 02, 2009 1:37 pm
Forum: General
Topic: Macro containing Find in Files
Replies: 7
Views: 2224

There is a very cool solution for this, which i use countless times each day. Check it out ..
http://forums.textpad.com/viewtopic.php?p=11264#11264

It uses grep, a free commandline utility .. download link is in that post. Best of all, no need for a macro

:wink:
by trids
Wed Dec 02, 2009 8:29 am
Forum: General
Topic: highlighting words greater than 30 characters long
Replies: 2
Views: 2898

some workarounds

... the bookmarked lines for separate inspection (Edit > Copy Other > Bookmarked lines ).

You can even modify this approach with external RegExp commandline utilities such as sed and grep, in order to give you a hot-link index into the document where targets are found. More details on request 8 ...
by Paul in NJ
Thu Aug 07, 2008 6:38 pm
Forum: General
Topic: Cursor position issue: opening TextPad in DOS batch
Replies: 2
Views: 543

This commandline issue gets weirder. In Win98, this batch file opens the file in TextPad for editing:

start /w "C:\Progra~1\TextPa~1\TextPad.exe" C:\text\textfile.html

When this batch file is run under XP, however, TextPad never opens -- instead, the HTML file is diplayed in my browser.

Moreover ...
by trids
Mon Aug 27, 2007 6:23 am
Forum: Enhancement Suggestions
Topic: Scripted Find-Replace (suggestion)
Replies: 2
Views: 504

... a set of function-calls to interface with the TP engine.

However, that's a bit outside the scope of this thread, which is aimed at suggesting a commandline interface to TP's regexps.

I probably shouldn't have mentioned editable macros, but it occurred to me that an editable list of keypresses ...
by trids
Wed Aug 22, 2007 8:23 am
Forum: Enhancement Suggestions
Topic: Scripted Find-Replace (suggestion)
Replies: 2
Views: 504

Scripted Find-Replace (suggestion)

... RE) engine. Macros are still un-editable and therefore not a viable solution.

My current solution for this is to use the GnuWIN sed.exe commandline utility, which works like a dream but has the following shortcomings: The sed RE syntax is slightly different from TP's .. especially in the way ...