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 are functions?

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



Joined: 26 Apr 2008
Posts: 2

PostPosted: Sat Apr 26, 2008 6:56 pm    Post subject: What are functions? Reply with quote

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*** Laughing

ANY explanation would be appreciated.
Back to top
View user's profile Send private message
g543
Guest





PostPosted: Sat Apr 26, 2008 7:37 pm    Post subject: Reply with quote

Welcome to the board. Plese fasten your seatbelts. Laughing
Back to top
Leon



Joined: 27 Aug 2007
Posts: 179

PostPosted: Sat Apr 26, 2008 8:43 pm    Post subject: Reply with quote

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. Laughing

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
View user's profile Send private message
zbrg



Joined: 26 Apr 2008
Posts: 2

PostPosted: Sat Apr 26, 2008 11:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Leon



Joined: 27 Aug 2007
Posts: 179

PostPosted: Sat Apr 26, 2008 11:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
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