Jump to content

3rd BETA SciTE4AutoIt3 installer


Jos
 Share

Recommended Posts

Ooooh. I now understand what JP was talking about. Even with save.session=0, the last session is always restored by SciTE (not my script). For example, the last session had 2 files in it. You set save.session=0, close SciTE. When you re-open SciTE, those 2 files will still be opened. In order to stop that, you must set save.session=1, close all files and close SciTE. Re-open SciTE so that it's completely empty, set save.session=0.

In other words, SciTE doesn't automatically clear the session file when save.session=0. And apparently the session loading doesn't actually obey the option, it just loads the file if it's not empty. This seems like a SciTE bug to me. SciTE needs to do one of 2 (or both). When closing SciTE with save.session=0, SciTE should just write an empty session file. The code to load session files (automatically) should check save.session and skip loading if it's 0.

Link to comment
Share on other sites

  • Replies 77
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Ooooh. I now understand what JP was talking about. Even with save.session=0, the last session is always restored by SciTE (not my script). For example, the last session had 2 files in it. You set save.session=0, close SciTE. When you re-open SciTE, those 2 files will still be opened. In order to stop that, you must set save.session=1, close all files and close SciTE. Re-open SciTE so that it's completely empty, set save.session=0.

In other words, SciTE doesn't automatically clear the session file when save.session=0. And apparently the session loading doesn't actually obey the option, it just loads the file if it's not empty. This seems like a SciTE bug to me. SciTE needs to do one of 2 (or both). When closing SciTE with save.session=0, SciTE should just write an empty session file. The code to load session files (automatically) should check save.session and skip loading if it's 0.

It is a big day Valik understand me :)
Link to comment
Share on other sites

  • Developers

1/10/2008: Uploaded a second BETA version of the new SciTe4AutoIt3.exe installer.

I have made several changes since the previous Beta to make SciTE4AutoIt3 more Vista compliant and will now change the Rights on directory SciTE to Full for group "Users" and "Power Users" to ensure proper funcioning of SciTE. Also changed the Manifest of the included SciTE program to run it "asInvoker".

Change summary:

- Changes in directory structure to better organise files.

- Changes to better support Vista

- ReWrite of LUA scripts by Valik and my additions to it.

- Please post feedback/issues in this thread.

==> Beta SciTE4AutoIt3 1/10/2007

We have done testing with this version but you understand that things could break when you install this release so I advice to make a copy of your SciTE directory before installation to ensure easy recovery.

Enjoy,

Jos

01/10/2008 - Beta release 2
*** Updated LUA Functions:
    - Added the missing Propercase and Abbreviations LUA functions back into the new LUA files.
    - Added Dynamic tools update checking if AutoIt3 Beta is installed and only showing the tools when it is.
*** Updated Tidy.exe v2.0.23.7 (JdeB)
    - Added: Proper spacing around square brackets.
*** Updated Obfuscator.exe v1.0.24.10 (JdeB)
    - Fixed: Error when TABs are used Infront of Func statements causing Invalid Functionnames.
*** SciTE4AutoIt3 Installer
    - Added: The Installer will run SetAcl to change the ACL/security for the SciTE install directory and files to "Full" for
             the groups "Users" and "Power Users" avoiding security issues when updates need to be made to au3.properties etc.
    - Updated: Recompiled SciTE with changed Manifest to run SciTE "asInvoker".
*** Updated AutoIt3Wrapper_Gui/AutoIt3Wrapper v1.9.5.1 (JdeB)
    - Changed the #AutoIt3Wrapper_Usex64=y logic to use commandline switches to allow x64 compilation on WinXP.
    - Added: #AutoIt3Wrapper_Change2CUI which will run MakeCUI supplied by piccaso and included MakeCUI in the installer.
--------------------------------------------------------------------------------------------------
12/24/2007
*** Updated SciTE v 1.75 (Neil Hodgson)
*** Updated LUA Functions:
    - AutoIt3.LUA removed.
    - Added directory LUA with several files containing the set of new LUA scripts written by Valik and 
      modified by me to be backwards compatible and included the missing functions.
    - Added color which identifies word type to the AutoComplete ToolBox. (Valik)
    - Automatic adjusting horizontal scrollbar. (Valik)
    - The GotoFunc will not search in Commented lines. (Valik)
    - Many internal improvemens. (Valik)
*** Installer (JdeB)
    - Moved all Properties file into the SciTE\Properties directory.
    - Moved SciTEConfig into the SciTE\SciTEConfig directory.
    - SciTE Desktop Icon will not be created anymore by the installer.
    - SciTE program Icon updated with the version created by Saunders.
