You are here: PSPad forum > English discussion forum > Re: Code Explorer for AutoHotkey not working

Re: Code Explorer for AutoHotkey not working

#1 Code Explorer for AutoHotkey not working

Posted by: jballi | Date: 2019-04-01 11:35 | IP: IP Logged

I'm a long time user of PSPad but I'm very slow to update. I've just updated to v5.01 from v4.60.

The Code Explorer for AutoHotkey (*.ahk) does not appear to be working at all the new version. It appears to recognize calls to DllCall functions within the code but it doesn't recognize anything else. No labels, functions, classes, etc.

I hope I'm just doing something wrong but I don't know it could be.

Any help would be appreciated.

Options: Reply | Quote | Up ^


#2 Re: Code Explorer for AutoHotkey not working

Posted by: pspad | Date: 2019-04-01 11:48 | IP: IP Logged

Send me come code samples to support mail with description what should appear in Code explorer

Options: Reply | Quote | Up ^


#3 Re: Code Explorer for AutoHotkey not working

Posted by: jballi | Date: 2019-04-01 12:07 | IP: IP Logged

I'm a little surprised at the response since Code Explorer has supported AutoHotkey for many many years (since 2007 I think) but here goes.

Here is a small code sample:

#NoEnv
#SingleInstance Force

gui Margin,50,50
gui Add,Button,gButton1,Press Me
gui Show
return

GUIEscape:
GUIClose:
ExitApp

Button1:
x1:=MyFunc1(22)
x2:=MyFunc2(22)
MsgBox %x1%, %x2%
return

MyFunc1(p1)
{
Return p1+1
}

MyFunc2(p1)
{
Return p1+2
}

In the Code Explorer window, there should be references to the GUIEscape, GUIClose, Button1 labels and to the MyFunc1 and MyFunc2 functions. This sample does not include a class but according to the PSPad History page, "Code explorer for Autohotkey - class support added".

Thank you for your assistance.

Options: Reply | Quote | Up ^


#4 Re: Code Explorer for AutoHotkey not working

Posted by: pspad | Date: 2019-04-01 12:29 | IP: IP Logged

I don't know whats happened. I didn't make any changes intentionally.
Request for code sample will speed up my work when I will look for problem source.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2019 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR