Re: [libreoffice-users] For macro: how to get current display (keyboard) language?

2016-10-04 Thread Walther Koehler
Try shell command

I use it with many usefull scripts

Walther

Am Dienstag, 4. Oktober 2016 schrieb Cor Nouws:
> Hi Kamil,
>
> Kamil Landa wrote on 03-10-16 12:40:
> > How to get the current language using on keyboard (actual display
> > language) in Libreoffice Basic? I want to create macro for Writer
> > which will do -> if current language is English do thing1, if current
> > language is Czech do thing2.
>
> No experience with that.
> I do know how to get the active locale in LibreOffice, but that prolly
> won't help?
>
> Ciao - Cor
>
> --
> Cor Nouws
> GPD key ID: 0xB13480A6 - 591A 30A7 36A0 CE3C 3D28  A038 E49D 7365 B134 80A6
> - vrijwilliger http://nl.libreoffice.org
> - volunteer http://www.libreoffice.org
> - The Document Foundation Membership Committee Member



-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] For macro: how to get current display (keyboard) language?

2016-10-04 Thread Cor Nouws
Hi Kamil,

Kamil Landa wrote on 03-10-16 12:40:
> How to get the current language using on keyboard (actual display
> language) in Libreoffice Basic? I want to create macro for Writer
> which will do -> if current language is English do thing1, if current
> language is Czech do thing2.

No experience with that.
I do know how to get the active locale in LibreOffice, but that prolly
won't help?

Ciao - Cor

-- 
Cor Nouws
GPD key ID: 0xB13480A6 - 591A 30A7 36A0 CE3C 3D28  A038 E49D 7365 B134 80A6
- vrijwilliger http://nl.libreoffice.org
- volunteer http://www.libreoffice.org
- The Document Foundation Membership Committee Member

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] For macro: how to get current display (keyboard) language?

2016-10-03 Thread Kamil Landa
How to get the current language using on keyboard (actual display language)
in Libreoffice Basic?
I want to create macro for Writer which will do -> if current language is
English do thing1, if current language is Czech do thing2.



--
View this message in context: 
http://nabble.documentfoundation.org/For-macro-how-to-get-current-display-keyboard-language-tp4195607.html
Sent from the Users mailing list archive at Nabble.com.

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted