| View previous topic :: View next topic |
| Author |
Message |
zbrg
Joined: 26 Apr 2008 Posts: 2
|
Posted: Sat Apr 26, 2008 6:56 pm Post subject: What are functions? |
|
|
Hello,
What are all these functions stuff? I mean where to put them in my computer/scripts? I see some special function for IE7 which will help me finishing my script BUT
I really don't know where to put them...
REALLY I am that d***
ANY explanation would be appreciated. |
|
| Back to top |
|
 |
g543 Guest
|
Posted: Sat Apr 26, 2008 7:37 pm Post subject: |
|
|
Welcome to the board. Plese fasten your seatbelts.  |
|
| Back to top |
|
 |
Leon
Joined: 27 Aug 2007 Posts: 179
|
Posted: Sat Apr 26, 2008 8:43 pm Post subject: |
|
|
Best thins is to check out the help files on Functions found here,
http://www.autohotkey.com/docs/Functions.htm
Basically functions are similar to sub-routines.
If you don't know what a sub-routine, try starting there as they can often be easier and make a good intro to Functions.
Check out sub-routines here
http://www.autohotkey.com/docs/commands/Gosub.htm
To summarize both functions and sub-routines in general terms:
You can think of either as a specified job / calculation like boiling a kettle for example.
A "call" to a function is a command in a script that initiates that function ie someone shouting "please boil the kettle".
Sub routines work similarly but as i said they can be simpler to understand or tat least the help file is
| g543 wrote: | Welcome to the board. Plese fasten your seatbelts.  |
What for? This has to be the slowest forum I have ever seen.
And its unhelpful smart ass comments like yours that grind people's progress to a disgruntled halt,right before they completely give up on the forum and AHK. |
|
| Back to top |
|
 |
zbrg
Joined: 26 Apr 2008 Posts: 2
|
Posted: Sat Apr 26, 2008 11:12 pm Post subject: |
|
|
thank you very much for an explanation.
I tried searching forums and didnt find good answer, yours excellent.
I must omitted the functions chapter when skimming help.
I am amazed that you can build even standalone programs.
However I am highly interested in writing web bots like, blog-login bot, account creators, message readers.
The best option would be (i believe) the script/program which do not output work progress. In easy words: to simulate IE7 or FF in work but not opening them, I know its possible, where i should start my "research" in this specific case? |
|
| Back to top |
|
 |
Leon
Joined: 27 Aug 2007 Posts: 179
|
Posted: Sat Apr 26, 2008 11:22 pm Post subject: |
|
|
Most of what u are looking for in that last post sounds beyond me but I would suggest looking into ControlSend
and SendInput |
|
| Back to top |
|
 |
|