Jump to content

R Tuşuna Saniyede 4-5 Kez Nasıl Bastırabilirim?


Fox
 Share

Recommended Posts

bir oyun oynuyorum istediğim şu ..
ben 'r' tuşuna bastığımda 'r' birkez işliyor yani tuşu bırakıp tekrar tekrar basmam gerekiyor
ben ise 'r' tuşuna basılı tuttuğumda saniye içersinde 4 5 kez 'r' tuşuna otomatik olarak basıp bırakmasını istiyorum
böyle birşey yapılabilirmi ?
Link to comment
Share on other sites

@Fox

Ben bir örnek vereyim, sen kendine göre ayarlarsın...
[codebox]Global $Hotkey = "r"
HotKeySet($Hotkey, "_Hotkey_r")
HotKeySet("{ESC}", "_Exit")

While 1
Sleep(100)
WEnd

Func _Hotkey_r()
HotKeySet($Hotkey)

ToolTip('Test 123 :)') ; Yerine yaptırmak istediğin işlemi eklersin.
Send("{r}") ; Yerine yaptırmak istediğin işlemi eklersin.

HotKeySet($Hotkey, "_Hotkey_Blank")
Sleep(1000/3) ;Bekleme. Yani ortalama bir saniye içinde üç kez basacak
HotKeySet($Hotkey, "_Hotkey_r")
EndFunc

Func _Hotkey_Blank()

EndFunc

Func _Exit()
Exit 0
EndFunc[/codebox]

Link to comment
Share on other sites

[quote name='justpl4y' date='07 December 2011 - 09:05 ' timestamp='1323248724' post='1125100']
Dışarıda hayat seni bekliyor. Daha fazla zaman kaybetme O oyunu(Knight Online) Bilgisayarından kaldır. İleride pişman olmaktansa, Canın sıkılacak olsada bırak.
[/quote]
tpt werdi (: galiba oyunu bıraktım

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...