Search found 5555 matches

by jeeswg
27 Dec 2018, 16:12
Forum: Scripts and Functions
Topic: Internet Explorer: focus input field
Replies: 6
Views: 487

Re: Internet Explorer: focus input field

- Re' 'we need a good list of handy methods/properties/tips', I've added some JavaScript examples here: Internet Explorer: JavaScript examples - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=6&t=60377 - And added a link to those examples in my tutorial here: jeeswg's Internet Ex...
by jeeswg
27 Dec 2018, 15:42
Forum: Scripts and Functions
Topic: Internet Explorer: JavaScript examples
Replies: 18
Views: 702

Internet Explorer: JavaScript examples

- I've collected some classic JavaScript examples for use with Internet Explorer. - The aim was to collect useful methods and properties for window objects and elements. There are currently no event examples because I haven't needed any. - Please suggest any further additions/provide links. Thanks. ...
by jeeswg
27 Dec 2018, 15:04
Forum: Tutorials
Topic: jeeswg's Acc tutorial (Microsoft Active Accessibility) (MSAA)
Replies: 14
Views: 4054

Re: jeeswg's Acc tutorial (Microsoft Active Accessibility) (MSAA)

@panhartstuff: I've had partial success in trying to update the script, in principle it works, however, the clicking is working sometimes but not always. If you'd like to say more about it, please post in that thread. Thanks. obs studio start and record - AutoHotkey Community https://autohotkey.com/...
by jeeswg
27 Dec 2018, 14:58
Forum: Ask For Help
Topic: obs studio start and record Topic is solved
Replies: 5
Views: 2523

Re: obs studio start and record Topic is solved

- I've tried to update this script to work for OBS Studio v22.0.2. The code sometimes works/sometimes fails. I haven't found a way to reliably click on the Start/Stop Recording button, in case anyone has any other ideas. - accDoDefaultAction and WM_LBUTTONDOWN/WM_LBUTTONDBLCLK weren't working, altho...
by jeeswg
27 Dec 2018, 10:18
Forum: Ask For Help
Topic: Hwnd Creation Time?
Replies: 5
Views: 186

Re: Hwnd Creation Time?

@User: You've been experimenting with shell hooks recently, can't you just log when windows are created? And of course there's swagfag's example above which works for *processes* as a whole.
by jeeswg
27 Dec 2018, 10:16
Forum: Gaming
Topic: Please help me do this.. Topic is solved
Replies: 6
Views: 227

Re: Please help me do this.. Topic is solved

Here's another way.

Code: Select all

q:: ;add prefixes/suffixes to strings
vText := "word,wake,rake,cake"
oArray1 := StrSplit("<>:;")
oArray2 := StrSplit("><:;")
vOutput := ""
Loop, Parse, vText, % ","
	vOutput .= oArray1[A_Index] A_LoopField oArray2[A_Index] "`r`n"
MsgBox, % vOutput
return
by jeeswg
27 Dec 2018, 09:21
Forum: Ask For Help
Topic: extend ahk with custom built-in variables? Topic is solved
Replies: 7
Views: 256

Re: extend ahk with custom built-in variables? Topic is solved

- Can AutoHotkey_H do this? - Anyhow, adding in A_ variables via C++ and compiling is not so difficult. Cheers. AutoHotkey C++ Powerhouse: Introduction - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=23&t=54394 - I thought about this as a feature request, however, it's ultimatel...
by jeeswg
27 Dec 2018, 09:15
Forum: Ask For Help
Topic: Select a line from a menu with the text...?
Replies: 1
Views: 80

Re: Select a line from a menu with the text...?

- Here are two variants. Both using old-school approaches, the second also using Acc. - When I tested, accDoDefaultAction did not appear to work on the right-click menu, hence I had to use MouseClick. q:: ;chrome - get url under cursor SendInput, {Click right} Clipboard := "" Sleep, 30 SendInput, e ...
by jeeswg
27 Dec 2018, 01:02
Forum: Ask For Help
Topic: Employ Useless Duplicate Set of Keys
Replies: 6
Views: 265

Re: Employ Useless Duplicate Set of Keys

- Cheers Era. - The 3 sections of a typical keyboard, from left-to-right, appear to be concepts without well-defined search terms. Main bit, 'second numpad', numpad, you might say. Possibly typewriter area / cursor keys (although that misses out the ones above) / numpad. - I use Bing for a thorough ...
by jeeswg
26 Dec 2018, 15:30
Forum: AutoHotkey v2 Development
Topic: DllCall description Topic is solved
Replies: 24
Views: 684

Re: DllCall description Topic is solved

Thanks nnnik.

Default types:
DllCall: Int.
NumGet/NumPut: UPtr.

Where UPtr is: UInt (32-bit AHK), UInt64 (as Int64, 64-bit AHK).
by jeeswg
26 Dec 2018, 14:56
Forum: AutoHotkey v2 Development
Topic: DllCall description Topic is solved
Replies: 24
Views: 684

Re: DllCall description Topic is solved

