Search found 169 matches

by Cerberus
28 May 2018, 21:42
Forum: Scripts and Functions
Topic: ExplorerTool – small enhancements of default shell
Replies: 8
Views: 2711

Re: ExplorerTool – small enhancements of default shell

Wow, this is perfect! Each of these functions is highly useful. It works well on Windows XP. One little thing that could make it even more useful is if the new folder could be selected and "rename" activated, because 99% of the time, you would want to give that new folder a name. P.S. What's far? I ...
by Cerberus
28 May 2018, 20:03
Forum: Scripts and Functions
Topic: ObjectSort()
Replies: 3
Views: 1561

Re: ObjectSort()

This looks great. And I'm glad to see very clear examples: a lack of examples often makes it take an hour before I get a script to work. I'm bookmarking this, for I will certainly want to use it in the future.
by Cerberus
28 May 2018, 17:43
Forum: Editors
Topic: Quick tip for anyone using sublimetext
Replies: 5
Views: 4220

Re: Quick tip for anyone using sublimetext

swagfag wrote:i think the original incorrectly considered the following a function definition:

Code: Select all

if(something){
	; whatever
}
Ahh, I see, yes, that's it! I probably never noticed because I always use spaces. I've added it to my .sublime-syntax file.
by Cerberus
28 May 2018, 16:45
Forum: Editors
Topic: Quick tip for anyone using sublimetext
Replies: 5
Views: 4220

Re: Quick tip for anyone using sublimetext

Not sure if this should go in this section or another, but it pertains to writing AHK code using the available plugin in sublime_text. Heres a quick fix a highlighting issue that occurs when writing in OneTrueBrace style with if statements the issue is with this line (78) in the tmLanguage file: ht...
by Cerberus
28 May 2018, 15:22
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 253
Views: 74854

Re: Vis2 - OCR(), ImageIdentify()

Interesting! I did give Capture2Text a try and it seemed like that was a similar process. The Google Cloud Vision would be VERY expensive for what I am doing :shock: For my use, setting it to 2.9 and then sampling 10 times and going with the majority result will work perfect for what I am doing. Gr...
by Cerberus
27 May 2018, 21:39
Forum: Scripts and Functions
Topic: StrUnused prototype function: find unused characters for use as delimiters/separators
Replies: 12
Views: 3013

Re: StrUnused prototype function: find unused characters for use as delimiters/separators

- Btw great avatar. Hey, looks like I forgot to reply. Yours is great as well! I have a userstyle that makes all avatars smaller (and generally makes the fora look much more compact), so initially I never registered what your avatar was and just considered in a random jumble of pixels. But I actual...
by Cerberus
12 Feb 2018, 13:21
Forum: Ask For Help
Topic: Random "bugs" in Autohotkey? Topic is solved
Replies: 44
Views: 8627

Re: Random "bugs" in Autohotkey? Topic is solved

lexikos wrote:
Cerberus wrote:Then I am back at not understanding how {Blind} could help with hotkeys like ^d::^c
This may be beside the point, but ^d::^c is not a hotkey. It is a remapping, and as such already uses {Blind}.
Ah, got it. So I should have said, ^d::Send ^c, right?
by Cerberus
11 Feb 2018, 18:47
Forum: Ask For Help
Topic: Random "bugs" in Autohotkey? Topic is solved
Replies: 44
Views: 8627

Re: Random "bugs" in Autohotkey? Topic is solved

Ugh, my browser closed and I lost everything I had written.. so I'll go with the concise version (sorry). Blind basically does the exact opposite of what you think it does. When Send is used, modifiers, such as shift, are explicitly sent up to avoid altering what you've put there as text to send. S...
by Cerberus
11 Feb 2018, 18:32
Forum: Ask For Help
Topic: Random "bugs" in Autohotkey? Topic is solved
Replies: 44
Views: 8627

Re: Random "bugs" in Autohotkey? Topic is solved

As a little update, Xtra solution does not work 100% of the time. I would say about 90%, which is way greater that the other solutions and it's definitely an improvement. Sometimes it does not work and what it does is delete what was selected, without replacing it with anything... but a great impro...
by Cerberus
11 Feb 2018, 17:32
Forum: Ask For Help
Topic: Random "bugs" in Autohotkey? Topic is solved
Replies: 44
Views: 8627

Re: Random "bugs" in Autohotkey? Topic is solved

