Jump to content

Program Gostergesi Yapılabilirmi


isimsiz2
 Share

Recommended Posts

[codebox]#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 268, 127, 192, 124)
$Label1 = GUICtrlCreateLabel("Goster", 24, 24, 250, 24 )
GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif")
$Button1 = GUICtrlCreateButton("Kontrol", 96, 80, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$Kontrol = ProcessExists("firefox.exe");
if $Kontrol Then
GUICtrlSetData($Label1,"Firefox Çalışıyor");
Else
GUICtrlSetData($Label1,"Firefox Çalışmıyor");
EndIf

EndSwitch
WEnd[/codebox]


böyle ProcessExist ile yapabilirsin.. ben firefoxu kontrol ettirdim sen düzenleyebilirsin..

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