Make a new file

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
omdawe
Member
Member
Posts: 109
Joined: 2009-01-28, 06:36 UTC

Make a new file

Post by *omdawe »

I would like to have in "Keyboard Remapping" a command to make a new file.

A dialog box that comes up asking what i want to name the file and file extension, or even a small dropdown of preselected file extensions. (the second one is not really needed..

Tanx
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

omdawe wrote:I would like to have in "Keyboard Remapping" a command to make a new file.
<Shift><F4> ?!

Karl
User avatar
omdawe
Member
Member
Posts: 109
Joined: 2009-01-28, 06:36 UTC

Post by *omdawe »

TANX!!!... But i still would still like it more if i had it in Keyboard remapping so i could choice my own button sequence for the dialog that comes up with SHIFT+F4
User avatar
omdawe
Member
Member
Posts: 109
Joined: 2009-01-28, 06:36 UTC

Post by *omdawe »

I guess this have been spoken about before, but when i crate a file i would like to have previous created file names in this list. because i create a lot of the files with the same file name.. Would make my work faster.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

I don't recall, but I believe there are still a handful of hardcoded keyboard shortcuts that never got an actual usable cm_command. Which as you see can be an annoyance. The only option I know of atm would be to use something like AutoHotKey (AHK), AutoIT or PowerPro (PPro).

With AHK installed, you could launch this script:
TC_Keys.ahk

Code: Select all

#ifWinActive, ahk_class TTOTAL_CMD
{
	; Shift+z
	;	:: Call TC's Edit/Create new file.
	;	:: create a new file called: MyFileName.ext
	+z::
	{
		Send, +{F4}
		Send, MyFileName.ext{Enter}
	return
	}
return
}
In AHK lingo:
+ is Shift
! is Alt
^ is Ctrl, and
# is the WinKey
User avatar
omdawe
Member
Member
Posts: 109
Joined: 2009-01-28, 06:36 UTC

Post by *omdawe »

Tanx for the work around, but i would prefer to wait until this is in TC. I use TC a portable and i like to run TC totally on its own. Don´t want to install another program just for such a small thing.
Post Reply