Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 03:57

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to add F1 keys to Program

Discussion on How to add F1 keys to Program within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
SaM.ThE.MaN's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 828
Received Thanks: 427
How to add F1 keys to Program

while 1
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
MouseClick("Left", 468, 352)
MouseClick("Right", 468,352)
Sleep(5000)
wend

Yo,
This is my program made with autoit,
i wanna make the program press the F5 key so i can put sit on F5 so i can sit then right click then move then sit then right click like this below:

while 1
F5
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
F5
MouseClick("Left", 468, 352)
MouseClick("Right", 468,352)
Sleep(5000)
wend



If any1 could help me ill be really happy,
Sammy
SaM.ThE.MaN is offline  
Old 12/27/2009, 15:18   #2

 
Kazaaa's Avatar
 
elite*gold: 26
Join Date: Nov 2007
Posts: 32,809
Received Thanks: 12,143
Dude, please read the helpfile.
Kazaaa is offline  
Thanks
1 User
Old 12/27/2009, 18:42   #3
 
SaM.ThE.MaN's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 828
Received Thanks: 427
Yo,
If it opened up i wouldnt ask |-.-|,
Sammy
SaM.ThE.MaN is offline  
Old 12/28/2009, 21:18   #4
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
Öhm...I cant understand you...please try it with proper english?

Do you want a function called by pressing F5 or something else?
AllesVergeben is offline  
Thanks
1 User
Old 12/28/2009, 21:26   #5
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
Dude take this and be happy
PHP Code:
Send("{F5}"
Shadow992 is offline  
Thanks
1 User
Old 12/29/2009, 06:42   #6
 
SaM.ThE.MaN's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 828
Received Thanks: 427
Umm Yo,
i appreciate u all tryin to help but autoit legend <--- xD hiyoal already helped me so ty,
Sammy
SaM.ThE.MaN is offline  
Old 12/31/2009, 15:58   #7
 
elite*gold: 0
Join Date: Apr 2006
Posts: 103
Received Thanks: 5
HotKeySet( "KEY" , "FUNCTION" )

Greetings.
Busti is offline  
Old 12/31/2009, 18:45   #8
 
elite*gold: 0
Join Date: Jun 2008
Posts: 28
Received Thanks: 2
Quote:
while 1
F5
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
F5
MouseClick("Left", 468, 352)
MouseClick("Right", 468,352)
Sleep(5000)
wend
Code:
Hotkeyset("{f5}", "test")
func test()
while 1
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
MouseClick("Left", 468, 352)
MouseClick("Right", 468,352)
Sleep(5000)
wend
endfunc
while 1
sleep(2000)
wend
Hotwert is offline  
Old 12/31/2009, 18:51   #9
 
elite*gold: 0
Join Date: Apr 2006
Posts: 103
Received Thanks: 5
Quote:
Originally Posted by Hotwert View Post
Code:
Hotkeyset("{f5}", "test")
func test()
while 1
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
MouseClick("Left", 468, 352)
MouseClick("Right", 468,352)
Sleep(5000)
wend
endfunc
while 1
sleep(2000)
wend
If i start that it will end up in an endless loop..

use this :
Code:
Hotkeyset("{f5}", "test")
func test()
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
MouseClick("Left", 468, 352)
MouseClick("Right", 468,352)
sleep(5000)
endfunc
while 1
sleep(1000)
wend
Busti is offline  
Old 12/31/2009, 19:18   #10
 
elite*gold: 0
Join Date: Jun 2008
Posts: 28
Received Thanks: 2
Ich dachte das will er so weil er die while schleife ja selber geschrieben hat^^
Hotwert is offline  
Reply


Similar Threads Similar Threads
Free beta keys from Alienware 7356 keys left!
10/27/2010 - Heroes of Newerth - 12 Replies
Hmm this is fresh since i got one last week You see im posting it for someone wqho needs help with beta keys.... I found a video on youtube and everyone needs to play on this cool game So ehres the giveaway Heroes of Newerth - Beta Giveaway! Alien ware is a partener of heroes of newerth so its 100% legit you must register first once youre done go to youre email and activate youre account in alien ware. sign in and youll see on the top Mybeta keys
[Selling] AVG program keys look inside!
04/08/2010 - Trading - 0 Replies
Hey guys, I'm selling a bunch of AVG keys for money on paypal Price is 5 euros each key, I got keys for AVG INTERNET SECURITY NETWORK EDITION AVG INTERNET SECURITY AVG INTERNET SECURITY SBS EDITION AVG ANTI-VIRUS PLUS FIREWALL AVG EMAIL SERVER EDITION AVG FILE SERVER EDITION
Tausche z-keys gegen GW-Account oder keys, aoin-emote, wow bzw eve-online timecodes
01/30/2010 - Guild Wars Trading - 3 Replies
Tausche zaishen keys gegen folgendes Guildwars account Guildwars keys zur account erstellung Aion flügel-emote code EVE-Online timecard WOW-timecard macht mir angebote was ihr habt und wieviel keys ihr möchtet



All times are GMT +1. The time now is 03:57.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.