*** Updated Tidy.exe v2.0.23.5 (JdeB)
    - Fixed: BUG with /SF not properly detect #ce.
    - Fixed: BUG with /SF sorting Funcs commented in a #cs-#ce block.
    - Fixed: BUG with invalid added space when variable ends with underscore character.
    - Fixed: BUG with invalid added space in For when it contained negative numbers after TO and STEP.
    - Added: Proper casing the known # Directives.
    - Added: Copy the Description found on #Region and add it to the #EndRegion line. 
             This can be switched off by parameter /Skip_EndRegion_Comment or /serc
    - Added: /Skip_EndFunc_Comment or /sefc to stop the addition of the text to the EndFunc statement. 
    - Added: /Skip_commentblock or /scb which will leave #cs-#ce commentbock alone.
*** Updated AutoIt3Wrapper_Gui/AutoIt3Wrapper v1.9.5 (JdeB)
    - Fixed: Reshacker install now also works with Vista
    - Fixed: show correct version for au3check in the GUI.
    - Added: Check for ResHacker path in Registry to allow the use of the Installer created by GEOSoft.
    - Added: #AutoIt3Wrapper_UseX64 directive
    - Added: Show Environment information in the Console output to assist with debugging.
    - Fixed: Issue with full path definitions for Ico and Outputpath.
*** Updated Obfuscator.exe v1.0.24.9 (JdeB)
    - Fixed: Error for OnAutoItExit() when specified in: Opt("OnExitFunc", "OnAutoItExit")
    - Added: /SV /StripUnusedVars; Remove All "Global ???" Lines when all declared variables are unused by the script. (Default = 0)
    - Added: /StripOnly option which will strip your script from all unneeded Funcs and Global Variavbles.
             This will be a spacesaver for your output EXE when you are using standard (many) include files.
            /So or /StripOnly Will set the options to: /SF /SV /CV=0 /CF=0 /CS=0 /CN=0
*** Updated Updatedefs.exe v1.4.3.3 (JdeB)
    - Fixed: install issue with Vista
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

  • Developers

You do realize this isn't necessary, right?

- Added: #AutoIt3Wrapper_Change2CUI which will run MakeCUI supplied by piccaso and included MakeCUI in the installer.
When both Prod and Beta support this option natively, I will change it to use that option. Till then will use the external program.

But will be ready for it when that happens .. :)

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

  • Developers

Just tested it with the postred installer and renaming the Beta directory and I got this (test) message in SciTE outputpane :

Need to change au3.properties: BETA_AUTOIT = 0

The Beta options were not shown anymore.

Renamed it back and started SciTE and the test message was shown in the output pane:

Need to change au3.properties: BETA_AUTOIT = 1

What do you get ?

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

Just tested it with the postred installer and renaming the Beta directory and I got this (test) message in SciTE outputpane :

Need to change au3.properties: BETA_AUTOIT = 0

The Beta options were not shown anymore.

Renamed it back and started SciTE and the test message was shown in the output pane:

Need to change au3.properties: BETA_AUTOIT = 1

What do you get ?

Not sure to understand when I start Scite the Value is 0

I change to 1 -> no change in the tools menu for "open include beta"

But I save this modification to 1 by Ctrl-S. close Scite and restart it the value is still back to 0.

Can the au3.properties be modified by this way?

I am not 100% the the access right have been successfully mosify but cannot verify it easily as the display of the last page of the installer just close thepage where the log was displayed.

I think we should modify this final behavor to verify what has been done during the install. that"s the same for AutoIt installer.

Link to comment
Share on other sites

  • Developers

Not sure to understand when I start Scite the Value is 0

I change to 1 -> no change in the tools menu for "open include beta"

But I save this modification to 1 by Ctrl-S. close Scite and restart it the value is still back to 0.

Can the au3.properties be modified by this way?

I am not 100% the the access right have been successfully mosify but cannot verify it easily as the display of the last page of the installer just close thepage where the log was displayed.

I think we should modify this final behavor to verify what has been done during the install. that"s the same for AutoIt installer.

The setting for BETA_AUTOIT is set by the LUA script so there is nothing you need to do manually since its changed back to what the LUA script sees. It checks for AutoIt3\Beta\au3check.dat.

SetACL output isn't displayed when the RC=0, so there is nothing to check in the installer log. Easiest way to check if it worked is to look at the directpoy/file Security properties to see the access for "Users" and "Power Users"

Jos

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

The setting for BETA_AUTOIT is set by the LUA script so there is nothing you need to do manually since its changed back to what the LUA script sees. It checks for AutoIt3\Beta\au3check.dat.

