romantikerkek27 Posted September 25, 2012 Share Posted September 25, 2012 Arkadaşlar programımı başlangıca eklemek istiyorum başlangıç kodlarını nereye eklemem gerektiğini bilmiyorum Elimdeki başlangıç kodları; #include "_Startup.au3" _Main() Func _Main() _StartupRegistry_Install() ; Add the running EXE to the Current Users Run registry key. Sleep(3000) _StartupRegistry_Uninstall() ; Remove the running EXE from the Current Users Run registry key. EndFunc ;==>_Main Bunu öylece yapıştırdığım zaman compile ettiğimde hata alıyorum bana yardımcı olabilecek kimse varmı acaba? Quote Link to comment Share on other sites More sharing options...
blackman12 Posted September 25, 2012 Share Posted September 25, 2012 "_Startup.au3" dosyası elinde var mı? Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted September 25, 2012 Share Posted September 25, 2012 burdan indirip denesen [CODE] http://www.autoitscript.com/forum/index.php?app=core&module=attach§ion=attach&attach_id=36605 [/CODE] Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted September 25, 2012 Share Posted September 25, 2012 [CODE] RegWrite("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run", @ScriptName, "REG_SZ", '"' & @ScriptFullPath & '"') [/CODE] Quote Link to comment Share on other sites More sharing options...
MAKINCI Posted September 25, 2012 Share Posted September 25, 2012 [CODE] $STARTUP = TrayCreateItem("Başlangıçta Çalıştır") TrayItemSetOnEvent(-1, "_STARTUP_WINDOWS") [/CODE] Quote Link to comment Share on other sites More sharing options...
romantikerkek27 Posted September 25, 2012 Author Share Posted September 25, 2012 [quote name='blackman12' timestamp='1348596152' post='1243367'] "_Startup.au3" dosyası elinde var mı? [/quote] [quote name='mesale0077' timestamp='1348601513' post='1243391'] burdan indirip denesen [CODE] http://www.autoitscript.com/forum/index.php?app=core&module=attach§ion=attach&attach_id=36605 [/CODE] [/quote] Hocam başlangıca eklenecek spritin bağlantısını vermişsiniz kodları programın neresine yazmam gerektiği konusunda bir fikrim yok. Acaba verdiğiniz bağlantıdaki registry'ye ekleme spritini programımın içinde nasıl çalıştırabilirm nereye koymam lazım spriti ya da kodlarını nereye yazmam lazım? Quote Link to comment Share on other sites More sharing options...
romantikerkek27 Posted September 25, 2012 Author Share Posted September 25, 2012 [quote name='DivaneTR' timestamp='1348610782' post='1243418'] [CODE] RegWrite("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run", @ScriptName, "REG_SZ", '"' & @ScriptFullPath & '"') [/CODE] [/quote] [quote name='MAKINCI' timestamp='1348611308' post='1243420'] [CODE] $STARTUP = TrayCreateItem("Başlangıçta Çalıştır") TrayItemSetOnEvent(-1, "_STARTUP_WINDOWS") [/CODE] [/quote] Hocam bu kodları nereye yapıştırmam gerekiyor programın neresine yazmalıyım AutoIT'den hiç anlmıyorum yardımcı olurmusunuz Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted September 26, 2012 Share Posted September 26, 2012 arkadaşım ilk önce bence autoitti basitçe öğrenmeye başlasan örnek kodlar oluşturup hatalarını görerek yapsan iyi olur bu arada gerçekten nasıl öğrenmek istiyorsan [b]SimpsoN_Bart[/b] çalışmasına ait kod örnegi var ona bakarak birşeyler ögrenebilirsin [CODE] http://www.tnctr.com/topic/204006-explorer-optimizer [/CODE] kolay gelsin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.