On Monday 14 July 2008, Cor Nouws wrote: > Hi Hal, > > > On Sunday 13 July 2008, Hal Vaughan wrote: > >> I'm using OOo 2.3 on Ubuntu Linux. > >> > >> I have macros that change the paragraph margin indents and want > >> them to be called from specific autotext events, but it's not > >> working. I've defined the macros and the autotext items. I do > >> this: > >> > >> - Edit->AutoText > >> - Pick the AutoText item I want to call a macro > >> - Select from the button to the right AutoText->Macro > >> - The Assign Macro window opens up. > >> - I click on the Macros window and navigate to get to the macro I > >> want (My Macros.Screenwriting.Film.Margin1) > >> - I click Assign to assign this macro to the AutoText before > >> inserting text. > >> - The object path > >> (vnd.sun.star.script:Screenwriting.Film.Margin1?language=Basic&loc > >>ati on=application(.) appears in the table showing that it is > >> assigned to "Before inserting AutoText." > >> - Click OK to close that window > >> > >> Then, from the AutoText window I click on the AutoText item again > >> and go to the Macro window to see if it's assigned and it isn't. > >> Even if I don't do this and just close the AutoText window, it's > >> still not assigned. > >> > >> I can assign the macro to an AutoText, but I can't make it stick. > >> > >> I thought maybe some of the AutoText info was being stored > >> elsewhere than in my home directory so I might not have write > >> permission to the folder, but if that were true, I could not save > >> the AutoText in the first place. > >> > >> So even though I'm doing what seems like the right thing, why > >> can't I assign a macro to an autotext? > >> > >> > >> Thanks for any help on this. > > > > Could someone at least verify if they're having the same trouble > > with this in 2.x or 2.3? > > Sorry for not being responsive before. > Assigning a macro to do some action before/after placing the > autotext, does not work for me with 2.4.1 on XP.
Thanks for checking! So I know it's not me and I have to abandon the idea for now and switch to something else. > Seems like we have to visit IssueTracker... This issue: > http://www.openoffice.org/issues/show_bug.cgi?id=76415 > looks to be the one. This is a weak spot for me -- I don't know if I just am lousy at picking search terms or what, but when I do searches, the more obvious a point is, the more likely I am to miss it! I think I'm going to switch over to a different idea which involves my own form of auto-text using macros. One thing I want to do is keep 4 main macros that are available from any script document I'm working on, but then have specifics, like character names, that are stored only in particular documents and be able to transfer them back and forth. I may do that with a separate text file that goes with each script so one can be loaded and "imported" easily. It's amazing how complex something "simple" like this can get. (It ties in with my other questions about macros.) I operate in two different modes. I'm either programming, in which case I can deal with any technical issues, or I'm in "creative writing" mode, and when I'm like that I'm so absorbed by the story and characters that I can't think about technical issues. I had what was, for me, an almost perfect and fairly simple system on Word Perfect that was great for me and I'm trying to set up something similar under OOo. Of course when I'm done, I'll post it in at least one of the appropriate places. Hal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
