Jump to content

AutoIt3 not running on Visual Studio Code (Help)


Recommended Posts

Okay so I'm new to AutoIt, I download it and followed the HelloWorld tutorial, naturally hated the SciTe editor for not having dark theme and moved to Visual Studio Code, installed Damien's AutoIt extension for it, here's my current code: image.png.d09cafba9e10f97a6ee641190aadddd3.png I can run it fine by going to my desktop and double clicking the au3 file but when I try to run it on VSC with the Run command it outputs this image.png.239cbdbbcbb4771d46d2ad5cba787893.png I've googled it up but I found nothing helpful, what do I do to fix this issue please? It would mean a lot to me.

Link to post
Share on other sites

Use the full path and file name, obviously AutoIt's folder isn't in the Path on the computer.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to post
Share on other sites
36 minutes ago, BrewManNH said:

Use the full path and file name, obviously AutoIt's folder isn't in the Path on the computer.

how do i change the command that is ran when i click Run on VSC? I cant find anything about that either

Link to post
Share on other sites
  • Developers
15 hours ago, ztg said:

naturally hated the SciTe editor for not having dark theme

Assuming does make ....  ;) 

The Full version does have a dark theme.

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.
  :)

Link to post
Share on other sites

Hi ZTG,

   You need to configure the extension.  I use 4ern in Visual code and when clicking the square extension box I see:

image.png.5ba5edf0ce5bf0f27958f65744d666d0.png

 

The cogged wheel will take you to the configuration menu.  From there you get to change paths for Autoit3.exe, the help path, the info path, and all the other tools you need.

 

Link to post
Share on other sites

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...