Jump to content

Autuit Ile Pc Kapama


GaZeLLe

Recommended Posts

slm arkadaşlar ilk önce şunu söyleyim autoit ile yeni yeni katılımsız program vs yapmaya başladım..baya sarmaya başladı ama sık sık tıkanıyorum mesela biraz araştırdım forum da ama bir konuda takıldım

mesala pc kapatmak için illa ki

(başlat-bilgisayarı kapat-tamam)

herdefasında bunu yapmak yerine masaüstünedeki bir dosyaya çift tıklasam hemen kapatsa ve bunu silent durumumda yapma imkanın war mı forumda baktım kordinat hesaplama işine ama olmuyor

While 1
Sleep(500)
$pos = MouseGetPos()
$pixelrengi = PixelGetColor($pos[0],$pos[1])
ToolTip("X : "&$pos[0]&" Y : "&$pos[1]&" Renk : "&$pixelrengi)
WEnd[/CODE]

ufak bir scrip ekleseniz ? sevinirim herkeze simdiden tşk...

Link to comment
Share on other sites

Dostun autoit help dosyasında shutdown die arat ,yardımcı olacaktır sana fazlasıyla(Takıldıgın seyler icin help dosyasını kullan)

Shutdown ( code )

The shutdown code is a combination of the following values:

0 = Logoff

1 = Shutdown

2 = Reboot

4 = Force

8 = Power down

16= Force if hung

32= Standby

64= Hibernate

Add the required values together. To shutdown and power down, for example, the code would be 9 (shutdown + power down = 1 + 8 = 9).

Standby or Hibernate are ignored if other codes are set.

Example;

Shutdown(6) ;bilgisayarı yeniden baslatmaya zorlar

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...