Search found 1676 matches

by gregster
15 minutes ago
Forum: Ask For Help
Topic: List all notepad windows
Replies: 1
Views: 24

Re: List all notepad windows

try WinGet, titles, List , ahk_exe notepad.exe ; get list of IDs as pseudo-array loop % titles ; variable holds number of found windows { WinGetTitle, title , % "ahk_id " titles%A_index% ; get title from ID in pseudo-array notepadlist .= (a_index < titles) ? title "|" : title ; create list for DDL v...
by gregster
Today, 12:08
Forum: Ask For Help
Topic: Running function from Excel library
Replies: 5
Views: 82

Re: Running function from Excel library

Okay, I see the problem... Please put the #include line into the auto-execute section of your main script, like I showed above (that means, at the top of the script before the first hotkey definition, return etc.), not into the hotkey def. Then, you can also remove the default for the path parameter...
by gregster
Today, 11:09
Forum: Ask For Help
Topic: Running function from Excel library
Replies: 5
Views: 82

Re: Running function from Excel library

I don't think it has to do with "parameters in combination with #Include" - just with how you want to organize your code. If you do it like above, your hotkey ^!h:: will always use the default parameter, while the function probably could be called with other URLs from including scripts. But I actual...
by gregster
Today, 10:29
Forum: Ask For Help
Topic: How to use A_GuiControl?
Replies: 1
Views: 28

Re: How to use A_GuiControl?

A_GuiControl The name of the variable associated with the GUI control that launched the current thread.[...] In my understanding, in your case the thread actually using A_GuiControl wasn't launched by the button control in the GUI, but by the unrelated hotkey LButton This - on the other hand - look...
by gregster
Today, 09:55
Forum: Ask For Help
Topic: Running function from Excel library
Replies: 5
Views: 82

Re: Running function from Excel library

Excel is a bad idea here - if it worked, it would be inefficient and slow compared to AHK's built-in system for this... AHK function libraries (stored in .ahk files) can be used, re-used and shared between scripts via the #include directive and/or Libraries of Functions: Standard Library and User Li...
by gregster
Today, 04:34
Forum: Ask For Help
Topic: How to add controls to Tab3l? Topic is solved
Replies: 2
Views: 39

Re: How to add controls to Tab3l? Topic is solved

Positioning: When each tab of a Tab control receives its first sub-control, that sub-control will have a special default position under the following conditions: 1) The X and Y coordinates are both omitted, in which case the first sub-control is positioned at the upper-left corner of the tab contro...
by gregster
Today, 03:40
Forum: Ask For Help
Topic: [Urgent] Message could not be sent to SMTP server. 0x80040217 Topic is solved
Replies: 2
Views: 27

Re: [Urgent] Message could not be sent to SMTP server. 0x80040217 Topic is solved

Probably has to do with the security settings of the mail account; number of sent messages might be a factor, too, disabling your account for now (have you tried from one of the other computers since?): https://stackoverflow.com/questions/9157087/getting-error-transport-error-code-was-0x80040217-whi...
by gregster
Yesterday, 22:46
Forum: Ask For Help
Topic: Close a Putty window when prompt is detected
Replies: 5
Views: 113

Re: Close a Putty window when prompt is detected

I found something like PuttyWait(PPid, WatchText) [...] But i wonder if PuttyWait is supported in all AHK versions as i can hardly find any info on this There was never a specific AHK-built-in function called PuttyWait ... it has to be some user-defined function and you will have to include its cod...
by gregster
Yesterday, 15:58
Forum: Ask For Help
Topic: Monitor Tray Icon Right-Click without Blocking other Events
Replies: 1
Views: 49

Re: Monitor Tray Icon Right-Click without Blocking other Events

I would say yes, but like always in such a case, a meaningful code snippet would have been nice - because I am sure most people don't know all the messages (like for the right mouse button) without looking them up... and they will have to make assumptions about your code that might turn out wrong (a...
by gregster
Yesterday, 14:56
Forum: Ask For Help
Topic: Win10 64-bit - drag and drop not working
Replies: 5
Views: 122

Re: Win10 64-bit - drag and drop not working

That's odd. Sounds somehow like a rights issue - again I had no problems with running the snippet above on Scite4AHK... I'm still on 1.1.29.01 (64 bit), afaik, but you seem to have tested several versions...
by gregster
21 Jan 2019, 21:37
Forum: Ask For Help
Topic: Monitoring script
Replies: 5
Views: 121