Is the problem simply that AHK retrieves UInt64 as Int64? You can store UInt64 numbers as Int64 and use Format to display them as UInt64. q:: ;AHK retrieves UInt64 as Int64 VarSetCapacity(vData, 8) NumPut(-1, &vData, 0, "UInt64") vNum := NumGet(&vData, 0, "UInt") vPrompt1 := vNum "`r`n" Format("{:u}...
by jeeswg
26 Dec 2018, 12:51
Forum: Ask For Help
Topic: AccessibleObjectFromWindow does not execute method accFocus in Firefox
Replies: 11
Views: 253

Re: AccessibleObjectFromWindow does not execute method accFocus in Firefox

- Hmm, so you're testing the GUI element under the cursor in Firefox, on Google's input field. Hovering over it, with it either active or inactive. I got similar results to you, although it was inconsistent, getting 'Search' for the first one sometimes, sometimes nothing, and always nothing for the ...
by jeeswg
26 Dec 2018, 12:34
Forum: Ask For Help
Topic: How to get the full ACC path for control on cursor? Topic is solved
Replies: 4
Views: 334

Re: How to get the full ACC path for control on cursor? Topic is solved

- I've updated both functions. The two issues resolved were: get the right numbers (if there is ambiguity, all possible indexes are returned, separated by 'or'), get the right number of numbers (it worked for all of the tests I did). - Do notify of any issues. Thanks. q:: ;acc get path of element un...
by jeeswg
26 Dec 2018, 00:00
Forum: Forum Issues
Topic: forum listings not updated
Replies: 9
Views: 721

Re: forum listings not updated

Thanks tank. Just double-checking things in response to this thread. Forum Errors - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=3&t=60321 [top-right corner says 5 posts, there are 12 (count the string 'Joined:')] Will AutoHotkey v2 Syntax Be More Confusing For Newbies? - AutoH...
by jeeswg
25 Dec 2018, 08:20
Forum: Ask For Help
Topic: How to add CRC to filename.
Replies: 2
Views: 149

Re: How to add CRC to filename.

Something like this perhaps. Cheers. q:: ;files get date modified and CRC-32 hash vFilePattern := A_ScriptDir "\*" Loop, Files, % vFilePattern, F { vPath := A_LoopFileFullPath SplitPath, vPath, vName, vDir, vExt, vNameNoExt, vDrive FormatTime, vDateM, % A_LoopFileTimeModified, yyyy-MM-dd-HHmmss vHas...
by jeeswg
25 Dec 2018, 05:02
Forum: Ask For Help
Topic: Windows Explorer - filter out files on a column
Replies: 2
Views: 120

Re: Windows Explorer - filter out files on a column

I haven't tried anything with filtering, but here's some code to select/deselect files. Cheers. q:: ;explorer - select xlsx files, deselect other files WinGet, hWnd, ID, A oWin := "" for oWin2 in ComObjCreate("Shell.Application").Windows if (oWin2.HWND = hWnd) { oWin := oWin2 break } oWin2 := "" if ...
by jeeswg
25 Dec 2018, 04:55
Forum: Ask For Help
Topic: Script to copy file name / create folder / copy file to folder
Replies: 9
Views: 224

Re: Script to copy file name / create folder / copy file to folder

Here's an attempt. Cheers. q:: ;explorer - focused folder get path, copy folder WinGet, hWnd, ID, A oWin := "" for oWin2 in ComObjCreate("Shell.Application").Windows if (oWin2.HWND = hWnd) { oWin := oWin2 break } oWin2 := "" if !oWin return vPath := oWin.Document.FocusedItem.path oWin := "" if !InSt...
by jeeswg
25 Dec 2018, 04:10
Forum: Ask For Help
Topic: Employ Useless Duplicate Set of Keys
Replies: 6
Views: 265

Re: Employ Useless Duplicate Set of Keys

- Here are hotkeys for those 11 keys. - Here's the relevant documentation page: List of Keys (Keyboard, Mouse and Joystick) | AutoHotkey https://autohotkey.com/docs/KeyList.htm - Using ~ allows the key to be sent as usual *and* for AHK to do an action. Remove the ~ and AHK will do an action, but the...
by jeeswg
24 Dec 2018, 05:38
Forum: Ask For Help
Topic: Automating sentenses using loop parse of a text line?
Replies: 4
Views: 91

Re: Automating sentenses using loop parse of a text line?

Here's an attempt. Cheers. q:: ;create sentences based on lists vList := " ( rice|food|China India Spain rice|food|China India rice|food|China )" vTextOrig := "[FIELD1] is a [FIELD2] that is eaten in [FIELD3]." Loop, Parse, vList, `n, `r { oTemp := StrSplit(A_LoopField, "|") oTemp.1 := Format("{:T}"...
by jeeswg
24 Dec 2018, 05:02
Forum: Offtopic
Topic: database software and servers
Replies: 1
Views: 82

database software and servers

I wondered if people had any general comments about databases and/or servers. E.g. SQL v. NoSQL ('not only SQL') etc. Here is a list of popular database software. Stack Overflow Developer Survey 2018 https://insights.stackoverflow.com/survey/2018/#technology-databases I found these two videos intere...

Go to advanced search