Kill FireFox
Posted
#1
(In Topic #313)
Regular

Code (gambas)
You will nee to create a Label and two buttons. I used BuExit, BuKillFox names for
the buttons and Label1 for the text box. Feel free to modify the program to your tastes.
Posted
Regular

Posted
Regular

Posted
Regular

…without using Shell:cage said
Feel free to modify the program to your tastes.
Code (gambas)
- CheckFox
- Wait 1
- CheckFox
- Label1.text = "FireFox Not Running"
- Label1.Text = "FireFox Is Running"
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Regular

Posted
Regular

cage said
… but I get an error when I run it.
Where ?
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Regular

Posted
Regular

However you can also try using the other two parameters of the Desktop.FindWindow() function.
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Regular

Posted
Regular

cage said
I look at it this way. If you have $2000.00 worth of tools why use a breaker bar to break loose the lug nuts on you car when you can use a impact wrench. I have done it with the task manager, and a script from the command line. But it's more fun making things work with Gambas.Gambas is just another tool to make computing life much easier. I use to program with VB1-6, and while it was good tool Gambas is much better tool at doing things.
For me, it is often more fun to use the less than ideal tool to get the job done, just to show that it can be done.
"I am endeavoring, ma'am, to construct a mnemonic memory circuit using stone knives and bearskins."
:ugeek:
Posted
Regular

"I am endeavoring, ma'am, to construct a mnemonic memory circuit using stone knives and bearskins."
So how is your mnemonic memory circuit project coming along?
1 guest and 0 members have just viewed this.



