How to use Autohotkey

596 views
Skip to first unread message

stinkfinger

unread,
Jul 9, 2012, 5:23:18 AM7/9/12
to iot...@googlegroups.com
Hi there, Thank you for this great pice of software!

What is was wondering: I want to touch a tag to Autohotkey. So i can use keydown functions for my projects. http://www.touchatag.com/application/starting-autohotkey-script
How would that be done in IOTOPE ?

stinkfinger

unread,
Jul 9, 2012, 7:04:43 PM7/9/12
to iot...@googlegroups.com
So A replay 
It Works!
I had to read the manual better!

This what to do if you want to use the key press action combined to your tag:


First go download the great software of ITOPE:

Follow the instructions on the site to get it work.

In the software folder go to the BIN folder and execute the software.
You wont see a graphical interface. But just a command prompt that shows activities of your tag reader.
In tour system tray there appeared a icon (orange) go to it and right click on it to go to a web-based interface called "node console"

Now the fun part starts. 

Go download autohotkey  http://www.autohotkey.com  and install it.
Its a program that uses simple scripts to controll your computer and key/ mouse actions.

Make a new script on a location on your computer.
(right click in a folder and choose new... autohotkey script)

Give it a name for example "key_press_a.ahk"
Go right-click on the script you just made and chose to edit.

You'll find the next lines in the script:
----------------------------------------------------------------------------------------------------------------------
;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         A.N.Other <mye...@nowhere.com>
;
; Script Function:
; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
----------------------------------------------------------------------------------------------------------------------------------------------------------

Now edit under those lines:

Send a
return

So you get:

;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         A.N.Other <mye...@nowhere.com>
;
; Script Function:
; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
Send a
return

---------------------------------------------------------------------------------------------

Go back to the web editor of IOTOPE
and go to the edit mode.
Chose for an URL and set it to the location of your script:
for example: "file:///D:/autohotscripts/key_press_a.ahk" 
no ""marks!!!


Save values. And you're done.
From now on you can use a tag to hit the "a"key of your keyboard

Greetings Bob

Justifun

unread,
Jan 12, 2013, 1:36:22 AM1/12/13
to iot...@googlegroups.com
Is there a way to get iotope to pass along the tag number as a argument perhaps?

Alex Van Boxel

unread,
Jan 12, 2013, 11:01:28 AM1/12/13
to iot...@googlegroups.com
I'm planning a small maintanence release and will add this feature to the release.

https://github.com/alexvanboxel/iotope-node/issues/1

I'll try to release this before the end of the month.
Reply all
Reply to author
Forward
0 new messages