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 repeat end 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:

    
  1. Re: New command suggestion (Kenneth Grome 1997)
  2. Re: New command suggestion (Eddie Schrieffer 1997)
  3. Re: New command suggestion (Kenneth Grome 1997)
  4. Re: New command suggestion (Kenneth Grome 1997)
  5. Re: New command suggestion (Eddie Schrieffer 1997)
  6. Re: New command suggestion (was Re: Modifying databases manually) (Jeremy Pocock 1997)
  7. Re: New command suggestion (was Re: Modifying databasesmanually) (Kenneth Grome 1997)
  8. New command suggestion (was Re: Modifying databases manually) (Dale LaFountain 1997)
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 repeat end 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:

Return records from another (1997) Banner Ad example (Typhoon) and WebCatalog (1997) Ok here is a question? (1997) Exclude by date - multiple (1997) BUG REPORT -- FINAL (1999) Page Counters? (1997) PCS Frames (1997) [/application] error? (1997) Problems with [Search] param - Mac Plugin b15 (1997) 'RequiredField' Question (1998) WebCat2b12--[searchstring] bug (1997) Template transformed itself into a database? (1998) MacAuthorize Problem (1998) 2.1 Stuff (1998) Search results templates (1996) WebCat2b13MacPlugin - nested [xxx] contexts (1997) Unexpected error (1997) Dark Horse Comics success story (1997) Use of & in text areas.... (1998) aol (2000)