Jump to content

Autoıt Programı Başlangıca Ekleme


romantikerkek27
 Share

Recommended Posts

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?
Link to comment
Share on other sites

[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&section=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?

Link to comment
Share on other sites

[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

Link to comment
Share on other sites

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

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...