Underscore between spaces?

JerometheGiraff

New member
Member
VIP
Local time
4:33 AM
Messages
925
I want a program, that I can add a underscore between spaces, if I want using a shortcut key ?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
Core2Quad (2.6 Ghz)
Motherboard
nVidia 775
Memory
8 Gigs DDR2
Graphics Card(s)
Geforce Titan Black
Sound Card
Motherboard Audio
Monitor(s) Displays
25" Asus LCD
Screen Resolution
1680x1050
Hard Drives
120 Gig SSD
60 Gig SSD
750 Gig HDD
PSU
850 Watts
Case
Mid-Size
Keyboard
Logitech
Mouse
Logitech - I love logitech mouses
Internet Speed
DSL 25Mbps - Although extremely expensive
Antivirus
Microsoft Anti-Virus
Browser
FireFox 36.x

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio VPCEB47GM Laptop
OS
Win 7 Pro 64-bit
CPU
Intel i5 2.4 Ghz
Memory
8GB DDR3
Graphics Card(s)
Intel HD 3000
Sound Card
IDT High Definition
Monitor(s) Displays
15.6 WGXA Anti-Glare LED
Screen Resolution
1280x800
Hard Drives
640Gb 7200rpm
Antivirus
MSE
Browser
Opera (primary) with IE9 backup
I want this ability in any or all programs including explorer in windows7.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
Core2Quad (2.6 Ghz)
Motherboard
nVidia 775
Memory
8 Gigs DDR2
Graphics Card(s)
Geforce Titan Black
Sound Card
Motherboard Audio
Monitor(s) Displays
25" Asus LCD
Screen Resolution
1680x1050
Hard Drives
120 Gig SSD
60 Gig SSD
750 Gig HDD
PSU
850 Watts
Case
Mid-Size
Keyboard
Logitech
Mouse
Logitech - I love logitech mouses
Internet Speed
DSL 25Mbps - Although extremely expensive
Antivirus
Microsoft Anti-Virus
Browser
FireFox 36.x
Just use substitution in a word processing document.

ie search and replace
 

My Computer

Computer Manufacturer/Model Number
Dell
OS
Windows 7 Premium 32 bit
CPU
Quad Intel
Motherboard
Dell
Memory
4 gb
Graphics Card(s)
Nividia 285
Monitor(s) Displays
Two TFT
Screen Resolution
native
Hard Drives
2
PSU
600w
Case
dell
Cooling
thanks, I'm cool
Keyboard
dell
Mouse
MS Explorer 2
Internet Speed
10mb cable DSL
I want a program, that I can add a underscore between spaces, if I want using a shortcut key ?

Can you give an example before and after text? I'm not sure what you mean. Also when you say in Explorer, do you mean when renaming files?
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.

My Computer

Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64
CPU
Intel Core 2 Quad Q6600
Motherboard
ASUS P5K-E
Memory
8GB DDR2
Graphics Card(s)
GeForce 8800 GTS 512
I want a program, that I can add a underscore between spaces, if I want using a shortcut key ?

Are you trying to get rid of spaces in filenames?
Like "My File Name.txt" becomes "My_File_Name.txt" or am I imagining it? :)
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
re you trying to get rid of spaces in filenames?
Like "My File Name.txt" becomes "My_File_Name.txt" or am I imagining it?
Yes I am. I want all file names to have a underscore no matter where in windows save a file or rename a file.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
Core2Quad (2.6 Ghz)
Motherboard
nVidia 775
Memory
8 Gigs DDR2
Graphics Card(s)
Geforce Titan Black
Sound Card
Motherboard Audio
Monitor(s) Displays
25" Asus LCD
Screen Resolution
1680x1050
Hard Drives
120 Gig SSD
60 Gig SSD
750 Gig HDD
PSU
850 Watts
Case
Mid-Size
Keyboard
Logitech
Mouse
Logitech - I love logitech mouses
Internet Speed
DSL 25Mbps - Although extremely expensive
Antivirus
Microsoft Anti-Virus
Browser
FireFox 36.x
I_use_my_keyboard._it_has_a_key_just_right_of_the_'0/)'_key,_and_left_of_the_'+/='_key_in_the_top_row_for_inserting_hyphens_('-')_and_when_shifted,_underscores_('_'). ;)
 