SetACL output isn't displayed when the RC=0, so there is nothing to check in the installer log. Easiest way to check if it worked is to look at the directpoy/file Security properties to see the access for "Users" and "Power Users"

Jos

I understand biut I still prefer the nsis installation which stop on a screen where the looking at the log can be acess.

will the "open include beta" be fix when no beta install?

Link to comment
Share on other sites

  • Developers

I understand biut I still prefer the nsis installation which stop on a screen where the looking at the log can be acess.

will the "open include beta" be fix when no beta install?

The OpenIncludeBeta will be fixed in the next version ..

Ps.. got my Vista VMware running again so can do my own testing again ....

Jos

Edit: the LOG behaviour is consistent with the AutoIt3 installer :D

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

  • Developers

1/12/2008: Uploaded a third version of the BETA version of the new SciTe4AutoIt3.exe installer.

Change summary:

- Changes in directory structure to better organise files.

- Changes to better support Vista

- ReWrite of LUA scripts by Valik and my additions to it.

- Please post feedback/issues in this thread.

==> Beta SciTE4AutoIt3 12/27/2007

We have done testing with this version but you understand that things could break when you install this release so I advice to make a copy of your SciTE directory before installation to ensure easy recovery.

Enjoy,

Jos

01/12/2008 - Beta release 3
*** Updated LUA Functions:
    - Added Ctrl+Shift+J which will jump back to the spot where a Ctrl+J was done.
*** Updated Obfuscator.exe v1.0.24.11 (JdeB)
    - Fixed: issue with finding Include files in some occasions.
*** SciTE4AutoIt3 Installer
    - Updated: Changed the override flag for LUA and most Properties to IfDiff. 
*** Updated AutoIt3Wrapper_Gui/AutoIt3Wrapper v1.9.5.2 (JdeB)
    - Added: #AutoIt3Wrapper_Change2CUI support also to the GUI.
*** au3.Properties
    - Changed the seltetive display for "Open Include Beta"
    - Change descriptionlines so the SciTEConfig Tools menu will not update the some tools.
--------------------------------------------------------------------------------------------------
01/10/2008 - Beta release 2
*** Updated LUA Functions:
    - Added the missing Propercase and Abbreviations LUA functions back into the new LUA files.
    - Added Dynamic tools update checking if AutoIt3 Beta is installed and only showing the tools when it is.
*** Updated Tidy.exe v2.0.23.7 (JdeB)
    - Added: Proper spacing around square brackets.
*** Updated Obfuscator.exe v1.0.24.10 (JdeB)
    - Fixed: Error when TABs are used Infront of Func statements causing Invalid Functionnames.
*** SciTE4AutoIt3 Installer
    - Added: The Installer will run SetAcl to change the ACL/security for the SciTE install directory and files to "Full" for
             the groups "Users" and "Power Users" avoiding security issues when updates need to be made to au3.properties etc.
    - Updated: Recompiled SciTE when changed Manifest to run SciTE "asInvoker".
*** Updated AutoIt3Wrapper_Gui/AutoIt3Wrapper v1.9.5.1 (JdeB)
    - Changed the #AutoIt3Wrapper_Usex64=y logic to use commandline switches to allow x64 compilation on WinXP.
    - Added: #AutoIt3Wrapper_Change2CUI which will run MakeCUI supplied by piccaso and included MakeCUI in the installer.
--------------------------------------------------------------------------------------------------
12/24/2007
*** Updated SciTE v 1.75 (Neil Hodgson)
*** Updated LUA Functions:
    - AutoIt3.LUA removed.
    - Added directory LUA with several files containing the set of new LUA scripts written by Valik and 
      modified by me to be backwards compatible and included the missing functions.
    - Added color which identifies word type to the AutoComplete ToolBox. (Valik)
    - Automatic adjusting horizontal scrollbar. (Valik)
    - The GotoFunc will not search in Commented lines. (Valik)
    - Many internal improvemens. (Valik)
*** Installer (JdeB)
    - Moved all Properties file into the SciTE\Properties directory.
    - Moved SciTEConfig into the SciTE\SciTEConfig directory.
    - SciTE Desktop Icon will not be created anymore by the installer.
    - SciTE program Icon updated with the version created by Saunders.
*** Updated Tidy.exe v2.0.23.5 (JdeB)
    - Fixed: BUG with /SF not properly detect #ce.
    - Fixed: BUG with /SF sorting Funcs commented in a #cs-#ce block.
    - Fixed: BUG with invalid added space when variable ends with underscore character.
    - Fixed: BUG with invalid added space in For when it contained negative numbers after TO and STEP.
    - Added: Proper casing the known # Directives.
    - Added: Copy the Description found on #Region and add it to the #EndRegion line. 
             This can be switched off by parameter /Skip_EndRegion_Comment or /serc
    - Added: /Skip_EndFunc_Comment or /sefc to stop the addition of the text to the EndFunc statement. 
    - Added: /Skip_commentblock or /scb which will leave #cs-#ce commentbock alone.
*** Updated AutoIt3Wrapper_Gui/AutoIt3Wrapper v1.9.5 (JdeB)
    - Fixed: Reshacker install now also works with Vista
    - Fixed: show correct version for au3check in the GUI.
    - Added: Check for ResHacker path in Registry to allow the use of the Installer created by GEOSoft.
    - Added: #AutoIt3Wrapper_UseX64 directive
    - Added: Show Environment information in the Console output to assist with debugging.
    - Fixed: Issue with full path definitions for Ico and Outputpath.
*** Updated Obfuscator.exe v1.0.24.9 (JdeB)
    - Fixed: Error for OnAutoItExit() when specified in: Opt("OnExitFunc", "OnAutoItExit")
    - Added: /SV /StripUnusedVars ; Remove All "Global ???" Lines when all declared variables are unused by the script. (Default = 0)
    - Added: /StripOnly option which will strip your script from all unneeded Funcs and Global Variavbles.
             This will be a spacesaver for your output EXE when you are using standard (many) include files.
            /So or /StripOnly Will set the options to: /SF /SV /CV=0 /CF=0 /CS=0 /CN=0
*** Updated Updatedefs.exe v1.4.3.3 (JdeB)
    - Fixed: install issue with Vista

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

HI,

I see you changed the order to look for includes - great!

But I still get the falsePositive on the CUI.exe :D

And I have one change request: You list every thing you install and so on, but I cannot read it that fast and you close the window automatically after install is complete.

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

  • Developers

But I still get the falsePositive on the CUI.exe :P

You should now have a 18Kb MakeCUI.exe with resource info (not cui.exe) right ?

Is that giving a false positive ?

And I have one change request: You list every thing you install and so on, but I cannot read it that fast and you close the window automatically after install is complete.

You must have been talking to JP today :D

The install log works consistent with AutoIt3 and I don't know what would be important to see there. When any error occurs, a MSGBOX is shown with the needed information.

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

  • Developers

Just re-uploading the installer to fix 2 issues i missed:

Autoit3Wrapper_gui: fixed placing of the checkbox

SciTEGlobal.properties to make the Ctrl+Shift+J working again

Jos

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

You should now have a 18Kb MakeCUI.exe with resource info (not cui.exe) right ?

Is that giving a false positive ?

You must have been talking to JP today :D

The install log works consistent with AutoIt3 and I don't know what would be important to see there. When any error occurs, a MSGBOX is shown with the needed information.

Jos

Hi,

1. yes, the MakeCUI.exe gives me a Viruswarn which I suppose to be a false positive.

see --> http://www.fileuploadx.de//show.php?9d6640...5df4ac.HAP.1379

2. No, I didn't talk to him :P But I want to see what is going on. I do not mind doing one more click to get the installation complete.

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

  • Developers

Just re-uploading the installer to fix 2 issues i missed:

Autoit3Wrapper_gui: fixed placing of the checkbox

SciTEGlobal.properties to make the Ctrl+Shift+J working again

Jos

Its available again ... this time the JumpBAck should be there and working :D

1. yes, the MakeCUI.exe gives me a Viruswarn which I suppose to be a false positive.

This is the version I compiled using Dev++ with the source as published by Piccaso... I dont get any av error on SAV nor AVG ...

Jos

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

I still think it's silly to distribute a program to do the CUI thing. If people really need it that bad with the stable release of AutoIt, they can just copy a beta compiler over. I don't use the compiler that shipped with 3.2.10.0, I use one I built after I finished adding all the command-line options.

Link to comment
Share on other sites

  • Developers

I still think it's silly to distribute a program to do the CUI thing. If people really need it that bad with the stable release of AutoIt, they can just copy a beta compiler over. I don't use the compiler that shipped with 3.2.10.0, I use one I built after I finished adding all the command-line options.

Yea ... smart asses like you and me (ok .. and several others on this forum :D ) are capable of doing that but you know how this works on the greater population.

Just made AutoIt3Wrapper ready for the coming Beta release to support the added CUI option and only include this MakeCUI for the current production version till production also supports it.

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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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