Jump to content

Use Autoit3wrapper also on right click explorer options


Recommended Posts

Is it easily possible to change the explorer context actions (right-click actions) like "Compile X64","Compile X86", "Run Script" to use Autoit3Wrapper in compile or run mode? How to do that and is there already an automated way of doing this as the Scite4AutoIt Full Installer obviously doesn't touch these and I quite often use them so this bypasses the #Autoit3Wrapper Directives set in the script.

Link to comment
Share on other sites

I did not find a way to run with wrapper.  Seems that it only compiles.  Maybe @Jos could confirm.  Anyway here what you can do.

1- With RegEdit, create new key in HKCR\AutoIt3Script\shell (call it whatever you like)

2- Inside that new key, create a another new key Command and use this value :

C:\PROGRA~2\AutoIt3\AutoIt3.exe "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /in "%1"

 

Edited by Nine
Link to comment
Share on other sites

  • Developers
1 hour ago, Nine said:

Maybe @Jos could confirm.

This is what the options are: (from SciTEConfig/Other Tools/Run AutoIt3/SciTE check)

******************************************************************************************************************************************
* HKCR\.au3 Default                  : AutoIt3Script
* HKLM\SOFTWARE\Classes\.au3\ShellNew: C:\WINDOWS\SHELLNEW\Template.au3 (File Exists)
* HKCR\.au3 ShellNew                 : C:\WINDOWS\SHELLNEW\Template.au3 (File Exists)
******************************************************************************************************************************************
* Explorer shell options:
* HKCR\AutoIt3Script\shell: 
*  => Default Action:Open
*     Compile                => Command:"C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2Exe.exe" /in "%l"
*     Compile with Options   => Command:"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /in "%l"
*     CompileX64             => Command:"C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2Exe_x64.exe" /in "%l"
*     CompileX86             => Command:"C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2Exe.exe" /in "%l"
*     Edit                   => Command:"C:\Program Files (x86)\AutoIt3\SciTE\SciTE.exe" "%1"
*     Open                   => Command:"C:\Program Files (x86)\AutoIt3\SciTE\SciTE.exe" "%1"
*     Run                    => Command:"C:\Program Files (x86)\AutoIt3\AutoIt3.exe" "%1" %*
*     RunX64                 => Command:"C:\Program Files (x86)\AutoIt3\AutoIt3_x64.exe" "%1" %*
*     RunX86                 => Command:"C:\Program Files (x86)\AutoIt3\AutoIt3.exe" "%1" %*
******************************************************************************************************************************************

So only "Compile with Options" is using Autoit3Wrapper. :) 

Edited by 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 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...