Search found 5577 matches

by jeeswg
Today, 03:13
Forum: Ask For Help
Topic: AHK can't send python code?
Replies: 7
Views: 130

Re: AHK can't send python code?

- See CHARACTERS (VERBATIM), here: jeeswg's characters tutorial - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=7&t=26486 - One possible reason for your problem is that AutoHotkey may have interpreted parentheses intended as text, and seen them as ending the continuation section...
by jeeswg
Yesterday, 10:49
Forum: Ask For Help
Topic: Is there a possibility of delay in time calculation?
Replies: 7
Views: 157

Re: Is there a possibility of delay in time calculation?

It's difficult to 100% envisage every scenario, but I think your logic is sound. If an extra second elapses: if the difference is positive, then the second difference is an underestimate, and so you can round up to the nearest minute/hour using Ceil if the difference is negative, then the second dif...
by jeeswg
Yesterday, 01:57
Forum: Ask For Help
Topic: automating OBS Studio (Open Broadcaster Software)
Replies: 0
Views: 38

automating OBS Studio (Open Broadcaster Software)

- Techniques for automating OBS used to work reliably, but something changed in OBS, and so I'm posting here in case anyone has any ideas. - Might UI Automation work where Acc has not been for example? - Here are some links: - [working intermittently, to stop/start a recording] obs studio start and ...
by jeeswg
Yesterday, 01:47
Forum: Ask For Help
Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings
Replies: 18
Views: 240

Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings

- These messages can be used to invoke an item in a visible (standard) context menu.
context menu window messages: focus/invoke item - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=39209
- Acc can be useful also for getting menu item strings/invoking menu items.
by jeeswg
Yesterday, 01:30
Forum: Ask For Help
Topic: Something wrong with use of variables in this script
Replies: 11
Views: 149

Re: Something wrong with use of variables in this script

- These are almost always equivalent: Cmd, % a, % b+1, % "c" Func(a, b+1, "c") - The one very rare exception is mentioned here: 'force an expression' and 'can be an expression' - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=14&t=37224&p=179960#p179960 - The point is this: for s...
by jeeswg
Yesterday, 01:18
Forum: Ask For Help
Topic: AutoHotkeyH vs AutoHotkeyL vs AutoHotkey2
Replies: 15
Views: 452

Re: AutoHotkeyH vs AutoHotkeyL vs AutoHotkey2

- It's OK if we make AHK slightly harder to use ... slippery slope. (But I approve of AHK v2, and have argued for simplifications/ease-of-use where I've felt necessary e.g. AHK v1 force-local/#Include %A_Desktop%/ObjCount/A_Args (all implemented), and for AHK v2: objects that can record insertion or...
by jeeswg
Yesterday, 00:40
Forum: Ask For Help
Topic: Why does this error for some and not others? Topic is solved
Replies: 19
Views: 229

Re: Why does this error for some and not others? Topic is solved

Error in Windows 7 'Could not Create Gui' - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=37&t=36017 Window Features - Windows applications | Microsoft Docs https://docs.microsoft.com/en-gb/windows/desktop/winmsg/window-features#layered Beginning with Windows 8, WS_EX_LAYERED ca...
by jeeswg
Yesterday, 00:23
Forum: Ask For Help
Topic: Why does this error for some and not others? Topic is solved
Replies: 19
Views: 229

Re: Why does this error for some and not others? Topic is solved

That small script works fine.

But if I add '+E0x80000', the script fails. WS_EX_LAYERED := 0x80000.

Code: Select all

Gui,2:+Parent1 -Caption +E0x80000
by jeeswg
Yesterday, 00:12
Forum: Ask For Help
Topic: Is there a possibility of delay in time calculation?
Replies: 7
Views: 157

Re: Is there a possibility of delay in time calculation?

It shouldn't be! I would expect 2 iterations maximum. The values of Now and Now2 should only differ if the second changed between the 2 A_Now calls.
by jeeswg
Yesterday, 00:02
Forum: Ask For Help
Topic: Why does this error for some and not others? Topic is solved
Replies: 19
Views: 229

Re: Why does this error for some and not others? Topic is solved

The script in post 4 didn't work, but neither does this edited version. So perhaps it's something else, maybe aero mode. Doesn't seem to be that either. Btw what OS are you using? #SingleInstance, Force SetBatchLines,-1 OnExit,GuiClose CoordMode,Mouse,Client global MyGui := {W: 600 ,H: 600 } global ...
by jeeswg
17 Jan 2019, 23:55
Forum: Ask For Help
Topic: Is there a possibility of delay in time calculation?
Replies: 7
Views: 157

