Search found 81 matches

by Cloink
Wed Aug 11, 2021 12:37 pm
Forum: General
Topic: Running a tool as an administrator (reposted from HOWTO)
Replies: 7
Views: 2682

...and just on the slim chance anyone else ever happens upon this thread and tries to repeat... I just wanted to reassure myself that this did indeed work / I could repeat the steps. Well I recreated the runas_test.bat file on my desktop (forgetting the users folder issue). Then I remembered the ...
by Cloink
Mon Aug 02, 2021 4:01 pm
Forum: General
Topic: Running a tool as an administrator (reposted from HOWTO)
Replies: 7
Views: 2682

Ha! I know you said it's not critical, but I got it to work - and from a TP tool. I noticed that it, runas, was using a user attached to my machine: <machine_name>\<username>. Looking at the usage more closely: "<UserName> should be in form USER@DOMAIN". So I added my work domain name to my user ...
by Cloink
Mon Aug 02, 2021 11:56 am
Forum: General
Topic: Running a tool as an administrator (reposted from HOWTO)
Replies: 7
Views: 2682

I got that wrong. "runas" is itself an executable, so your tool needs to run "runas" from the system directory, passing the username and 'real' executable as per usage below. I'm trying on my work machine, I think some security setup is preventing me using it, but I certainly get to the point where ...
by Cloink
Tue Jul 27, 2021 10:20 am
Forum: General
Topic: Running a tool as an administrator (reposted from HOWTO)
Replies: 7
Views: 2682

Administrator option on tool

Wouldn't you just use the native Windows parameters, is it:

/runas:Administrator

or something like that? after the path/to/exe? You just include this as a parameter within the Tool configuration parameters, if I've got that right...
by Cloink
Tue Jul 27, 2021 10:05 am
Forum: General
Topic: DOS/External tool does not delete temporary .bat file
Replies: 2
Views: 1036

Thanks AmigoJack, but I'm afraid the problem does not occur on my personal laptop, so I can't use handle to try find the root cause outside of my work machine. And we don't have Process Explorer at work, only Process Viewer which does not provide a filter/search option. I had a weird cmd.exe problem ...
by Cloink
Fri Jul 23, 2021 1:58 pm
Forum: General
Topic: DOS/External tool does not delete temporary .bat file
Replies: 2
Views: 1036

DOS/External tool does not delete temporary .bat file

Hi, When TextPad runs an external DOS command, it creates a tiny TPxxxxxx.bat batch script, and runs that. I use TextPad frequently on my home laptop, for which I have admin rights, and on my work laptop, where I do not have admin rights (admin rights may or may not be relevant). Work TP version is ...
by Cloink
Sun May 31, 2020 4:28 pm
Forum: Enhancement Suggestions
Topic: Column Mode
Replies: 1
Views: 4208

Notepad++ (or other scintilla editors) block-insert mode

I had to use Notepad++ for a bit after starting a new job. It's ok, I'm not saying it doesn't have its uses, but... Thankfully, my new employers let me have TextPad, but it took a while (partly owing to COVID-19). I sort of miss the colour-highlight of matching words, but I'm happy with my INCL tool ...
by Cloink
Sat May 09, 2020 9:30 am
Forum: General
Topic: Start file compare from command line
Replies: 2
Views: 1611

Even if you could go right into Compare Files, you would still have to click the OK button to start the compare, so you couldn't script it and have zero user input after starting it.

Checkout Autohotkey to simulate user input (to any Windows app).
by Cloink
Sat May 09, 2020 8:32 am
Forum: General
Topic: window split vertical
Replies: 7
Views: 1958

How to fudge vertical split + independent scroll

I managed to get tp to 'break' the synchronisation, same behaviour regardless of 'Synchronize Scrolling' setting! If you use ctrl-G to Goto a line number, only that pane moves to the requested line number. (+ add on half the number of lines in your display, so that the line you want comes to the top ...
by Cloink
Wed Apr 22, 2020 1:24 pm
Forum: Enhancement Suggestions
Topic: Linux Version
Replies: 2
Views: 3041

I haven't been on these forums for a while, so apologies for the long delay before replying! If you are still following this thread Charles, you might have discovered it by now but I asked for the same thing a number of years ago and was pointed at "Wine", which is a Windows emulator (of sorts) for ...
by Cloink
Sat Jul 30, 2016 5:55 pm
Forum: Enhancement Suggestions
Topic: Major Incredible Feature Omission !!!
Replies: 16
Views: 10341

Fill block

I have never even noticed 'Fill Block', but gave it a whizz.

I use tabs not spaces to indent, so the minimum I can select is 4 columns (1 tab).

So I get 4 slashes, for example, rather than 2. I suppose this does the job, but I'd prefer 2.
by Cloink
Sat Jul 30, 2016 5:38 pm
Forum: General
Topic: Clipboard History must be activated before it works
Replies: 1
Views: 918

Clip library history problem workaround

Hi ak47wong, I'm not sure I consider this a bug as such, but I know the feeling when you think you can get something from history to find you didn't have the clipboard history cliplib open. I have recently setup TextPad so that the cliphistlib opens when opening TP - and I also have TP in Win ...
by Cloink
Fri Jul 29, 2016 12:11 pm
Forum: Enhancement Suggestions
Topic: Enhancements to Clipboard History
Replies: 2
Views: 2563

Ability to put clib-library history item back on clipboard

Cummon TextPad, this must be a cinch to do. It was requested by ak47wong back in 2009, I can't see it taking a developer more than an hour to do this...!