Search found 4078 matches

by jeeswg
34 minutes ago
Forum: Ask For Help
Topic: VK & SK scripts stopped working?
Replies: 1
Views: 10

Re: VK & SK scripts stopped working?

Have a look at this. Cheers.
For Japanese (JIS) keyboard users (some Key codes have been shortened) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=17&t=41926
by jeeswg
Today, 00:32
Forum: Ask For Help
Topic: Switching tabs in a loop
Replies: 3
Views: 46

Re: Switching tabs in a loop

- q:: is an arbitrary hotkey, you press q to run the subroutine. - The Chr(...) code was just to pick the next letter of the alphabet for the demo script. - There are various scripts on the forum re. activating a tab, e.g. by sending Ctrl+1/Ctrl+2. - I prefer document.title/document.url to LocationN...
by jeeswg
Yesterday, 22:29
Forum: Ask For Help
Topic: Switching tabs in a loop
Replies: 3
Views: 46

Re: Switching tabs in a loop

Use two tabs simultaneously. Cheers. ;[WBGet function] ;WBGet function - AutoHotkey Community ;https://autohotkey.com/boards/viewtopic.php?f=6&t=39869 ;note: assumes that Internet Explorer has at least two tabs open q:: ;Internet Explorer - operate two tabs simultaneously WinGet, hWnd, ID, ahk_c...
by jeeswg
Yesterday, 20:46
Forum: Ask For Help
Topic: GUI - Complete Command & Property Listing
Replies: 6
Views: 154

Re: GUI - Complete Command & Property Listing

Here is a list with information for the Gui/GuiControl/GuiControlGet commands and their subcommands, and general/specific properties for windows/controls. ================================================== Gui/GuiControl/GuiControlGet general info ================================================== >...
by jeeswg
Yesterday, 17:57
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 386
Views: 63116

Re: Suggestions on documentation improvements

@iPhilip, I tried to create a list also, and found around 30 more items.
List of commands that affect ErrorLevel - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=46581&p=213522#p213522
by jeeswg
Yesterday, 17:49
Forum: Ask For Help
Topic: List of commands that affect ErrorLevel Topic is solved
Replies: 7
Views: 184

Re: List of commands that affect ErrorLevel Topic is solved

- I used my script above to produce a list. I retrieved the text, replaced ErrorLevel with ERRORLEVEL to make occurrences more obvious, and read through the whole thing manually. Hopefully the list is correct, but it's so hard to get these things perfect. - AFAICT all of the items in both TheDewd's ...
by jeeswg
Yesterday, 16:27
Forum: Ask For Help
Topic: GUI: piano keyboard
Replies: 37
Views: 776

Re: GUI: piano keyboard

I tried:
AW := A_IsUnicode ? "W" : "A"
A_CharSize := A_IsUnicode ? 2 : 1
And got the same results as before, black where the keyboard is, but keys working.

I fixed the line starting 'glNewList := DllCall', and your script worked.
by jeeswg
Yesterday, 15:36
Forum: Ask For Help
Topic: GUI: piano keyboard
Replies: 37
Views: 776

Re: GUI: piano keyboard

So use this? A_CharSize := 1 AW := "A" The keyboard GUI was still blank. And the Device drop-down list was showing all Chinese characters. And pressing keys to play notes stopped working. Try comparing older scripts with my newer script using WinMerge. We need to avoid ending up like Keypr...
by jeeswg
Yesterday, 14:55
Forum: Ask For Help
Topic: GUI: piano keyboard
Replies: 37
Views: 776

Re: GUI: piano keyboard

- With your new script, the keys play, but as before the GUI keyboard subwindow displays, but the keyboard doesn't show, before it just wasn't drawn, now it appears as a black rectangle. Also, I had to remove the 'updates' function.
- Well done on your tweaks to AutoHotkey Basic.
by jeeswg
Yesterday, 04:09
Forum: Ask For Help
Topic: GUI: piano keyboard
Replies: 37
Views: 776

Re: GUI: piano keyboard

- @Drugwash: I tested your script, and unfortunately it was not working on AHK v1.1 x64. [EDIT:] The script worked apart from the GUI keyboard, the subwindow opened but the keyboard didn't show. - I basically prepared a list of dll functions and parameter types, and automatically converted the DllCa...
by jeeswg
Yesterday, 03:24
Forum: Ask For Help
Topic: GUI: piano keyboard
Replies: 37
Views: 776

