Micro Focus QTP (UFT) Forums
Language detection and folde rcreation - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Language detection and folde rcreation (/Thread-Language-detection-and-folde-rcreation)



Language detection and folde rcreation - Slayn - 05-07-2012

Hello mates,

I need a script that detects windows language and create a folder in a specific route depending of the system language.

Similar to this idea:

If "Windows System lang = Spanish"
then create folder "C:\Temp"

-----------------

Rest of the code

-----------------

Thank you in advance! Smile


RE: Language detection and folde rcreation - Slayn - 05-07-2012

I heard i should use it with GetLocale but..no idea how to do it, any suggestion?