Jump to content

Recommended Posts

Posted (edited)

So for a while now, I have been silently installing autoit silently using the silent install switch, but there is one tiny little setback which kind of makes the whole thing pointless.  During the installation, I like to set the default behavior when double clicking a script file to open it, which is not the default during the installation or the silent installation.  Is there some switch I don't know about which allows me to configure this setting during a silent installation, or am I just SOL?  

Edited by MattHiggs
Posted

even if no switch for that, you can apply the relevant registry settings after the silent installation is done. i can't tell you which is it, but it should not be hard to find.

Signature - my forum contributions:

  Reveal hidden contents

 

Posted (edited)

Use the SciTeConfig -> Other Tool tab -> Run AutoIt3/SciTE Check.  I have open set for mine.  Here is what is returned. 

  Quote

******************************************************************************************************************************************
* HKCR\.au3 Default       :AutoIt3Script
* HKCR\.au3 ShellNew      :C:\Windows\SHELLNEW\Template.au3 (File Exists)
******************************************************************************************************************************************
* Explorer shell options:
* HKCR\AutoIt3Script\shell: 
*  => Default Action:Open
*     Compile                => Command:"C:\Program Files\AutoIt3\Aut2Exe\Aut2Exe.exe" /in "%l"
*     Compile with Options   => Command:"C:\Program Files\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /in "%l"
*     Edit                   => Command:"C:\Program Files\AutoIt3\SciTE\SciTE.exe" "%1"
*     Open                   => Command:"C:\Program Files\AutoIt3\SciTE\SciTE.exe" "%1"
*     Run                    => Command:"C:\Program Files\AutoIt3\AutoIt3.exe" "%1" %*
*     Tidy                   => Command:"C:\Program Files\AutoIt3\SciTE\Tidy\Tidy.exe" "%1"
******************************************************************************************************************************************

Expand  

Here is the RegWrite call to set it to open.  

RegWrite("HKCR\AutoIt3Script\Shell", "", "REG_SZ", "Open")

 

Adam

 

Edited by AdamUL
Posted
  On 9/29/2016 at 4:40 PM, AdamUL said:

Use the SciTeConfig -> Other Tool tab -> Run AutoIt3/SciTE Check.  I have open set for mine.  Here is what is returned. 

Here is the RegWrite call to set it to open.  

RegWrite("HKCR\AutoIt3Script\Shell", "", "REG_SZ", "Open")

 

Adam

 

Expand  

A gentleman and a scholar.  Thank you sir.  +1 from me.  Also showed me that as far as the scite editor is concerned, I haven't explored its many features nearly enough.  Thanks again.

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