Re: Monitoring script

electrified, you called it a "web based application" - does this mean that it runs in a browser? Then, the windowspy.ahk idea will yield no solution, I am afraid. Then you might want to look instead into Internet Explorer's COM interface or the Chrome.ahk library for browser automation. If, on the o...
by gregster
21 Jan 2019, 19:20
Forum: Ask For Help
Topic: Function Variadic* Params can it receive an object? Topic is solved
Replies: 2
Views: 50

Re: Function Variadic* Params can it receive an object? Topic is solved

GuiFont("NoFac_Text", "one", "two" , "three") ; variadic function call ;https://autohotkey.com/docs/Functions.htm#VariadicCall : oFontCtrls:= ["NOM_ClientFournisseur_Text", "NoFac_Text", "Date_Text", "Mt_TITLE", "Tx_TITLE", "Ts_TITLE", "Tq_TITLE", "Ty_TITLE", "Qt_TITLE", "Cm_TITLE", "Cb3_Paiement_t...
by gregster
21 Jan 2019, 16:13
Forum: Ask For Help
Topic: Stopping mouse movement while script is running
Replies: 2
Views: 57

Re: Stopping mouse movement while script is running

Blockinput:

Code: Select all

Blockinput, MouseMove	; Mode 3 of Blockinput
MouseMove 100, 100		; move the mouse via the script
return
Esc::ExitApp	; Hit Escape key to exit script
If want to move the mouse via the script, then also look at Mode 2 of BlockInput...
by gregster
21 Jan 2019, 10:56
Forum: Ich brauche Hilfe
Topic: Probleme mit AV-Programmen
Replies: 22
Views: 232

Re: Probleme mit AV-Programmen

Tja, die genauen Vorgänge in den AV-Firmen erschließen sich mir nicht. Ob es mit bestimmten Codemerkmalen im AHK-Interpreter (der ja auch in einer AHK-exe immer mit dabei ist), fehlenden Zertifikaten, zu geringer Verbreitung von AHK und/oder fehlender PR zu tun hat, ich weiß es nicht. Vielleicht spi...
by gregster
21 Jan 2019, 10:04
Forum: Ich brauche Hilfe
Topic: Probleme mit AV-Programmen
Replies: 22
Views: 232

Re: Probleme mit AV-Programmen

Während AHK schon lange misstrauisch von AV-Programmen betrachtet wurde (entweder pauschal, aufgrund Verwendung bestimmter Packer oder auf heuristischer Basis) scheint erschwerend hinzuzukommen, dass es letztes Jahr offenbar ein erhöhtes Aufkommen an AHK-basierter Malware gab. Dieser Trend hat wahrs...
by gregster
21 Jan 2019, 03:46
Forum: Ask For Help
Topic: unselectable text
Replies: 7
Views: 163

Re: unselectable text

Since it is a game, I doubt that it is a standard window - last resort might be some kind of OCR approach (but depending on the used font, it might not work well).
But then again... I have no clue about today's games ;)
by gregster
21 Jan 2019, 01:35
Forum: Ask For Help
Topic: Paste Clipboard contents into A1 Cell in Excel
Replies: 5
Views: 127

Re: Paste Clipboard contents into A1 Cell in Excel

I'm afraid there is no Targettype parameter (which is the first parameter of Coordmode ) called Screen according to the docs. But you could do Coordmode, Mouse, Screen ; or Coordmode, Mouse ; Same as above because "screen" is the default for Coordmode second parameter. This part I don't understand: ...
by gregster
20 Jan 2019, 11:44
Forum: Ask For Help
Topic: GUI to Replace Windows Status Bar
Replies: 4
Views: 70

Re: GUI to Replace Windows Status Bar

Afaik, you can only delete a post yourself as long as nobody replies.
I edit a lot, but I never missed the Edit button - but who knows, perhaps a little page hickup :) .
by gregster
20 Jan 2019, 10:39
Forum: Ask For Help
Topic: GUI to Replace Windows Status Bar
Replies: 4
Views: 70

Re: GUI to Replace Windows Status Bar

Screenshot.png
Screenshot.png (1.27 KiB) Viewed 59 times
The pen symbol on the left is used for editing posts.
(Might look different in your forum theme)

Go to advanced search