SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post a reply


In an effort to prevent automatic submissions, we require that you type the text displayed into the field underneath.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by HotKeyIt » 05 Jan 2017, 16:35

Thanks lexikos, I have updated AHK_H to support context_names properly and created a Pull request.

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by lexikos » 04 Jan 2017, 22:23

It could be changed to use the context_names dbgp command instead of hard-coding the context names and IDs, presuming that AutoHotkey_H responds correctly to that command.

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by evilC » 04 Jan 2017, 15:25

HotKeyIt has implemented a tweak of DebugVars to make global vars show up when using AHK_H.

You can find it here. Just edit DebugVars.ahk as indicated by that page - so basically you just need to make 2 edits on lines 250 and 269

Lex - If we can figure out a way to make it play ball with L and H, are you happy to fold in the changes to your Scite fork? H reckons he can detect whether the script being debugged is running under H or L, so if we just slap a conditional in there to use this altered code for H, are you willing to merge that?

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by Klark92 » 21 Dec 2016, 17:45

I hate sciTe's one property, it runs and follows exe, how can I close that feature ?, because sometimes it runs double time!!

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by JJohnston2 » 17 Dec 2016, 20:49

Yessss... awesome. I tried to "Inspect variable" previously and it wasn't working so figured I might be doing something wrong. Not sure what I changed but it is working ok now. Thanks for the summary description of where to find it.

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by evilC » 17 Dec 2016, 20:10

It's used whilst debugging.
Debug a script, and a new button appears in the toolbar.
You can monitor the values of variables while your script runs

Hit the green bug, then the blue play icon, then the "variable list" icon to the right.
Or right-click a variable in the source and "Inspect variable"

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by JJohnston2 » 17 Dec 2016, 19:56

Thanks!... works... starts without error and I see the DebugVars files in the SciTE folders now.

Does this just include the files with the SciTE installation, or does it add something as a new feature or menu option into SciTE?--haven't figured out how to access/use it yet if so. I went through the readme.md files on the GitHub pages also but they aren't aimed at an explanation of the SciTE integration--haven't tried run it separately besides the SciTE build above so maybe that will provide some clarity next.

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by evilC » 17 Dec 2016, 15:07

Yup, I goofed. Zip was missing InternalAHK.exe
This has been fixed. Either re-download, or just pop the latest U32 AHK_L into the Scite folder as InternalAHK.exe

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by haichen » 17 Dec 2016, 05:17

I think the InternalAHK.exe has to replaced with the newest (renamed) AutoHotkeyU32.exe ?

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by evilC » 16 Dec 2016, 21:19

I swear I was getting that error until I replaced the InternalAHK.exe with the latest AHK, maybe I goofed?
Can anyone else confirm if it is working or not for them?
When you unzipped, did you overwrite a bunch of files? Maybe the files went to the wrong place?

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by JJohnston2 » 16 Dec 2016, 20:14

Thanks evilC... very convenient for you to zip and attach.

I was hoping that method would work but may have to try something else as I am getting COM errors (may not be related to the zipped files themselves of course).

Msg 1:"SciTE4AutoHotkey: Can't create COM interface! Some program functions may not work [Ok]"

Msg 2: "SciTE4AutoHotkey: Cannot find SciTE! [Ok]"

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by evilC » 16 Dec 2016, 08:53

I managed to apply the patch, so for those who are also having trouble, here is what I did:
Download Cygwin from here: https://cygwin.com/install.html
When installing, at the stage when it pops up the packages, you need to add the "patch" package (Select "Full" from the dropdown and search for "patch"). If you miss it, just re-run the installer.

Then open a cygwin terminal and follow the instructions for the patch syntax.
The rest I found straightforward.

For those just wanting instant gratification, I have uploaded a pre-built copy to my website.
Just download the normal Scite4AHK installer, install it, then unzip this zip and overwrite files.
http://evilc.com/files/ahk/misc/S4AHK.zip

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by hugin » 15 Dec 2016, 20:31

Started my Ahk Scripting with Notepad++, now I can't think of using anything other than SciTE4 ;)

Question, is the editor still alive when it comes to updates, bug-fixing etc?
As it is, it covers my needs to the fullest so I don't need for anything newer version per say, I'm just curious I guess :)

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by joedf » 28 Nov 2016, 19:03

interesting method of updating... :think:

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by evilC » 28 Nov 2016, 15:38

Very, very cool.

I can't seem to get Scite to build.
Patch.exe is not a normal windows executable?
I tried patch for windows, but when I ran the patch -p1 command, a console window flashed up briefly, but nothing seemed to happen - I see no .sln files.
What folder should you execute the patch command in? The root of the unzipped scite360.tgz with the scintilla and scite folders in?

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by joedf » 27 Nov 2016, 19:12

Very nice :+1:

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by lexikos » 26 Nov 2016, 22:52

I have entirely replaced the variable lists and object explorer with something more to my liking.
https://github.com/Lexikos/SciTE4AutoHotkey/

See DebugVars for details.

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by guest3456 » 18 Nov 2016, 10:48

couple things broken in the portable version:

- Run Script from toolbar doesn't work
- menu Tools -> S4AHK Diag Util

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Post by joedf » 10 Oct 2016, 09:35

Yes, I believe it is due to windows failure to connect or attach some times. Usually because of lag, windows background updates,, etc
Happens to libcon.ahk

Top