angel101 Posted May 19, 2010 Share Posted May 19, 2010 Bir script yazdım acemice fakat sureklı tuşlara bastıgı ıcın alt tab yapınca pc cıldırıyor ben ıstedıgımde klavye ustundeki bir tuşla bu scripti durdurup yenıden baslatmak ıstıyorum boyle bısı mumkun mudur acaba ? Yardm edenlere smdıden tesekkur ederm... Link to comment Share on other sites More sharing options...
johncher Posted May 19, 2010 Share Posted May 19, 2010 Global $Paused HotKeySet("{PAUSE}", "Pause") Pause() ;kodlarını yaz burda pause tusu durdurup baslatır Func Pause() $Paused = Not $Paused While $Paused Sleep(400) WEnd EndFunc ;==>Pause Link to comment Share on other sites More sharing options...
angel101 Posted May 19, 2010 Author Share Posted May 19, 2010 benım yapmıs oldugum script zaten while altına yazılı wend le bıtıyor onun arasına o kodu yazdım fakat calısmadı bıle program pause tusu dedıgınz hangı tus onuda anlamadm Link to comment Share on other sites More sharing options...
blue_life Posted May 19, 2010 Share Posted May 19, 2010 Kurcalayıp, istediğine ulaşabileceğini düşünüyorum. Hotkeyleri kendine göre düzenle tabi! Global $Paused HotKeySet("!z", "Pause");Alt + z HotKeySet("!x", "_BL_EXIT");Alt +x Pause() While 1 Send("Selam");) Sleep(100) WEnd Func Pause() $Paused = Not $Paused While $Paused Sleep(400) WEnd EndFunc ;==>Pause Func _BL_EXIT() Exit EndFunc ;==>_BL_EXIT[/CODE] Link to comment Share on other sites More sharing options...
angel101 Posted May 19, 2010 Author Share Posted May 19, 2010 malesef yapamadım ya :S benım yaptıgım donguyu yollıyım sız ona gore akıl verın bana while 1 send ("2") sleep ("5") send ("78278") sleep ("5") wend bu kodu verdıgınz kodların neresıne yazmam gerekiyor Link to comment Share on other sites More sharing options...
blue_life Posted May 22, 2010 Share Posted May 22, 2010 Global $Paused HotKeySet("!z", "Pause");Alt + z HotKeySet("!x", "_BL_EXIT");Alt +x Pause() While 1 send ("2") Sleep(25) sleep ("5") Sleep(25) send ("78278") Sleep(25) sleep ("5") Sleep(25) WEnd Func Pause() $Paused = Not $Paused While $Paused Sleep(400) WEnd Sleep(50) EndFunc ;==>Pause Func _BL_EXIT() Exit EndFunc ;==>_BL_EXIT[/CODE] vs gibi... tabi kendine göre düzenlemelisin.... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.