AutoHotkey Community

It is currently May 26th, 2012, 3:53 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: What are functions?
PostPosted: April 26th, 2008, 7:56 pm 
Offline

Joined: April 26th, 2008, 7:53 pm
Posts: 6
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*** :lol:

ANY explanation would be appreciated.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 26th, 2008, 8:37 pm 
Welcome to the board. Plese fasten your seatbelts. :lol:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 26th, 2008, 9:43 pm 
Offline

Joined: August 27th, 2007, 8:00 pm
Posts: 179
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. :lol:

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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2008, 12:12 am 
Offline

Joined: April 26th, 2008, 7:53 pm
Posts: 6
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2008, 12:22 am 
Offline

Joined: August 27th, 2007, 8:00 pm
Posts: 179
Most of what u are looking for in that last post sounds beyond me but I would suggest looking into ControlSend
and SendInput


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], Google Feedfetcher and 27 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group