Re: New command suggestion
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13878
interpreted = N
texte = Hi Ken,>I was wondering if you might be able to show me how to write>an AppleScript that can:>1- Check to see if the Rumpus application is running or not (even if>it has some name other than Rumpus such as Rumpus 1.1.1b5 or>Rumpus Pro 1.2 for example), and ...>2- If it is running, send it an AppleEvent.>What do you think, is this even possible?Sure...tell application Finder set theAppsList to processes repeat with tryThisApp in theAppsList if (tryThisApp as string) contains Rumpus then tell tryThisApp activate --(replace this with your AE) end tell end if end repeatend tellWhat is Rumpus?Ken,>BTW, In case anyone got the wrong impression about this discussion, I>just want to make it clear that there is *NO SUCH THING* as a>[PurgeDatabase] tag in WebDNA.I feel sheepish. I came in on your thread late. I thought there was a[PurgeDatabase]. Thanks for info.Eddie
Associated Messages, from the most recent to the oldest:
Hi Ken,>I was wondering if you might be able to show me how to write>an AppleScript that can:>1- Check to see if the Rumpus application is running or not (even if>it has some name other than Rumpus such as Rumpus 1.1.1b5 or>Rumpus Pro 1.2 for example), and ...>2- If it is running, send it an AppleEvent.>What do you think, is this even possible?Sure...tell application Finder set theAppsList to processes repeat with tryThisApp in theAppsList if (tryThisApp as string) contains Rumpus then tell tryThisApp activate --(replace this with your AE) end tell end if end repeatend tellWhat is Rumpus?Ken,>BTW, In case anyone got the wrong impression about this discussion, I>just want to make it clear that there is *NO SUCH THING* as a>[PurgeDatabase] tag in WebDNA.I feel sheepish. I came in on your thread late. I thought there was a[PurgeDatabase]. Thanks for info.Eddie
Eddie Schrieffer
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[OT] - Integration of Swish-e Search Engine (2004)
How true is this? (1999)
Mac 2.1b2 speed (1997)
WC on Mac OS X or Mac OS X Server 2.x (2001)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
Forms Search Questions (1997)
Test again - Am I seeing double? (2003)
WebCat2: Items xx to xx shown, etc. (1997)
Shopping problems with 2.1b3 acgi (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Passing Username and Password on the command line (2000)
Banners and sort of random display (1997)
shortening the cart (1998)
Feature discussion: simple way for [url] and [convertchars] (2000)
Likelihood of a duplicate (2005)
This is an odd error (2001)
selling? (2001)
WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997)
2 passwords (2003)
Re(4): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998)