Search found 2539 matches

by guest3456
17 Feb 2019, 18:20
Forum: Other Programming Languages
Topic: JavaScript vs AutoHotKey (Simple Speed Test)
Replies: 52
Views: 4815

Re: JavaScript vs AutoHotKey (Simple Speed Test)

tank wrote:
04 Feb 2019, 09:36
I am tempted to lock this debate but i am honestly curious how stupid it can get.
this "User" user has been just as stupid in other threads as well.
by guest3456
15 Feb 2019, 10:07
Forum: Bug Reports
Topic: WinMove not moving windows in Windows 10
Replies: 2
Views: 396

Re: WinMove not moving windows in Windows 10

first, AHK's WinMove command simply wraps the microsoft MoveWindow api anyway. That's the whole point of AHK, to use 1 line of code instead of 20. You can see that here at line 2178: https://github.com/Lexikos/AutoHotkey_L/blob/65cbbe1f16a4d6163429d28ec7190a01990cb227/source/script2.cpp#L2178 @gregs...
by guest3456
28 Dec 2018, 11:36
Forum: Ask For Help
Topic: How to dynamically pass the minimum required parameters returned by "IsFunc()" to functions?
Replies: 10
Views: 743

Re: How to dynamically pass the minimum required parameters returned by "IsFunc()" to functions?

Wow, just found out that "OnMessage()" fails if function requires more than 4 parameters! read the manual: https://autohotkey.com/docs/commands/OnMessage.htm Failure Failure occurs when Function: 1. is not an object, the name of a user-defined function, or an empty string; 2. is known to require mo...
by guest3456
28 Dec 2018, 09:31
Forum: Forum Issues
Topic: [img height=50] ? possible?
Replies: 4
Views: 518

Re: [img height=50] ? possible?

i think what you're asking is that embedded images using the [img] tag, be able to be smaller, or even real-size. this was annoying to me too. i think its a chrome issue though. i think chrome auto expands images or something. because i would see it on imgur too. could be wrong
by guest3456
23 Dec 2018, 13:26
Forum: Ask For Help
Topic: [GroupAdd] - Does "GroupAdd" command remove from groups the Hwnd Ids of windows that don't exist anymore?
Replies: 1
Views: 186

Re: [GroupAdd] - Does "GroupAdd" command remove from groups the Hwnd Ids of windows that don't exist anymore?

you've posted no code, but, Window2's hwnd would be included to the Group when it is created, even if it didn't exist at the time of the GroupAdd. i don't believe AHK enumerates the group until it comes time for you to actually do something with it, like use GroupActivate or use ahk_group
by guest3456
20 Dec 2018, 10:19
Forum: Ask For Help
Topic: Desktop Composition Slowing PixelGetColor Function From 70ms To 50sec. Any Workaround? Topic is solved
Replies: 17
Views: 1326

Re: Desktop Composition Slowing PixelGetColor Function From 70ms To 50sec. Any Workaround? Topic is solved

from my memory, PixelGetColor will not allow you to get pixels from windows that are hidden behind other windows. it will only allow you to get pixels from the topmost visible portions of the screen to get pixels from windows that are hidden behind others, desktop composition MUST be enabled the abs...
by guest3456
17 Dec 2018, 07:27
Forum: Ask For Help
Topic: ahk_id in EXCLUDETITLE for window groups?
Replies: 2
Views: 283

Re: ahk_id in EXCLUDETITLE for window groups?

Hello guest3456 :wave:. i think the ExcludeTitle params only accept text, and dont accept any of the ahk_* criteria that the WinTitle does Unfortunately, that is correct. Cheers. are there any clever ways i could achieve this? i mean i guess i could just save the hwnds in my own comma separated lis...
by guest3456
16 Dec 2018, 14:45
Forum: Ask For Help
Topic: ahk_id in EXCLUDETITLE for window groups?
Replies: 2
Views: 283

ahk_id in EXCLUDETITLE for window groups?

might be having a brain fart, but can i do this somehow? #Persistent Loop 3 { Run, notepad.exe,,, thispid WinWait, ahk_pid %thispid% WinMove, ahk_pid %thispid%,, 200*(A_Index-1), 0, 200, 200 } GroupAdd, NotepadGroup, ahk_class Notepad SetTimer, ShowTooltip, 100 return ShowTooltip: MouseGetPos,,, mou...
by guest3456
15 Dec 2018, 21:58
Forum: Ask For Help
Topic: Seemingly illogical "unexpected }" error Topic is solved
Replies: 5
Views: 404

Re: Seemingly illogical "unexpected }" error Topic is solved

else MsgBox, cool2 { The error may be caused by having the MsgBox interfering with the braces. I edited out the MsgBoxes and now I am not receiving an error but now it's not outputting anything, the intent is for it to enter the variable's value into a field, is the application I'm trying to enter ...
by guest3456
14 Dec 2018, 10:30
Forum: Ask For Help
Topic: Align code lines on = ?
Replies: 4
Views: 426

Re: Align code lines on = ?

its a good exercise but you could also just learn to use a better text editor (such as Vim) which can add plugins to do all types of things like this: https://github.com/tommcdo/vim-lion https://github.com/junegunn/vim-easy-align these plugins can handle things like multiple "=" on the same line, al...
by guest3456
12 Dec 2018, 00:04
Forum: Forum Issues
Topic: forcing "www"?
Replies: 3
Views: 456

Re: forcing "www"?

doesn't matter, i'm always getting redirected now i logged out of everything, tried signing into the non-www, and upon "login" i was redirected to the main forum page, but with www, and therefore wasn't logged in. i guess i'll just use www from now on edit: just saw the other thread where joedf says...
by guest3456
11 Dec 2018, 21:16
Forum: Forum Issues
Topic: forcing "www"?
Replies: 3
Views: 456

forcing "www"?

i'm logged into "autohotkey.com/boards" with no www prefix

now when i post a reply, i am forced onto the www site, which has me logged out
by guest3456
11 Dec 2018, 21:15
Forum: Offtopic
Topic: Test your Forum Posts
Replies: 381
Views: 94796

Re: Test your Forum Posts

test
by guest3456
11 Dec 2018, 21:14
Forum: AutoHotkey_H
Topic: How to build Autohotkey_H source code? Topic is solved
Replies: 29
Views: 3126

Re: How to build Autohotkey_H source code? Topic is solved

HotKeyIt wrote:
10 Dec 2018, 15:25
The best method is to use a separate function and no fix password here: https://github.com/HotKeyIt/ahkdll/blob ... .cpp#L3219
can you give an example of what using a "separate function" would look like?
by guest3456
07 Dec 2018, 10:34
Forum: C/C++
Topic: C++ - Source Code for ImageSearch
Replies: 4
Views: 1149

Re: C++ - Source Code for ImageSearch

Xtra wrote:
04 Dec 2018, 03:20
Use gdip imagesearch it uses machine code and is fast no need to reinvent the wheel.
https://github.com/MasterFocus/AutoHotk ... mageSearch
by guest3456
06 Dec 2018, 21:47
Forum: Ask For Help
Topic: a few bugs?
Replies: 5
Views: 617

Re: a few bugs

nice. making a bitcoin trading bot?

Go to advanced search