vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Sun Mar 12, 2006 2:45 pm Post subject: Is Reg only way to detect if your hidden dialog is running? |
|
|
Hi ( I really hate to be bothersome again! - sorry)
I have a program running with the below remmed out.
But when I use the below:
| Code: | %%class_name = theclassname
IF @WinExists(#%%class_name)
WINDOW ACTIVATE,#%%class_name
wait "0.1"
goto close
END |
My second time I click same exe, it iqnores the above IF statement and runs also, so I have more than 1 running, where I only want 1 to run.
Is having the programming writing to the registry telling it is running the only way to get around this problem?
I don't have this problem till I rem out the 'DIALOG SHOW'..
It seems I've tried everything else, or is there something I missed
>> Thank you very much any one who reads this in an help attempt << |
|