New topic: 

Help App

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        jetpr          Post subject: Help AppPosted: Thu Dec 20, 2012 
10:30 am                                 
Joined: Wed Sep 20, 2006 5:12 pm
Posts: 531
Location: Puerto Rico                How i now is the application is Running so 
no double application running.
     
_________________
Thanks for any contribution  and  God blesses all (I start Using RS in 
10/12/2010)
 Mac Mini with Snow Leopard v10.6.8 and Real Studio 2012r1 Pro And Windows 7 
RS2012r1 Personal  and  Linux RS2012r1 Personal Register user 
   my Hobbies R/C Turbines Jets Models  
                             Top                jakuno          Post subject: 
Re: Help AppPosted: Thu Dec 20, 2012 1:47 pm                         
Joined: Fri Aug 31, 2012 3:56 pm
Posts: 44                On Mac with AppleScript:

on run
 tell application "System Events"
  try
 return count items of (application processes whose name = "ApplicationName")
  on error
 return 0
  end try
 end tell
end run

or with Shell.Execute "ps -xc -o ucomm" and process the Shell.result   
                             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