AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is AHK

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
majumdersubir
Guest





PostPosted: Wed Nov 29, 2006 8:23 am    Post subject: What is AHK Reply with quote

Anyone help me that what is AHK, I try to make a program that when I shall press a key, my program will be launched; I see the AutoHotKey help, but cannot solve this. Crying or Very sad
Back to top
.AHK



Joined: 26 Apr 2006
Posts: 662
Location: USA

PostPosted: Wed Nov 29, 2006 8:31 am    Post subject: Reply with quote

Quote:
Anyone help me that what is AHK


www.autohotkey.com wrote:

AutoHotkey is a free, open-source utility for Windows. With it, you can:

Automate almost anything by sending keystrokes and mouse clicks. You can write a mouse or keyboard macro by hand or use the macro recorder.
Create hotkeys for keyboard, joystick, and mouse. Virtually any key, button, or combination can become a hotkey.
Expand abbreviations as you type them. For example, typing "btw" can automatically produce "by the way".
Create custom data entry forms, user interfaces, and menu bars. See GUI for details.
Remap keys and buttons on your keyboard, joystick, and mouse.
Respond to signals from hand-held remote controls via the WinLIRC client script.
Run existing AutoIt v2 scripts and enhance them with new capabilities.
Convert any script into an EXE file that can be run on computers that don't have AutoHotkey installed.
Getting started might be easier than you think. Check out the quick-start tutorial.

The text in bold might help. Cool
Back to top
View user's profile Send private message Visit poster's website AIM Address
ricke



Joined: 14 Sep 2006
Posts: 31

PostPosted: Wed Nov 29, 2006 10:02 am    Post subject: Re: What is AHK Reply with quote

majumdersubir wrote:
Anyone help me that what is AHK, I try to make a program that when I shall press a key, my program will be launched; I see the AutoHotKey help, but cannot solve this. Crying or Very sad



Not sure if I understand u correctly.... Do u want to create an AHK-GUI that launches an application of your choice ?



Code:

Gui font, Verdana Bold S18 ;just the font and size of text
Gui, +toolwindow +AlwaysOnTop  ;list and ontop
Gui, Add, Button, gScript , CALCULATOR ; one button with text
Gui, show, x100 y100 ,Test ; shows gui and name it
Return

Script:
   run calc.exe ;launches the calculator when u hit button
Return
Back to top
View user's profile Send private message
Carlol



Joined: 14 Aug 2006
Posts: 151
Location: CPH

PostPosted: Wed Nov 29, 2006 11:31 am    Post subject: Reply with quote

Or you could put this code in a script, launch it by double clicking, and then press windows + n and puff Razz
Code:
#n::Run C:\WINDOWS\system32\calc.exe

Good Luck and Happy Scripting, Smile
Back to top
View user's profile Send private message
TheLeO



Joined: 11 Jun 2005
Posts: 165
Location: England ish

PostPosted: Wed Nov 29, 2006 11:31 am    Post subject: Reply with quote

try the run command;


Run, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID]


read about it in the help file mate.
_________________
And i say: where there is a problem , there is a solution.(well some where that is.)
::
I Have Spoken
::
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Un-less
Guest





PostPosted: Wed Nov 29, 2006 7:50 pm    Post subject: Re: What is AHK Reply with quote

majumdersubir wrote:
[color=darkblue] Anyone help me that what is AHK


I think it's this, but it depends on how you pronounce it -

Code:

awk '

BEGIN {
printf "Enter test number:"
getline test

printf "Enter run series (1,2:13,15:30):"
getline runs

z = split(runs,run,",")

}

{
 for (i=1; i<=z; i++) {

   if (split(run[i],range,":") != 1 ) {
     for (j=range[1]; j<=range[2]; j++)
     print j

   }

   else {
     print run[i]
   }

 }

}'
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group