Jump to content

Recommended Posts

Posted

any assistance how to incorporate this powershell command within autoit

 

powershell.exe -nologo -executionpolicy bypass -WindowStyle hidden -noprofile -command "&Set-WinUserLanguageList -LanguageList fr-CA, en-CA -Force"

  • Developers
Posted

See you had a similar question just over a year ago where you posted the Autoit3 script that would execute a powershell command.. 

...  where you never gave an answer....

So what is the exact issue this time?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Good catch, I am not sure  about that part 1 " -nologo -executionpolicy bypass -WindowStyle hidden -noprofile -command"

Part2 "&Set-WinUserLanguageList -LanguageList fr-CA, en-CA -Force"

should I implement was one string, can you explain it 

  • Developers
Posted

Just make life simply with something like this?:

Run(@comspec & ' /c powershell.exe -nologo -executionpolicy bypass -WindowStyle hidden -noprofile -command "&Set-WinUserLanguageList -LanguageList fr-CA, en-CA -Force"'

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

BTW:

Did you search the forum? IIRC this subject has been discussed a few times.  I even posted in one of this threads :) 

My UDFs and Tutorials:

  Reveal hidden contents

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...