So {Blind} should make the hotkey more reliable, even when both the trigger hotkey and the hotkey to send have the same modifiers, in this case control? When you hit the hotkey, ctrl will be down. When you send ^x , control is sent down and up, making ctrl logically up, but physically down. Blind m...
by Cerberus
06 Feb 2018, 19:18
Forum: Ask For Help
Topic: Random "bugs" in Autohotkey? Topic is solved
Replies: 44
Views: 8627

Re: Random "bugs" in Autohotkey? Topic is solved

Here's your fix: {blind} . As it seems to be known already, Ctrl is already being held, and modifier keys in hotkeys aren't hidden as the key they're modifying is. You can read more about blind mode on the send page. ... So {Blind} should make the hotkey more reliable, even when both the trigger ho...
by Cerberus
06 Feb 2018, 19:16
Forum: Ask For Help
Topic: Random "bugs" in Autohotkey? Topic is solved
Replies: 44
Views: 8627

Re: Random "bugs" in Autohotkey? Topic is solved

jeeswg wrote:...
- You could try using ControlGetFocus and ControlSend, this may or may not have any advantage.
- This worked in Firefox, in case it's useful. WM_COPY is not guaranteed to work everywhere.
...
Hey, that's great! I'll try it for a while in Firefox, see whether it is more reliable.
by Cerberus
06 Feb 2018, 17:18
Forum: Scripts and Functions
Topic: Scroll Explorer on middle mouse button drag
Replies: 6
Views: 1906

Re: Scroll Explorer on middle mouse button drag

Very interesting, cool idea!
by Cerberus
06 Feb 2018, 16:26
Forum: Scripts and Functions
Topic: [Script] KeypressOSD - Display key press on screen
Replies: 618
Views: 139197

Re: [Script] KeypressOSD - Display key press on screen

Great script! I'm trying it for a while.
by Cerberus
06 Feb 2018, 15:27
Forum: Ask For Help
Topic: Random "bugs" in Autohotkey? Topic is solved
Replies: 44
Views: 8627

Re: Random "bugs" in Autohotkey? Topic is solved

I, too, have lots of issues with copy (control-c) being unreliable, and keys getting stuck. It also happens sometimes and unpredictably, except that it tends to occur when I'm in a rather intensive programme, such as Firefox. It also happens much more often when the keys are sent from Autohotkey tha...
by Cerberus
06 Feb 2018, 00:11
Forum: Ask For Help
Topic: What do YOU use AHK for?
Replies: 30
Views: 6174

Re: What do YOU use AHK for?

@Cerberus: I never tried it so far, but I think you can use the Windows Task Scheduler to wake up your computer at specific times (and also to put it to sleep again). If it is ok for you to get, for example, once an hour some webscraped information, you could probably use this. Of course, messages ...
by Cerberus
06 Feb 2018, 00:00
Forum: Ask For Help
Topic: Sublime 3 + AutoHotkey? Topic is solved
Replies: 15
Views: 7370

Re: Sublime 3 + AutoHotkey? Topic is solved

There are linter plugins for many other languages, but not for AHK. I was not aware of yours for Sublime Text. If you were to create one for VSC, I'm sure it would be very welcome. I have only created a very basic linter: it can so far mark errors that Autohotkey would detect if you tried to compil...
by Cerberus
04 Feb 2018, 23:47
Forum: Scripts and Functions
Topic: StrUnused prototype function: find unused characters for use as delimiters/separators
Replies: 12
Views: 3013

Re: StrUnused prototype function: find unused characters for use as delimiters/separators

Hmm very interesting idea. I'm still not entirely sure, though, of a real-world scenario where you would really need this? I'm afraid I was unable to understand at a glance the issue in the post you linked to. I sometimes use filler characters in e.g. the replace function in a text editor or some Ta...
by Cerberus
04 Feb 2018, 22:53
Forum: Ask For Help
Topic: What do YOU use AHK for?
Replies: 30
Views: 6174

Re: What do YOU use AHK for?

I believe you cannot send a push message to Autohotkey, so you need to set a timer and poll ever x seconds? I'll look into that sometime eventually. Yes, that is the way to go. It hasn't do to with AHK - it is just how these APIs work in general. But it is not a problem - you just call the Updates ...
by Cerberus
03 Feb 2018, 23:51
Forum: Ask For Help
Topic: What do YOU use AHK for?
Replies: 30
Views: 6174

Re: What do YOU use AHK for?

i use this function. https://autohotkey.com/boards/viewtopic.php?t=24919 bot send message to my private channel. you need know parameters from telegram TelegramBotToken = TelegramBotChatID = function is without feedback, only sending Thanks for the link! I have indeed got that working now. Too bad ...

Go to advanced search