Attachments

  • Capture 000.jpg
    Capture 000.jpg
    22.6 KB · Views: 4

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom build Nanu by 3SX
OS
Win 7 ultimate x64 sp1
CPU
Intel i7 4 core 3770k ivy bridge o/c to 4.2ghz
Motherboard
Asus p8z77-i Deluxe
Memory
16 GB
Graphics Card(s)
Nvidia geforce GTX650
Sound Card
Realtek on mb
Monitor(s) Displays
24in. lcd/led
Screen Resolution
1920x1080
Hard Drives
128GB Kingston SSD
500GB seagate maximus xt hybrid
500GB hitachi HD
500GB external WD Passport usb3
PSU
Silverstone 450 watt
Case
Silverstone FT03 Black Fortress
Cooling
Water cooler
Keyboard
Logitech wireless kbd/mouse mk300
Mouse
Logitech wireless kbd/mouse mk300
Internet Speed
8mb adsl (actuall speed is around 6mb)
Other Info
Asus DSL-N55U wireless router
SONY BC-5850H 6X BLURAY writer
OUTPOST Security Suite
That's nice but I want it done for me automatically. Simple concept. If I hit <spacebar> make a underscore.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
Core2Quad (2.6 Ghz)
Motherboard
nVidia 775
Memory
8 Gigs DDR2
Graphics Card(s)
Geforce Titan Black
Sound Card
Motherboard Audio
Monitor(s) Displays
25" Asus LCD
Screen Resolution
1680x1050
Hard Drives
120 Gig SSD
60 Gig SSD
750 Gig HDD
PSU
850 Watts
Case
Mid-Size
Keyboard
Logitech
Mouse
Logitech - I love logitech mouses
Internet Speed
DSL 25Mbps - Although extremely expensive
Antivirus
Microsoft Anti-Virus
Browser
FireFox 36.x
sounds like you need a keyboard reassignment program. try keytweak*, it's free. seems like a lot of trouble switching back and forth tho when shift-hyphen does the same thing.

the half teach mode allows you to map the '-/_' key (key 12) to the space bar (key 61). you'd still need to hit shift tho as it cannot invert the key function & it requires remapping/rebooting to switch back and forth. you may be able to find an easier remap utility elsewhere with google.

another help page on a found site: 'remapping the keyboard...'