Re: GUI: piano keyboard

- I have some code to automate correcting the OpenGL calls, I just to need make an adjustment to support Str/AStr/WStr, not just Ptr, then I'll update my code above.
- My script above is working on AHK v1.1 x64 and x32, Unicode and ANSI.
by jeeswg
Yesterday, 03:02
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 47
Views: 1838

Re: scrap commands?

I'm not sure where this conversation is going, anyway, here are the AHK v2 backports I currently have for AHK v1, to give some idea of what the AHK v2 functions are doing. (Note: my WinWait function returns an hWnd, something that AHK v2 doesn't currently do.) Run(Target, WorkingDir:="", O...
by jeeswg
Yesterday, 02:58
Forum: Ask For Help
Topic: GUI: piano keyboard
Replies: 37
Views: 776

Re: GUI: piano keyboard

- Ah, the name of my link was a bit misleading, it has general conversion advice for all versions, not just for AHK v2. All of the code I've posted on this thread is for AHK v1.1. - SpeedMaster changed the script to run on a some keyboard or other, I've used that code. My code from earlier, should m...
by jeeswg
17 Apr 2018, 21:20
Forum: Ask For Help
Topic: drag and drop lost with program ran by autohotkey
Replies: 3
Views: 76

Re: drag and drop lost with program ran by autohotkey

- You could try ShellRun: AutoHotkey-Release/ShellRun.ahk at master · Lexikos/AutoHotkey-Release · GitHub https://github.com/Lexikos/AutoHotkey-Release/blob/master/installer/source/Lib/ShellRun.ahk - Out of interest, if you manually double-click a Start menu shortcut in an Explorer folder window, th...
by jeeswg
17 Apr 2018, 18:02
Forum: Ask For Help
Topic: GUI: piano keyboard
Replies: 37
Views: 776

Re: GUI: piano keyboard

That would be interesting Drugwash, thanks. I've tried to correct the script to make it work in AHK v1.1 x64 also. See TIPS FOR CONVERTING OLD SCRIPTS, here [note: includes AHK v1.0 to AHK v1.1 advice]: AHK v1 to AHK v2 conversion tips/changes summary - AutoHotkey Community https://autohotkey.com/bo...
by jeeswg
17 Apr 2018, 15:33
Forum: AutoHotkey v2 Development
Topic: RGB values with/without leading 0x
Replies: 5
Views: 112

Re: RGB values with/without leading 0x

Yes, good points. I realised exactly that when thinking it over, whoever designed ARGB, for A we have 0xFF as opaque, and 0x00 as completely see-through, the opposite might make more sense, but as you say it's probably best that we don't go against the convention. So, *an* alternative could be a spa...
by jeeswg
17 Apr 2018, 14:16
Forum: AutoHotkey v2 Development
Topic: RGB values with/without leading 0x
Replies: 5
Views: 112

Re: RGB values with/without leading 0x

- Yes, basically forget about the alpha channel, unless someone wants it. Assume that only the RGB values are considered, and that the A value is ignored (assumed to be 0xFF). - Points like this re. RGB values may seem subtle, however, sometimes I base my functions on AutoHotkey commands/functions, ...
by jeeswg
17 Apr 2018, 13:35
Forum: Ask For Help
Topic: Format specific lines and parts of clipboard contents ahk Topic is solved
Replies: 5
Views: 59

Re: Format specific lines and parts of clipboard contents ahk Topic is solved

- @Odlanir, nicely done. - For a simple approach, I might do something like this: q:: ;combine line pairs into single lines vText := " ;continuation section ( 535,Water Bottle ,69333 ,536,Water Bottle ,69336 ,537,Water Bottle ,69336 )" vOutput := "" VarSetCapacity(vOutput, StrLen...
by jeeswg
17 Apr 2018, 12:32
Forum: Ask For Help
Topic: hotstring(): passing params to functions
Replies: 5
Views: 68

Re: hotstring(): passing params to functions

Try this. Cheers. Btw do you mean "On" rather than On.

Code: [Select all] [Expand]GeSHi © Codebox Plus

by jeeswg
17 Apr 2018, 12:29
Forum: Ask For Help
Topic: Automate app with no (or hidden) controls?
Replies: 14
Views: 208

Re: Automate app with no (or hidden) controls?

I don't know of Acc being able to hide controls.

Go to advanced search