Search found 126 matches

by Cerberus
01 Feb 2018, 22:43
Forum: Ask For Help
Topic: Dbgp.ahk (by Lexikos): how can I set a breakpoint, and how can I continue?
Replies: 6
Views: 670

Re: Dbgp.ahk (by Lexikos): how can I set a breakpoint, and how can I continue?

What follows is a modified version of dbgp_test.ahk where a breakpoint is set on line 3: Sorry I had no time to test and reply earlier, thank you so much!! And you posted actual finished/working code, too! I'm very happy. Now I can create a basic debugger. I can set several break points and do some...
by Cerberus
30 Jan 2018, 18:18
Forum: Ask For Help
Topic: Dbgp.ahk (by Lexikos): how can I set a breakpoint, and how can I continue?
Replies: 6
Views: 670

Dbgp.ahk (by Lexikos): how can I set a breakpoint, and how can I continue?

[Update: corrected typo sb → bs.] I am trying to learn how to use Dbgp.ahk, made by Lexikos: https://github.com/Lexikos/dbgp But I have no idea how to begin. The includes scripts Dbgp_test.ahk and Dbgp_console.ahk connect to a script perfectly fine. Dbgp_test.ahk also shows the correct lines that ar...
by Cerberus
30 Jan 2018, 17:02
Forum: Ask For Help
Topic: What do YOU use AHK for?
Replies: 30
Views: 3166

Re: What do YOU use AHK for?

mustang wrote:Parsing HTML data from many site and send Telegram msg if find news.
...
Hey, I'm curious: how do you use Autohotkey to send a Telegram message to a specific recipient? That would be a cool way of communicating with my phone!

Oh, and is it easy to get the content of a new message in Windows?
by Cerberus
30 Jan 2018, 16:56
Forum: Ask For Help
Topic: Sublime 3 + AutoHotkey? Topic is solved
Replies: 15
Views: 2927

Re: Sublime 3 + AutoHotkey? Topic is solved

Cool. I presume there is no linter for Autohotkey? I've created one that works for Sublime. I've not heard of any other linters.
by Cerberus
29 Jan 2018, 16:12
Forum: Ask For Help
Topic: Why isn't it printing the full line?
Replies: 1
Views: 128

Re: Why isn't it printing the full line?

The exclamation mark stands for alt, so you're sending alt-f. Enclose the ! in curly braces: {!}.

Or use SendRaw instead of Send. It will send even special characters as they are, so it will send ! as an actual exclamation mark.
by Cerberus
29 Jan 2018, 15:28
Forum: Ask For Help
Topic: Sublime 3 + AutoHotkey? Topic is solved
Replies: 15
Views: 2927

Re: Sublime 3 + AutoHotkey? Topic is solved

I generally thought that with everything in place, it worked quite nicely for AHK. Two reasons I kept looking were: (1) It is not meant to be used past a trial period without purchasing, and I was looking for something I could install and use in many places. (2) It would have been a pain to try to ...
by Cerberus
29 Jan 2018, 14:20
Forum: Ask For Help
Topic: Sublime 3 + AutoHotkey? Topic is solved
Replies: 15
Views: 2927

Re: Sublime 3 + AutoHotkey? Topic is solved

I'm not sure which I used. I have since moved on to Visual Studio Code as my primary AHK editor, and I no longer have Sublime Text 3 installed. Out of curiosity, why have you moved on? What was it that you didn't like about Sublime? And can Visual Studio Code really do everything that Sublime can, ...
by Cerberus
29 Jan 2018, 14:18
Forum: Ask For Help
Topic: Sublime 3 + AutoHotkey? Topic is solved
Replies: 15
Views: 2927

Re: Sublime 3 + AutoHotkey? Topic is solved

masheen wrote:I find this https://github.com/ahkscript/SublimeAutoHotkey (not work)
Also try install ahk syntax highlighting via Package Control (not work)

Is there a working ahk syntax highlighting for sublime 3?
That package works perfectly for me. So maybe you need to reinstall, try more things?
by Cerberus
28 Jan 2018, 22:55
Forum: Wish List
Topic: Switch/Case statement
Replies: 14
Views: 9013

Re: Switch/Case statement

