Jump to content

Recommended Posts

Posted (edited)

Whatever caused these errors has been solved when i replaced

"AutoIt3Wrapper.au3" v18.708.1148.0

with the beta

"AutoIt3Wrapper.au3" v18.708.1148.8

screenshot - 02112018-1100.jpg

screenshot - 02112018-1156.jpg

Edited by careca
  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Posted

So currently all works well ?

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Developers
Posted (edited)
  On 11/2/2018 at 12:04 PM, careca said:

Whatever caused these errors has been solved when i replaced

"AutoIt3Wrapper.au3" v18.708.1148.0

with the beta

"AutoIt3Wrapper.au3" v18.708.1148.8

Expand  

Correct, we fixed that issue here remember?...:  ;)

 

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

Posted (edited)

This is a bit confusing to me so let me recap:

I had installed the SciTE4AutoIt3 v17.224.935.0, when i installed the version on the first post of this topic,

SciTE4AutoIt3 v18.708.1148.0, i would get those errors, when trying to compile or run a script,

now i replaced that file and it works again.

So i would say that maybe this file should be included on a new release of SciTE, let's call it SciTE4AutoIt3 v18.708.1148.8

one that has already got the wrapper included and prevents this error in the future for other people. Makes sense?

Edited by careca
  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

  • Developers
Posted

Understand it can be confusing, but like the link shows, we worked on it and found the issue and was fixed in 18.708.1148.1 as documented in the history.log:

*** Updated AutoIt3Wrapper v18.708.1148.0 (Jos)
    - 18.703.1808.1 renamed "#AutoIt3Wrapper_Au3Stripper_Stop_OnError" to "#AutoIt3Wrapper_Au3Stripper_OnError" with now as options S,C,F,Stop,Continue,ForceUse
    - 18.708.1148.1 Added #include <WinAPIFiles.au3> back in the included file list to ensure backward compatibility.
    - 18.708.1148.2 Added "Tidy_Stop_OnError" support to the AutoIt3Wrapper.INI file.
                    Changed HiDPI settings for Win 10 compatibility.
    - 18.708.1148.4 Added logic to be able to display Console Output of script that have #RequireAdmin while SciTE runs at normal level.
    - 18.708.1148.5 Added support to allow to Stop Execution or Restart for scripts with #RequireAdmin while SciTE runs at normal level.
                    It won't hang anymore when you reply No on the UAC and detect the elevated process didn;t start.
    - 18.708.1148.6 Reverted HiDPI changes made in 18.708.1148.2 as problems are reported. needs investigation.
    - 18.708.1148.7 Changed check for RequireAdmin AutoIt3Wrapper startup.

It is due to the release of Autoit3 you are running which doesn't include WinAPIFiles.au3 in WinAPI.AU3 yet, and we had it removed from AutoIt3Wrapper assuming it always did. 
Either...  That is indeed fixed. :)  

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

Posted

Thank you for the clarification.

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Posted (edited)

@Jos hi, i thought all problems were fixed, but i only tested the run, now when i tried to compile i got this:

 

screenshot - 05112018-1543.jpg

Output

  Reveal hidden contents

 

Edited by careca
  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

  • Developers
Posted

I think I found the issue ......  although the real issue is you are upgrading SciTE4AutoIt3 without upgrading AutoIt3!

Add the below line to Autoit3Wrapper line 51:

#include <APIResConstants.au3>

.. and try again please.

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

Posted

Thanks, that solved it.

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

  • 1 month later...
Posted (edited)

use "SampleControls.au3" to replicate the above mention issue. 

PS: ..but use the newer version with all the #Regions in it. ( I have every version from each distro. from way back :) )

PS2: it happens as the "code plane" is investigated

Capture.png

..when you click this plane right after, then it crashes.

Edited by argumentum

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

  • Developers
Posted

So, run this by me but this time a little less fragmented...  what are the exact steps after I open the SampleControl.au3 to get the crash? :)
ps. I use SciTE 4.1.2 available in Beta so you could also try that before replying.

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

Posted
  On 12/25/2018 at 9:56 PM, Jos said:

use SciTE 4.1.2 available in Beta

Expand  

got me "SciLexer.dll, 2018-11-08 15:14" and "SciTE.exe, 2018-10-18 20:29" and replaced those only. Same experience.
I've discovered that SciTE tabs, with certain scripts, will crash the editor when inspecting "Scintilla1"  with UI Automation tools.
The one I used for this is the Control viewer mod. I put together but troubleshooting that, even Inspect.exe (Active Accessibility Object Inspector (64-bit UNICODE Release)) from Microsoft ( circa 2001) crashes the editor.
So, I've found that if I remove code from SampleControls.au3 in "AutoIt3\Examples\GUI" folder, it does not crash, but can not drill down to what is exactly, I figure that if you run it with the debug on your IDE, maybe you can find the reason for the crash.
The one from Scite's site does not crash, so it must be something introduced when switching from 3.x to 4. x.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

  • Developers
Posted
  On 12/25/2018 at 10:21 PM, argumentum said:

The one from Scite's site does not crash,

Expand  

Which one as the SciTE site also has 4.x?  Also is the AutoIt3 lexer enabled as that is disabled as standard in the official distribution?

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

  • Developers
Posted
  On 12/25/2018 at 10:36 PM, argumentum said:

option in language selector and the F5, F7, etc.,

Expand  

That is what I mentioned, AutoIt3 lexer is disabled ( plus a very old version).  ;)  

I would be happy to check it out to see if it is something in the official distro or our  just our version, but (call me dumb or something) still have no idea where to start and the exact steps to take to make the crash happen.

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

  • Developers
Posted (edited)
  On 12/25/2018 at 10:46 PM, argumentum said:

this should give you the idea

Expand  

No it does not.  I am running them both but can't make it fail. 

So without exact steps I am in the dark.

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

Posted

I've tried on a VM to see if is in this PC only and it replicated the failure.

The steps I take are to use any UI exploration tool. I use  Control viewer mod.

Then load in the editor the "\AutoIt3\Examples\GUI\SampleControls.au3" file.

Then drag the "Browse tool" from CV.exe while "UIA highlight" is enabled, and highlight "Scintilla1", then release the tool.

Then click "Scintilla1" and that should show the crash.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Guest
This topic is now closed to further replies.
×
×
  • Create New...