Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I installed mono and ironahk on my macbook running osx.

The example.ahk runs fine and gives a 'hello world' message box.

When I try to input a file with a hot string such as:

:*:dog::dalmation@dogpound.edu

it crashes. What am I doing wrong. The hot string works OK on windows xp.

share|improve this question
    
Any luck so far? Let us know what helped and what did not help? We can only learn if you provide feedback! –  Robert Ilbrink Mar 16 '13 at 8:15
    
Any updates yet? Or is the problem still around, despite the various alternative approaches? –  Robert Ilbrink Mar 17 '13 at 16:12
    
Apparently there are some issues with IronAHK. see: ubuntuforums.org/showthread.php?t=1832937 I just wanted to install this on my Ubuntu on VMware, but stopped when I read this! –  Robert Ilbrink Mar 18 '13 at 12:09

1 Answer 1

Your hotstring:

:*:dog::dalmation@dogpound.edu


runs fine on AutoHotKey on Windows 7x64. It 'could' be that IronAhk crashes because it loops due to the fact that the string "dog" is part of the output string "dalmation@DOGpound.edu". In other words the behaviour of IronAhk 'might' be different in that it wants to output:

dalmation@dalmation@dalmation@dalmation@dalmation@dogpound.edupound.edupound.edupound.edupound.edu  

, constantly replacing "dog" inside the string. I don't know if IronAhk has been written from scratch or is just a modified version of Ahk, compiled to the various platforms.

In AutoHotKey the string dog would not trigger, because it only acts on dog when it is a separate word (not inside a string, unless you use the :?*:).

Unfortunately, IronAHK has no documentation on hotstrings yet.

1st suggestion: first try to launch the output string with a different trigger word.

:*:dpe::dalmation@dogpound.edu

2nd suggestion: Use send instead

:*:dpe::Send, dalmation@dogpound.edu

3rd suggestion: Use send in a multi-line script

:*:dpe::
    Send, dalmation@dogpound.edu
Return


Last but not least, using a dictionary word to trigger a hotstring can lead to frustration when writing. That is why most of my trigger words end with a unique character \ or = or ] or ..

In your case that would be :*:dog\::. The \ is located close to the Enter key, which makes it easy.

I actually have categories of hotstrings all with a unique end character:
This way I can use the same trigger strings in different languages. I sometimes even use it to "translate" difficult to write words.

\ is for Dutch,
= is for English,
] is for generic words (e.g. AutoHotKey).
. is to intersperse an abbreviation with the right dots.

This way I can type:
eg. and turn it into e.g.
eg= and turn it into for example
eg\ and turn it into even geduld.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.