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:
There is a bug in 3.0.1 mac plug-in (1998)
file upload type restrictions? (2001)
Emailer setup (1997)
Calculating multiple shipping... (1997)
problems with 2 tags (1997)
Shhh... (2006)
functions... (2005)
What's New Date (2002)
Date problems (1997)
syntax question, not in online refernce (1997)
Free Code Snippet: DHTL News Ticker for WebDNA (2003)
[browsername] not working? (1997)
email messages (1997)
PCS Frames-Default page is solution! (1997)
.txt file (2000)
Support ?? (1997)
Setting up shop (1997)
Format question WC Mac f3 (1997)
WebCatalog Technical Reference (1997)
Count regular expressions in a file (2007)