[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

RE: automatic alerts



> I'd like to have an alert automatically appear when a writer opens a 
> certain file (file A). The alert would remind him that he needs to update 
> file B if he adds something to file A.

Sounds like something you might be able to do with a FrameScript. 
I don't know FS, but here's an algorithm idea...

on FileOpen
  if numberOfSiblingFiles > 0 then  /* there are related files */
    {
       display "WARNING: When this file is updated, the following
                file(s) must also be updated:" 
         for i = 1 to numberOfSiblingFiles      
           readline siblingFileName   /* name of file that must be updated
*/
           displayline siblingFileName 
         next i   
     }
  else display "No sibling files exist."  

You would need to specify the number and names of the sibling files so that 
FrameScript could interpret them.... maybe something on a reference page? 
(Maybe siblingFileName is in a hypertext marker?) 

Can anyone who actually knows FrameScript and understands hypertext markers
elaborate on this?

HTH,
Ananda Stevens
ananda.stevens@windriver.com


** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **