Free AdviceGet Free Advice
Home | Get advice | Give advice | Topics | Columnists | - !START HERE! -
Make Suggestions | Sitemap

Get Advice


Search Questions

Ask A Question

Browse Advice Columnists

Search Advice Columnists

Chat Room

Give Advice

View Questions
Search Questions
Advice Topics

Login

Username:
Password:
Remember me
Register for free!
Lost Password?

Want to give Advice?

Sign Up Now
(It's FREE!)

Miscellaneous

Shirts and Stuff
Page Backgrounds
Make Suggestions
Site News
Link To Us
About Us
Terms of Service
Help/FAQ
Sitemap
Contact Us


Making a key command into an icon


Question Posted Tuesday August 12 2008, 2:16 am

Hey theymos, quick question;


Is it possible to make a keyboard key's action into an icon? Say I have something bound to F10 or F11, but would rather double click an icon on the desktop rather than press the key, is that possible? I'm on Windows XP.


Thanks!


[ Answer this question ]
Want to answer more questions in the Technology category?
Maybe give some free advice about: Computers?


theymos answered Tuesday August 12 2008, 4:48 am:
Yes, that can be easily done using autohotkey:
[Link](Mouse over link to see full location)
Autohotkey only runs when invoked. It won't be running all the time.

You can use the included script creator or write the scripts yourself. The AHK language is very easy. Here's a list of commands:
[Link](Mouse over link to see full location)
SEND and CLICK are especially important.

The command to "press" f10 is:
send {f10}

This will wait 5 seconds, and then press F10 every 1.5 seconds:
sleep 5000
loop{
send {f10}
sleep 1500
}
You can stop it by right clicking on the AHK logo in the lower right and selecting "exit" or "pause script".

This will select the topmost window with "Mozilla Firefox" in the title and then press f10:
settitlematchmode, 2
winactivate, Mozilla Firefox
send {f10}

You can create the file/icon by opening AutoScriptWriter, inputting the desired commands in the large textbox, and pressing "save". Once the file is created, just double-click it to run the script. You can edit the script by opening it in any text editor (like notepad). It can be put in the quick start or start bar, like any program.

Contact me if you need more help with this. I'm very familiar with AHK.

[ theymos's advice column | Ask theymos A Question
]


More Questions:

<<< Previous Question: where do you get these pictures
Next Question >>> blush color

Recent popular questions:
Want to give advice?

Click here to start your own advice column!

What happened here with my gamer friends?

All content on this page posted by members of advicenators.com is the responsibility those individual members. Other content © 2003-2014 advicenators.com. We do not promise accuracy, completeness, or usefulness of any advice and are not responsible for content.

Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content.
Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.

[Valid RSS] eXTReMe Tracker