MattHiggs Posted September 29, 2016 Share Posted September 29, 2016 (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 October 2, 2016 by MattHiggs Link to comment Share on other sites More sharing options...
TheDcoder Posted September 29, 2016 Share Posted September 29, 2016 I don't think that silent installation gives you much options though ... EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
orbs Posted September 29, 2016 Share Posted September 29, 2016 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: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
AdamUL Posted September 29, 2016 Share Posted September 29, 2016 (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" ****************************************************************************************************************************************** Here is the RegWrite call to set it to open. RegWrite("HKCR\AutoIt3Script\Shell", "", "REG_SZ", "Open") Adam Edited September 29, 2016 by AdamUL MattHiggs 1 Link to comment Share on other sites More sharing options...
MattHiggs Posted October 2, 2016 Author Share Posted October 2, 2016 On 9/29/2016 at 0: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 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. Link to comment Share on other sites More sharing options...
AdamUL Posted October 3, 2016 Share Posted October 3, 2016 @MattHiggs Your welcome, glad I could help. Adam Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now