Good point Jeff, and since this came out of my class, one I should have
thought of (we were always using it as a global app in class work).
 
Rick could also leave it associated with notepad and add code to see if it's
already running, and stop the second and subsequent starts from running (I
believe GW does this in one of their apps); in practical terms I think it's
not worth doing, just thought I'd mention the idea just in case anyone
thinks there's a problem with it.
 
Chip
 
  _____  

From: Jeff Weiss [mailto:[email protected]] 
Sent: Sunday, April 24, 2011 3:26 PM
To: [email protected]
Subject: Re: NotePad2011 seems to be good now


Your app is now working.  That's great!!
Now, I have one problem that can come up if you have several notepad files
opened at once.
Since your file is associated with notepad, each time notepad is started, an
instance of your notepad 2011 app is loaded as well.  When you then open a
duplicate of any of the files that are opened, each instance of your app
will fire.  That means that you may hear the warning several times.
To solve this problem, I recommend that in your next update, you associate
the app globally.  This means that the app will only run once.  It will wait
patiently in the background for notepad to be launched.  If the app is
associated globally, you would only get one warning message when the app
detects multiple

copies of the same file opened at a time.
Hope this helps,
jeff weiss
 
 
----- Original Message ----- 
From: RicksPlace <mailto:[email protected]>  
To: [email protected] 
Sent: Sunday, April 24, 2011 6:06 AM
Subject: NotePad2011 seems to be good now

Hi: I updated everything and uploaded it. I then renamed all my files:
NotePad2011.vbs xml and wepm. Then unloaded the original script in
appManager, removed the files using AddRemove and renamed NotePad2011.wepm
to get ready for a clean install.
I used Jamal's install script to install the package.
It installed and is working as expected.
Not ReAdding the vbs and xml files were causing the problem - the old
versions were being ReUploaded.
So,it looks like it is working. If you try it out could you let me know if
you get the warning if you try and open more than one copy of a NotePad
document at the same time?
Thanks:
Rick USA 

Reply via email to