Hello, respected forum giants
I have this code, which is of type vb in Visual Basic language, and it is responsible for changing the language of the system or Windows
I want to put it when executing a script code procedure, especially when running an automatic form or dialog
I want to know how to put these lines inside the Photoshop script codes
Private Inputlang As New InputLanguages
Private ArabicInput As InputLanguage
Private EnglishInput As InputLanguage
// For Arabic language
Inputlang.ArabicKeyboard()
txtcontrol.RightToLeft = Windows.Forms.RightToLeft.Yes
// For English language
Inputlang.EnglishKeyboard()
txtcontrol.RightToLeft = Windows.Forms.RightToLeft.No
Knowing that txtcontrol here is an input line, but inside a vb form
I want to replace it with edittext inside photoshop script form
Is there a way to do this method or explain how to solve