loganch / AutoIt-VSCode

AutoIt Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=Damien.autoit
MIT License
74 stars 25 forks source link

i need to run vs code as admin to launch scripts #189

Open Zvendson opened 1 year ago

Zvendson commented 1 year ago

image

i always got this error while trying to syntax check or launch scripts until i ran vs code as admin.

I also have autoit installed on a different disk but i ve set those paths as you can see. Yes i did reinstall the extension multiple times and i also uninstalled vs-code and delete all existing files.

Any clue or solution?

vanowm commented 1 year ago
  1. Did you install SciTE as well?
  2. Have you tried running scripts from SciTE?
  3. Have you tried running scripts directly from explorer?

It could also be wrong file permissions on your D:\*

Zvendson commented 1 year ago
  1. i was using the full version of it before and still no problems - so yes
  2. yes, no problems
  3. yes, no problems as well

Hmm permissions look fine, would need to know what wrong permission are but i doubt that, since vscode is also installed in D:*

vanowm commented 1 year ago

Compare the paths shown in SciTE and VSCode when run the script. Make sure they are the same. And also, copy the entire line of path from both SciTE and VSCode and try execute it manually in CMD window.