Can't use AutoHotKey Manager

Hi guys

I just spent a couple of hours to start looking into AHK and am super keen to start using it to the max in Studio.

Among other scripts, I'd very much like to use the script that  shared on https://community.sdl.com/product-groups/translationproductivity/f/autohotkey/24878/enhanced-replace-operation-to-go-back-to-originally-active-segment to save time with the Find & Replace function.

I've installed AHK as well as the SDL AHK Manager plugin, but I'm a bit clueless at this point as to how I can start using it.

On https://community.sdl.com/product-groups/translationproductivity/w/customer-experience/3171/autohotkey-manager-ahk we're told:

"Before installing the plugin please make sure you download and install this from the Microsoft page."

However, clicking on the "this" link gives you a 404 error page saying "We're sorry, this download is no longer available."

What was the link supposed to download? Perhaps it can be downloaded elsewhere?

I ended up installing the AHK Manager plugin, but now (perhaps because I haven't installed what I'm supposedly supposed to install before installing the plugin) when I click on the "AutoHotkey scripts" button, the "AutoHotkey Manager" window opens, but as soon as you hover over it and want to click something, it disappears into the background. Rather strange behaviour...

If anyone could help out on this one I'd very much appreciate it!

  • Hi Nathanael,

    I don't have any advice regarding the AHK Manager plugin, but while you wait for this to be resolved, here's how you can start using the scripts you will find in the AutoHotkey forum:

    Since you've already downloaded AutoHotkey, what you need to do now is create your script files and then run them. Follow these steps:

    To use an existing script:

    1. Save the *.ahk file to a folder in your computer. Double-click to activate it.

    2. Now that the script is active, press your hotstring or hotkey to trigger the actions in the script.

    To create a new script:

    1. Go to a folder in Windows Explorer where you would like to save your script (I have a folder called AutoHotkey Scripts just to keep them all in one place). Right-click on an empty space in the folder and select New -AutoHotkey Script. Name your script and save it.

    So far, you have the empty "skeleton" of a script. Now you need to enter the actions you want it to execute.

    2. Right-click on the script and select Open, then open it with a text editor, such as Notepad (I prefer Notepad++, available for free).

    3. Once the file is open, you will see that there's already some text in it. Paste the script code below the existing text in a new line.

    4. Save the file. Now double-click the file, and this will load the script. Look for a green square with a white H in it in your system tray, which indicates that the script is active.

    5. Now that the script is active, press your hotkey to trigger the actions in the script.

    Hope that helps!

  • As noted you don't need these apps to be able to use AutoHotKey.  However, I'm glad you pointed this broken link out.  It looks as though Microsoft have stopped supporting this so I'll have to check with the development team on Monday and see if they can do something different.  I did test the app quickly and it seems to work on my machine without this script.  I'm fairly certain this laptop is newer than the app and I don't think I played with this on here yet.  But I'm not sure so will check.

    I also found the file that used to be on the Microsoft site here:

    https://download.cnet.com/Microsoft-Developer-Support-OLE-File-Property-Reader-2-1-Sample-KB-224351/3000-2251_4-10732774.html

    But I can't be 100% this is correct.  I think it's probably ok, but can't be sure.  So install it at your own risk!

    I'll speak to the team on Monday and come back to you with a solution.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Thanks

    It's not exactly the solution to my main query, but it's very useful info.

    Thanks for your nice Find & Replace script. I'm using it now.

  • Thanks

    I can confirm that I am able to use AHK scripts, but so far not the AHK Manager in Studio.

    The software from the link you provided doesn't work.

    I look forward to your feedback on Monday.

  • Just letting you know we have removed the dependency on the Microsoft dll that is no longer available, and made a few other small improvements.  The updated version is now available on the appstore.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub