AutoHotkey Community

It is currently May 26th, 2012, 7:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: May 19th, 2008, 5:02 pm 
Offline

Joined: May 19th, 2008, 4:35 pm
Posts: 2
I use AutoHotKey for medical transcription, and I'm trying to figure out a hotstring to make "63 -year-old" become "63-year-old". In other words, the hotstring will be ::yo::-year-old, but I want the space between the number and the phrase to disappear.

I hope that was understandable.

Also, I tried the program to capitalize the first word of a sentence (I can't find it right now but it's in this forum somewhere). I copied it into AutoHotKey.ahk and reloaded the script, but the first words of sentences still don't capitalize. Am I missing a step?

Thirdly, can I set a function key (say, F3) to capitalize the first letter of the word that the pointer is on? And another one to make it all caps?

Thanks in advance. In my business, anything that makes saves keystrokes is money!

ns


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 19th, 2008, 5:31 pm 
Quote:
In my business, anything that makes saves keystrokes is money!
In this forum, anything that is written in the correct section saves time!

Scripts & Functions --> Ask for Help 8)

[ Moderator!: ok.. moved ]


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 19th, 2008, 10:58 pm 
Offline

Joined: April 4th, 2008, 8:15 pm
Posts: 538
Location: Canada
The program to capitalize the first word of a sentence


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 20th, 2008, 12:44 am 
Code:
::yo::{backspace}-year-old
or you can still use
Code:
::yo::-year-old
if you type
Code:
65yo
instead of
Code:
65 yo


Report this post
Top
  
Reply with quote  
PostPosted: May 20th, 2008, 1:36 am 
Offline

Joined: May 19th, 2008, 4:35 pm
Posts: 2
That's the program I tried, but it didn't work.

I copied it into AutoHotKey.ahk, right clicked on the icon in the system tray, then "reload script" and (at least in Notepad where I tested it) it still doesn't capitalize the first letter of a sentence. Is there something else I'm supposed to do?

The ::yo::year-old, where I type "65-yo" works great, i.e. 65-year-old (using the expander).

Thanks everyone.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 20th, 2008, 6:47 am 
this is the fix for the auto cap sentence


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, kkkddd1, Tipsy3000, Yahoo [Bot] and 64 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group