forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Is Reg only way to detect if your hidden dialog is running?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Sun Mar 12, 2006 2:45 pm    Post subject: Is Reg only way to detect if your hidden dialog is running? Reply with quote

Hi ( I really hate to be bothersome again! - sorry)
I have a program running with the below remmed out.
Code:
rem   DIALOG SHOW

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 Question
>> Thank you very much any one who reads this in an help attempt <<
Back to top
View user's profile Send private message Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Sun Mar 12, 2006 6:17 pm    Post subject: Reply with quote

Have you tried:
Code:

  %%class_name = "#theclassname"
  IF @WinExists(%%class_name)
    WINDOW ACTIVATE,%%class_name
    wait "0.1"
    goto close
  END

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group