As Jeeswg says, one can always use another way instead of case/switch. However, case/switch is uniquely accessible and clear. The first time I ever saw case/switch in a bunch of code, I immediately understood more or less what it would do. It's easy to understand and to learn for laymen, which fits ...
by Cerberus
28 Jan 2018, 13:26
Forum: Editors
Topic: Sublime Text Resources - [plugins, lang files, etc.]
Replies: 17
Views: 17259

Re: Sublime Text Resources - [plugins, lang files, etc.]

Thank you, everyone, for these great tips! I've added a couple to my Sublime Text. As to properly highlighting function definitions where the curly brace comes on the next line, it cannot be done in Sublime Text, it's hardcoded that way. The problem is that a regex cannot look beyond the end of the ...
by Cerberus
28 Jan 2018, 02:57
Forum: Ask For Help
Topic: Debug with Sublime Text
Replies: 5
Views: 1355

Re: Debug with Sublime Text

I remain hopeful! Anyone happened to have figured this out yet? :D I haven't! It seems Sublime Text Xdebug just doesn't interact with the code from the Autohotkey script that I'm trying to debug. The debugger does seem to connect to Autohotkey: the state of the variables and the stack are shown cor...
by Cerberus
22 Aug 2017, 17:47
Forum: Ask For Help
Topic: Cannot use a variable inside getElementById
Replies: 16
Views: 1461

Re: Cannot use a variable inside getElementById

Huh, when does capitalisation matter in Autohotkey?
by Cerberus
17 Aug 2017, 21:28
Forum: Announcements
Topic: [closed][POLL] Commissions sub-forum
Replies: 107
Views: 18572

Re: [POLL] Commissions sub-forum

Masonjar13 wrote:Such posts are largely discouraged and often untouched (or people post bits that will help them write it). I would prefer if they weren't present, but those should remain in Ask for Help if they do come up.
OK, makes sense. So the essential criterion is the offer of money.
by Cerberus
17 Aug 2017, 19:33
Forum: Ask For Help
Topic: window drag resize script update
Replies: 3
Views: 254

Re: window drag resize script update

In addition to what Wolf said, if you want it to work only with the left Windows key, use <# instead of #.
by Cerberus
16 Aug 2017, 22:08
Forum: Scripts and Functions
Topic: Screen clipping
Replies: 163
Views: 38165

Re: Screen clipping

Great script! I saw you using it in one of your videos and immediately saw how useful it could be, but I had no idea what it was at the time. Later I found it here. I've integrated the Imgur bit into the version from the first(ish?) post in this thread. In addition, I've replaced the WIA bit in the ...
by Cerberus
16 Aug 2017, 17:58
Forum: Announcements
Topic: [closed][POLL] Commissions sub-forum
Replies: 107
Views: 18572

Re: [POLL] Commissions sub-forum

I have a question. I saw some people talking about how the Ask For Help forum should remain the place to be for people who want to "learn" to write code, whereas the Commissions forum would become the place for people who want others to do their work for them. What will we do with questions where th...
by Cerberus
15 Aug 2017, 11:50
Forum: Ask For Help
Topic: List of triggers (commands, etc.) that launch new threads Topic is solved
Replies: 6
Views: 764

Re: List of triggers (commands, etc.) that launch new threads Topic is solved

Helgef wrote:In addition, functions called via address retrieved from registercallback without the fast option are called in new threads. Eg,

Code: Select all

dllcall(registercallback("f"))
f(){
	msgbox 
}
Added!
by Cerberus
14 Aug 2017, 20:39
Forum: Ask For Help
Topic: List of triggers (commands, etc.) that launch new threads Topic is solved
Replies: 6
Views: 764

Re: List of triggers (commands, etc.) that launch new threads Topic is solved

Yes, I think you get where you want to be. Custom menu item include TrayMenu, right click menus, GuiMenus, any menu, free floating (popup Menu) whatever you want to call it menu. Any menu item needs a "gLabel" so AHK can start a thread there - in case of a menu it's not called gLabel it a parameter...
by Cerberus
11 Aug 2017, 20:57
Forum: Forum Issues
Topic: Titles set to display: none;
Replies: 7
Views: 1260

Re: Titles set to display: none;

While I agree that the blink is slightly distracting, it's not an issue, and having a title displayed for each message would be far more distraction, in my humble opinion.

Go to advanced search