Jump to content

How to setup Sublime text with AutoIt


kcvinu
 Share

Recommended Posts

Hi all,

I have downloaded autoit package for sublime text and merged the given file(The one in Extras\Editors\Sublime Text\) into it. And then copy the folder to Sublimes Package foder. Then renamed it as "AutoItScript". Then started Sublime Text. Opened an autoit file. Then clicked build. Result is "No build Systems.". What to do ?

Spoiler

My Contributions

Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language.

UDF Link Viewer   --- A tool to visit the links of some most important UDFs 

 Includer_2  ----- A tool to type the #include statement automatically 

 Digits To Date  ----- date from 3 integer values

PrintList ----- prints arrays into console for testing.

 Alert  ------ An alternative for MsgBox 

 MousePosition ------- A simple tooltip display of mouse position

GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function

Access_UDF  -------- An UDF for working with access database files. (.*accdb only)

 

Link to comment
Share on other sites

  • 5 years later...

Hello,

for people, who have the same problems.

I recently switched to Sublime, because i dont like the design of scite.

 

1. Install Sublime

2. Install Autoit. Make Sure to install it in the following path: "C:\Program Files\AutoIt3"  and name it "AutoIt3". My Sublime got a path error because it was named "AutoIt3 x86"

3. Open Sublime

4. Press: ctrl + shift + p

5. Type in: install package control and press enter

6. Wait for MSGBox, press again ctrl + shift + p

7. Type in: package control add repository,

8. insert link in the bottom of Sublime: https://github.com/AutoIt/SublimeAutoItScript and enter

9. Press: ctrl + shift + p, type in: package control: install package and enter

10.Type in: SublimeAutoitScript and enter

11. Reopen sublime and try one of your programs.

 

Additional: 

If you want to see the same programm-output like in scite, then add the following lines in your script. Thanks @ TheDcoder

#include <Process.au3>

$sExe = @ScriptDir & '\GUI Script.exe'

$sLogFile = @ScriptDir & '\output.txt'

$sCommand = @ComSpec & ' /c "' & $sExe & '" > "' & $sLogFile & '"'

_RunDos($sCommand)

 

For people who just want to see their output:

#include <Process.au3> 

$sExe = @ScriptDir & '\GUI Script.exe' $sLogFile = @ScriptDir & '\output.txt' $sCommand = @ComSpec & ' /c "' & $sExe & '" > "' & $sLogFile & '"' _RunDos($sCommand)

 

I hope it works, have fun :) 

 

 

 

 

Link to comment
Share on other sites

  • 3 weeks later...

@Muellerman,

Thanks for the reply. But in my pc, AutoIt was installed  in C:\Program Files (x86)\AutoIt3". 

Spoiler

My Contributions

Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language.

UDF Link Viewer   --- A tool to visit the links of some most important UDFs 

 Includer_2  ----- A tool to type the #include statement automatically 

 Digits To Date  ----- date from 3 integer values

PrintList ----- prints arrays into console for testing.

 Alert  ------ An alternative for MsgBox 

 MousePosition ------- A simple tooltip display of mouse position

GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function

Access_UDF  -------- An UDF for working with access database files. (.*accdb only)

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...