New topic: 

Prevent second copy of app launching when data file opened

<http://forums.realsoftware.com/viewtopic.php?t=30660>

       Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic         Author  
Message       thansen           Post subject: Prevent second copy of app 
launching when data file openedPosted: Mon Oct 26, 2009 12:19 am                
        
Joined: Mon Feb 05, 2007 11:05 pm
Posts: 35              I am using app.OpenDocument to sense when a file has 
been double-clicked, sniffing it, then opening if appropriate.
However if the app is running and another data file is double-clicked, a second 
copy of the app starts.
How do I prevent this?

Have not been able to find info on this in archive, not sure of what keywords 
to search for.
Thanks.   
                            Top               timhare           Post subject: 
Re: Prevent second copy of app launching when data file openedPosted: Mon Oct 
26, 2009 1:36 am                        
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 6617
Location: Portland, OR  USA              Search for Mutex (or look at the 
examples in the Lang Ref).   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to