Way cool Klaus -- just what I was thinking of. Art
Art Campbell art.campb...@gmail.com "... In my opinion, there's nothing in this world beats a '52 Vincent and a redheaded girl." -- Richard Thompson No disclaimers apply. DoD 358 On Fri, Feb 6, 2009 at 3:18 PM, Klaus Mueller <muelle...@web.de> wrote: > Hello Joe, > > You can use FrameScript to update the content of > your user variable on specific events. > If you have FrameScript, install the script below > and manually insert a variable named "DocModified" > into your documents. > > The following "events" were considered: > Keyboard text changes (inserting, deleting), pasting > anything from the clipboard, inserting objects > (anchored frame, table, marker, footnote, math) and > changes from the find/change dialog. > > 8< - - - - - - - - - - - - - - - - - - - - - - - > > Event Initialize > Set gvChanges = '3570 274 275 803 559 849 '+ > '848 3968 854 3920 3921 3922 562 563 564'; > New EDateTime NewVar(gvEdtMod); > EndEvent > > Event NotePostFunction > Find String(IParm) InString(gvChanges) > WholeWord ReturnStatus(lvIsChange); > If (not lvIsChange) LeaveSub; EndIf > Get Object Type(VarFmt) Name('DocModified') > NewVar(lvVarFmt) DocObject(ActiveDoc); > If (not lvVarFmt) LeaveSub; EndIf > Run gvEdtMod.SetCurrTime; > Run gvEdtMod.Format FormatStr('%c') NewVar(lvDate); > Set lvVarFmt.Fmt = lvDate; > EndEvent > > Event Terminate > Delete Object(gvEdtMod); > EndEvent > > 8< - - - - - - - - - - - - - - - - - - - - - - - > > Kind regards, > Klaus > > > --- Original Message --- > From: Joseph > Date: 06.02.2009 19:45 >> Hi Art, >> >> Unfortunately, I don't think your solution works in my case. >> >> This book is a features and specifications document, consisting of about 600 >> or so different frame files. The content of each frame file is mostly >> independent of one another. The update process is based on the information >> provided to us by the engineers, which is piece meal and inconsistent. We do >> not know when we will receive additional content nor are we generally >> provided with all the information at once. >> >> As a result, there's no set time or set amount of information that dictates >> when and what files will be updated in this book. On top of that there are 3 >> different writers all updating different files at different times. This >> situation in combination with our workload (working on 500 things at once), >> means that our team is forgetting to manually update this one aspect of the >> frame file. Since we don't have the power to change the workflow, we have >> two options. >> >> 1. Either train ourselves to start updating this date manually >> 2. Or find a process that would automate it, thus removing the possibility >> of human error >> >> With your solution, it would still require someone to remember to do this . >> In addition, it would seem even more complicated to the other writers then >> simply typing in the current date. >> >> Sincerely, >> Joe > > _______________________________________________ > > > You are currently subscribed to Framers as art.campb...@gmail.com. > > Send list messages to fram...@lists.frameusers.com. > > To unsubscribe send a blank email to > framers-unsubscr...@lists.frameusers.com > or visit > http://lists.frameusers.com/mailman/options/framers/art.campbell%40gmail.com > > Send administrative questions to listad...@frameusers.com. Visit > http://www.frameusers.com/ for more resources and info. > _______________________________________________ You are currently subscribed to Framers as arch...@mail-archive.com. Send list messages to fram...@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.