qassam

need help about ProcessExists loop

8 posts in this topic

#1 ·  Posted (edited)

hello all i'm new at autoit lang. first of all i wanna be honest i dont know when i should use while or for or do !! Is there a single reference has to be understood in simple language ؟؟

anyway i decided today to write some script doing this

$proc = ProcessExists("winbox.exe")

$calc = "C:\Users\Dr.BL@CKDeaTH\Desktop\calc.exe"


 if $proc = true then
    ProcessWaitClose($proc)
run($calc )

Else
   run($calc)
   endif

every thing is okay above but if i want this script loop for ever in memory i mean when the (winbox.exe) process exists do not run my (calc.exe) until the user closed (winbox.exe) and still check for ever ....

  1. if the user run winbox.exe  again close calc.exe
  2. if the user close winbox.exe run calc.exe

please i need it in simple way im still beginner

 

 
Edited by qassam

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

10 minutes ago, Jos said:

That name doesn't give a lot of encouraging hits on the internet. 

Jos

really ??? Is this a racist or what ؟؟؟
u can call ur self what u want names does not matter !!

** ur profile pic doesn't give a lot of encouraging :D

 

Edited by qassam

Share this post


Link to post
Share on other sites
10 minutes ago, qassam said:

really ??? Is this a racist or what ؟؟؟

Not a smart answer and not even close to being funny.

I simply made an observation and must say your answer doesn't take away any doubt but rather seem to confirm my fears.
So let's agree on one thing here: You better not post another answer even close to the last one as I will not accept that!

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
4 minutes ago, Jos said:

Not a smart answer and not even close to being funny.

I simply made an observation and must say your answer doesn't take away any doubt but rather seem to confirm my fears.
So let's agree on one thing here: You better not post another answer even close to the last one as I will not accept that!

Jos

this is my post im asking people for help if u don't ike this you can go out !

respect

 

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

9 minutes ago, qassam said:

this is my post im asking people for help if u don't ike this you can go out !

It doesn't work like that so better accept that when any Mod or I don't like what is typed we will simply tell you and you will have to accept that.
There is no if or but about that, so hope I am clear as these are the last words I spend on you.

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
21 minutes ago, Jos said:

It doesn't work like that so better accept that when any Mod or I don't like what is typed we will simply tell you and you will have to accept that.
There is no if or but about that, so hope I am clear as this is the last words I spend on you.

Jos

u can fuck ur self :D i solve it :D by the way im not fucken trying to programming any think evil :D it's just a test for something in my network so keep the fucken answer in ur fucken ass

fuck off ...

qassam

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.