(my logitech wireless keyboard allows me to assign shift-hyphen to one of the extra 'hot' keys along the top, so i only have to press one key to get an underscore, but it won't so map the space bar.)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom build Nanu by 3SX
OS
Win 7 ultimate x64 sp1
CPU
Intel i7 4 core 3770k ivy bridge o/c to 4.2ghz
Motherboard
Asus p8z77-i Deluxe
Memory
16 GB
Graphics Card(s)
Nvidia geforce GTX650
Sound Card
Realtek on mb
Monitor(s) Displays
24in. lcd/led
Screen Resolution
1920x1080
Hard Drives
128GB Kingston SSD
500GB seagate maximus xt hybrid
500GB hitachi HD
500GB external WD Passport usb3
PSU
Silverstone 450 watt
Case
Silverstone FT03 Black Fortress
Cooling
Water cooler
Keyboard
Logitech wireless kbd/mouse mk300
Mouse
Logitech wireless kbd/mouse mk300
Internet Speed
8mb adsl (actuall speed is around 6mb)
Other Info
Asus DSL-N55U wireless router
SONY BC-5850H 6X BLURAY writer
OUTPOST Security Suite
Download this:
AutoHotkey_L

make an .ahk script. To substitue _ for space in Explorer windows you could use this

Code:
GroupAdd,ExplorerGroup, ahk_class CabinetWClass
GroupAdd,ExplorerGroup, ahk_class ExploreWClass

#IfWinActive,ahk_group ExplorerGroup
  Space::_
Return

That's it.

If you run it as is and leave it in the tray, everything you type in an Explorer Window will have the substitution. If you just have this script

Code:
Space::_

Then the substitution will be system wide.
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio VPCEB47GM Laptop
OS
Win 7 Pro 64-bit
CPU
Intel i5 2.4 Ghz
Memory
8GB DDR3
Graphics Card(s)
Intel HD 3000
Sound Card
IDT High Definition
Monitor(s) Displays
15.6 WGXA Anti-Glare LED
Screen Resolution
1280x800
Hard Drives
640Gb 7200rpm
Antivirus
MSE
Browser
Opera (primary) with IE9 backup
marsmimar - The two links you posted, lead to the same program. It writes to the windows registry which can be dangerous.

MilesAhead - I install the program and create a script with this command inside "Space::_", that's it ? And anywhere in Win7 when I hit spacebar a underscore will be placed ?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
Core2Quad (2.6 Ghz)
Motherboard
nVidia 775
Memory
8 Gigs DDR2
Graphics Card(s)
Geforce Titan Black
Sound Card
Motherboard Audio
Monitor(s) Displays
25" Asus LCD
Screen Resolution
1680x1050
Hard Drives
120 Gig SSD
60 Gig SSD
750 Gig HDD
PSU
850 Watts
Case
Mid-Size
Keyboard
Logitech
Mouse
Logitech - I love logitech mouses
Internet Speed
DSL 25Mbps - Although extremely expensive
Antivirus
Microsoft Anti-Virus
Browser
FireFox 36.x
You run it and leave it in the System Tray. Look in AutoHotkey_L help file. Look for "Hotkey" in the index.

But basically key substitution scripts are that simple. If your script is
r::R

then every time you press the letter 'r' it will be capitalized.
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
That is nifty. I'm going to get this setup, give it a run.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
Core2Quad (2.6 Ghz)
Motherboard
nVidia 775
Memory
8 Gigs DDR2
Graphics Card(s)
Geforce Titan Black
Sound Card
Motherboard Audio
Monitor(s) Displays
25" Asus LCD
Screen Resolution
1680x1050
Hard Drives
120 Gig SSD
60 Gig SSD
750 Gig HDD
PSU
850 Watts
Case
Mid-Size
Keyboard
Logitech
Mouse
Logitech - I love logitech mouses
Internet Speed
DSL 25Mbps - Although extremely expensive
Antivirus
Microsoft Anti-Virus
Browser
FireFox 36.x
MilesAhead - What section of the docs did you find about placing a underscore between a space with the <spacebar> ? I looked, I can't find nothing.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
Core2Quad (2.6 Ghz)
Motherboard
nVidia 775
Memory
8 Gigs DDR2
Graphics Card(s)
Geforce Titan Black
Sound Card
Motherboard Audio
Monitor(s) Displays
25" Asus LCD
Screen Resolution
1680x1050
Hard Drives
120 Gig SSD
60 Gig SSD
750 Gig HDD
PSU
850 Watts
Case
Mid-Size
Keyboard
Logitech
Mouse
Logitech - I love logitech mouses
Internet Speed
DSL 25Mbps - Although extremely expensive
Antivirus
Microsoft Anti-Virus
Browser
FireFox 36.x
Hotkey
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
I created the script for space, but AutoHotKeys prevents me from creating a space, anywhere. Example, create a text document and save it "info of something" and after each word hit space bar, it won't work it prevents space bar from working ?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
Core2Quad (2.6 Ghz)
Motherboard
nVidia 775
Memory
8 Gigs DDR2
Graphics Card(s)
Geforce Titan Black
Sound Card
Motherboard Audio
Monitor(s) Displays
25" Asus LCD
Screen Resolution
1680x1050
Hard Drives
120 Gig SSD
60 Gig SSD
750 Gig HDD
PSU
850 Watts
Case
Mid-Size
Keyboard
Logitech
Mouse
Logitech - I love logitech mouses
Internet Speed
DSL 25Mbps - Although extremely expensive
Antivirus
Microsoft Anti-Virus
Browser
FireFox 36.x

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Back
Top