DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: DONE: Encrypt or lock an Autohot key script  (Read 7,389 times)

ljbirns

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 229
DONE: Encrypt or lock an Autohot key script
« on: July 19, 2006, 03:00 PM »
I have an Autohotkey script which I keep on a flash drive.  The script has my secret password. ( send secret password ) When I activate the Autohotkey from the flash drive it resides in my tray. It would then be possible for a malefactor to open ( edit  ) the hotkey and read the secret password.  Is there a way to have the keystrokes read the hotkey directly from the flash drive ( best solution ) or can the hotkey be locked from edit or encrypted so it can not be read.  I tried Axcrypt but when the autohot key goes to the tray it is then in plain text.

Thanks

Lew
Lew
« Last Edit: July 19, 2006, 05:27 PM by brotherS »

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Encrypt or lock an Autohot key script
« Reply #1 on: July 19, 2006, 03:42 PM »
Actually, any ahk script is only a pain text file. So, encrypting it would make it not run.
BUT, every ahk instalation comes with a compiler.
You can compile your script (with a password so that it can't be de-compiled) and use it as a .exe in your flash drive. Another advantage of this method is that it'll even work on computers that don't have ahk installed.

ljbirns

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 229
Re: Encrypt or lock an Autohot key script
« Reply #2 on: July 19, 2006, 04:15 PM »
Thank you jgpaiva. :Thmbsup:

Works like a charm from the flash drive. Just what i wanted.  You are a genius.

Lew
Lew

Original address: https://www.donationcoder.com/forum/index.php?topic=4425.0