Hi Rory, >On 2022/06/15 14:04:31 Rory O'Farrell wrote: > > I cannot say for Windows versions as I now only run on linux; > if there is no Environment variable matching the smart tagged keyword, > there is no substitution (in my linux, $(LANG) will be substituted with "en_GB:en" >
Thanks for the hint. You're right. On Windows, the Hanya extension substitutes correctly environment variables (user variables and system variables) displayed in the "Environment Variables" dialog. Best regards, Czesław ср, 15 июн. 2022 г. в 17:32, Czesław Wolański <czeslaw.wolan...@gmail.com>: > Hi all, > > Topic "Predefined Variables'' [1] lists a number of predefined path > variables. > On Windows, the said extension substitutes only: $(temp) and $(path) > > Regards, > Czesław > > [1] > > https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Predefined_Variables > > ср, 15 июн. 2022 г. в 16:40, Matthias Seidel <matthias.sei...@hamburg.de>: > >> Hi Czesław, >> >> Am 15.06.22 um 15:49 schrieb Czesław Wolański: >> > Hi Rory, >> > >> > Thanks for the information. Just for the record - there is no dev builds >> > for Windows available at the moment >> > https://www.openoffice.org/download/devbuilds.html >> Yes, nobody is interested in getting the buildbot running again... ;-) >> > >> > I checked the Hanya example on Windows 7 & 11 with 4.1.12 and with two >> > builds by Matthias (4.1.13 and 4.2). >> > Attempting to install in 4.2 fails (the progress bar stands still in the >> > Extension Manager). >> >> That's one of our release blocker for 4.2.0. Again, nobody is interested >> in fixing it... ;-) >> >> Regards, >> >> Matthias >> >> > As to 4.1.12 and 4.1.13 - the "Environment variable" item doesn't work >> i.e. >> > nothing gets substituted. >> > >> > Best regards >> > Czesław >> > >> > >> > >> > >> > ср, 15 июн. 2022 г. в 13:56, Rory O'Farrell <ofarr...@iol.ie>: >> > >> >> Just for the record, the Hanya example I pointed to works on OpenOffice >> >> 4.5.0 of a few days ago - I have no reason to doubt it will work on >> most if >> >> not all versions of OpenOffice. If tags of form >> $(Environment_variable) >> >> such as $(LANG), $(USER), $(PAPERSIZE) [running on linux -not tested on >> >> Windows or Mac] into the sample file, these can be replaced by the >> >> appropriate value by the Smart tag mechanisms. >> >> >> >> Rory >> >> >> >> On Wed, 15 Jun 2022 13:31:34 +0200 >> >> Czesław Wolański <czeslaw.wolan...@gmail.com> wrote: >> >> >> >>> Hi all, >> >>> >> >>> The extension site, two extensions employing Smart Tags: >> >>> >> >>> (1) "Simple calculator" >> >>> https://extensions.openoffice.org/en/project/simple-calculator >> >>> >> >>> (2) "Latitude and Longitude" >> >>> https://extensions.openoffice.org/en/project/latitude-and-longitude >> >>> >> >>> Both extensions work with version 3.4 >> >>> see / download the recording available at the following link: >> >>> >> >> >> https://drive.google.com/file/d/1Zn6UTTeM_9dJm-oNI3oESCxfUNI7Xh4s/view?usp=sharing >> >>> >> >>> Best regards, >> >>> Czesław >> >>> >> >>> ср, 15 июн. 2022 г. в 10:23, Rory O'Farrell <ofarr...@iol.ie>: >> >>> >> >>>> On Tue, 17 May 2022 17:50:31 +0200 >> >>>> Matthias Seidel <matthias.sei...@hamburg.de> wrote: >> >>>> >> >>>>> Hi Dick, >> >>>>> >> >>>>> Am 17.05.22 um 17:21 schrieb Dick Groskamp: >> >>>>>> Mtthias, >> >>>>>> >> >>>>>> I've seen them in a very oooooold OOo. >> >>>>>> As far as I know it died quietly and has never been seen anymore. >> >>>>> The code is still there... Maybe it could be useful again? >> >>>>> >> >>>>> But has it ever been published officially? >> >>>>> >> >>>>>> Maybe this can shed some light for you: >> >>>>>> https://wiki.openoffice.org/wiki/Writer/Smart_Tags >> >>>>> Thanks for the link! >> >>>>> >> >>>>> I *thought* I did look for it on our Wiki but couldn't find >> >> something. >> >>>> ;-) >> >>>>> Regards, >> >>>>> >> >>>>> Matthias >> >>>> Sorry for the delayed reply. In this posting on the en-Forum, Hanya >> >> gives >> >>>> a short example oxt file (written in python). >> >>>> >> >>>> https://forum.openoffice.org/en/forum/viewtopic.php?p=387917#p387917 >> >>>> >> >>>> I have looked at smart tags from time to time, but always been >> >> distracted >> >>>> by something else. My immediate thoughts are that (for me) they >> might >> >> be >> >>>> useful if general routines were written to permit certain words be >> >>>> recognised (as tags) and the action associated with them be the >> >> popping up >> >>>> of an associate database entry or reports. I'm thinking in terms of >> >> the >> >>>> background information concerned with writing a complex text, be it a >> >>>> fiction or a historical analysis. This is a different method of >> >>>> implementing what is often called a "Writer's Organiser". I remark >> >> that I >> >>>> find the default "smart tag" underlining is barely visible. >> >>>> >> >>>> Hanya's example requires one to enter a tag of form !(text_word) (no >> >> white >> >>>> space) and when it is ctrl clicked upon it will be replaced by an >> >>>> environmental variable. His Recogniser uses a python regular >> >> expression to >> >>>> identify the tags. >> >>>> >> >>>> Rory >> >>>> >> >>>> >> >>>>>> On 2022/05/17 13:56:33 Matthias Seidel wrote: >> >>>>>>> Hi all, >> >>>>>>> >> >>>>>>> While browsing through the code, I found references to "smart >> >> tags": >> >>>>>>> >> >> >> http://opengrok.openoffice.org/search?project=trunk&full=%22smart+tag%22&defs=&refs=&path=%2Fmain&hist=&type=plain&si=full >> >>>>>>> I have never seen that in real life. Can anyone tell me, what a >> >> smart >> >>>>>>> tag is? >> >>>>>>> Are there any extensions using this? >> >>>>>>> >> >>>>>>> Regards, >> >>>>>>> >> >>>>>>> Matthias >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >> --------------------------------------------------------------------- >> >>>>>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >> >>>>>> For additional commands, e-mail: dev-h...@openoffice.apache.org >> >>>>>> >> >>>> >> >>>> -- >> >>>> Rory O'Farrell <ofarr...@iol.ie> >> >>>> >> >>>> --------------------------------------------------------------------- >> >>>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >> >>>> For additional commands, e-mail: dev-h...@openoffice.apache.org >> >>>> >> >>>> >> >> >> >> -- >> >> Rory O'Farrell <ofarr...@iol.ie> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >> >> For additional commands, e-mail: dev-h...@openoffice.apache.org >> >> >> >> >> >>