realbasic-nug
[Top] [All Lists]

Re: FolderItem.launch monitoring

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: FolderItem.launch monitoring
From: Anic <anic297@mac.com>
Date: Fri, 29 May 2009 23:33:53 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <2FA65D53-286C-4B3F-BA35-057AFCA2137B@great-white-software.com>
References: <mailman.1421.1243524215.12275.realbasic-nug@lists.realsoftware.com> <A654B52967750C439058C3A5CA373F0903ABEA1A@ucexchange4.canterbury.ac.nz> <e3e2c9250905281404w2d139d33i7e8f57f763b3e5fe@mail.gmail.com> <AB8B60C2-DF1D-4814-A9B6-62D809448D07@great-white-software.com> <D920F59A-832E-45C7-B82B-A5B722A8DFF6@tolisgroup.com> <2FA65D53-286C-4B3F-BA35-057AFCA2137B@great-white-software.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Le 29 mai 09 à 00:39, Norman Palardy a écrit:


On 28-May-09, at 4:05 PM, Tim Jones wrote:



On May 28, 2009, at 2:35 PM, Norman Palardy wrote:



On 28-May-09, at 3:04 PM, Bastian Bense wrote:



I doubt you can do that using folderItem.launch(). The best way to do that (depending on the application you are using) is to use a shell command and
wait until it finishes/terminates.



In an OS X shell you can use open -W and the shell wont complete til the application opened quits Combine -W with -n and then when the user quits the copy of the application you launched you'll be 100% sure it's the right one



One very important tip - make sure the shell is in asynchronous mode (Mode = 2), or your app will appear frozen while the shelled process runs.



ah right ... you may or may not want that but it's a good thing to remember :)


The Apple Interface Guidelines mention that an application should not appear frozen (with the coloured mouse cursor of the spinning ball). I agree with them: when I see an unexpectedly frozen application, I try to force quit it.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>