AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

More about hotstrings

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Da Rossa



Joined: 06 Dec 2007
Posts: 206

PostPosted: Thu Mar 06, 2008 5:14 pm    Post subject: More about hotstrings Reply with quote

Hi, in Portuguese there are many adjectives ended in ...ável, like

louvável
amável
provável

But for some of them we can use an associated adverb, ended in ...mente, equivalent to the ...ly in English:

respeitosamente
convenientemente
provavelmente

As you can see, all adjectives ended in ...ável come with an accent on the "A", so I set the hotstring:

Code:
; ...ÁVEL
:*?:avel::ável


So a word typed like amavel will be replaced by amável.

However, as you can see too, the third adjective and the third adverb, provável and provavelmente respectively, are related to the same word. The problem is, the first has accent, the second doesn't, but the second will always put the accent when I get to the "ável" parte of the typing of p r o v a v e l m e n t e.
Is there a way to prevent this?
_________________
AHK is perfect.
Back to top
View user's profile Send private message
Kellianjaxon



Joined: 04 Jan 2008
Posts: 39

PostPosted: Thu Mar 06, 2008 5:42 pm    Post subject: Reply with quote

Does removing the asterisk option suit your needs?
Code:
:?:avel::ável
Back to top
View user's profile Send private message
Da Rossa



Joined: 06 Dec 2007
Posts: 206

PostPosted: Fri Mar 07, 2008 9:28 am    Post subject: Reply with quote

Oh My God
I'm so retarded to post without experiment Sad
Sorry for asking such a thing! Embarassed
Thanks anyway! Very Happy
_________________
AHK is perfect.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group