Re: Is there a possibility of delay in time calculation?

I think you need to do this to be sure. Because for example, the second could have changed, between calling A_Now and A_NowUTC. q:: ;get local/UTC difference Loop { Now := A_Now NowUTC := A_NowUTC Now2 := A_Now if (Now = Now2) break } EnvSub, Now, NowUTC, Seconds MsgBox, % Now "`r`n" Now2 "`r`n" Now...
by jeeswg
17 Jan 2019, 23:41
Forum: Ask For Help
Topic: Why does this error for some and not others? Topic is solved
Replies: 19
Views: 229

Re: Why does this error for some and not others? Topic is solved

- Yes, but can AutoHotkey handle a numeric name? Or maybe it could in some versions but not others.
- Perhaps it always sees a number as an hWnd.
- When using +Parent___, how does it know that a number is a name or an hWnd?
by jeeswg
17 Jan 2019, 23:24
Forum: Ask For Help
Topic: Why does this error for some and not others? Topic is solved
Replies: 19
Views: 229

Re: Why does this error for some and not others? Topic is solved

@Hellbent: What version of AHK are you using? Sometimes obscure bugs are due to version numbers. Thanks. The 2 scripts here didn't work for me. AHK v1.1.29.1, Windows 7. Values not adding up - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=5&t=61119 I tried MsgBox, % Layered.Opti...
by jeeswg
17 Jan 2019, 22:53
Forum: Forum Issues
Topic: phpBB issues
Replies: 0
Views: 31

phpBB issues

- The url tag used to show the full url, currently it doesn't. - I've always used the url tag in my posts, so that people can easily copy and paste all the information, with full urls. - Also, the default quote text has changed: - Current: 'quote=##### post_id=###### time=########## user_id=##'. - O...
by jeeswg
17 Jan 2019, 22:50
Forum: Forum Issues
Topic: Fixing codeboxes
Replies: 95
Views: 4110

Re: Fixing codeboxes

Sure, will do. (I thought of them as codebox issues, but I can see now they're more like post issues.) Thanks.

Done:
phpBB issues - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=3&t=61130
by jeeswg
17 Jan 2019, 22:23
Forum: Ask For Help
Topic: AutoHotkeyH vs AutoHotkeyL vs AutoHotkey2
Replies: 15
Views: 452

Re: AutoHotkeyH vs AutoHotkeyL vs AutoHotkey2

- @swagfag: I listed some AHK v1 GUI issues here: GUI COMMANDS: COMPLETE RETHINK - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=5&t=25893 - @SOTE: It's interesting your attempts to teach people AutoHotkey. Perhaps you could collect some general/specific thoughts on introducing ...
by jeeswg
17 Jan 2019, 21:50
Forum: Ask For Help
Topic: "onMessage()" question
Replies: 2
Views: 87

Re: "onMessage()" question

This example tries to create GUIs without using any built-in AHK features. GUIs via DllCall: MsgBox - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=6&t=30688 You specify a function with 4 parameters, a WndProc, this receives information (messages) from windows/controls. (I use R...
by jeeswg
17 Jan 2019, 20:27
Forum: Ask For Help
Topic: #directive list anywhere?
Replies: 3
Views: 80

Re: #directive list anywhere?

Attempts were made here at a full list of optimisations. How to optimize the speed of a script as much as possible. - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=7&t=6413 One I missed out was: SetBatchLines, -1 Currently I use this (as a hotstring), although I'll review it at ...
by jeeswg
17 Jan 2019, 20:22
Forum: Forum Issues
Topic: Fixing codeboxes
Replies: 95
Views: 4110

Re: Fixing codeboxes

- The url tag used to show the full url, currently it doesn't. - I've always used the url tag in my posts, so that people can easily copy and paste all the information, with full urls. - Also, the default quote text has changed: - Current: 'quote=##### post_id=###### time=########## user_id=##'. - O...
by jeeswg
17 Jan 2019, 20:14
Forum: Ask For Help
Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings
Replies: 18
Views: 240

Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings

There's also this for discovering menu item IDs for context menus (for use with PostMessage/SendMessage). You may need to run it in admin mode for it to work on your program. Get Info from Context Menu (x64/x32 compatible) - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=6&t=31971

Go to advanced search