Search found 25 matches

by SSpeed
26 Sep 2020, 15:14
Forum: Ask For Help
Topic: SoundBeep volume
Replies: 4
Views: 1509

Re: SoundBeep volume

Here is the simple: (with a chance of not returning your volume level) SoundBeep(700, 50) sleep 150 exitapp ;------------------------------------------------------------------------------- soundbeep(frequency:=523, volume:=50) { soundget current_volume soundset % volume soundbeep % frequency sleep 1...
by SSpeed
06 Apr 2020, 20:27
Forum: Ask For Help
Topic: press numbers 2 3 4 and 5
Replies: 1
Views: 286

Re: press numbers 2 3 4 and 5

how's this? #NoEnv #SingleInstance Force SendMode Input SetWorkingDir %A_ScriptDir% return ;{███████████████████████████████████████████████ Space:: if not (space_sequence_active) ; (first press will go here) settimer, space_sequence, -1 else { ; (if the sequence is already active, it should go here...
by SSpeed
04 Apr 2020, 10:29
Forum: Ask For Help
Topic: How to disable an fn hotkey on laptop? Topic is solved
Replies: 2
Views: 326

Re: How to disable an fn hotkey on laptop? Topic is solved

F4::vk07 - didn't work. — I went into BIOS and disabled the fn lock. Now I use Action Center to adjust the screen brightness instead. if (A_Hour > 6) AND (A_Hour < 16) { ; (if morning or afternoon) ; set brightness to 100% send #a sleep 1500 mousegetpos, x, y MouseClick L, 426, 663 ; (replace this c...
by SSpeed
03 Apr 2020, 18:25
Forum: Ask For Help
Topic: How to disable an fn hotkey on laptop? Topic is solved
Replies: 2
Views: 326

How to disable an fn hotkey on laptop? Topic is solved

The laptop I'm using has some sort of fn F4 key which, when pressed, shuts down the laptop. Now this is a problem when I accidentally press it while I'm trying to adjust the screen brightness, which is right beside it. If there is an easy solution, I'd like to implement.
by SSpeed
17 Sep 2019, 21:19
Forum: Scripts and Functions
Topic: Get Listview Column
Replies: 0
Views: 688

Get Listview Column

edit: I don't use this function anymore; (kept for reference). Here's a better alternative ? _________________________ A way to get which column was doubled-clicked in a listview. Seems to work. Hope it works for you. Just run the code and double click in the listview. F5 to reload. I couldn't figu...
by SSpeed
14 Sep 2019, 17:42
Forum: Wish List
Topic: do When
Replies: 3
Views: 2101

Re: do When

Code: Select all

When WinActive(game.window) {
	Run(game.script)
	When !WinActive(game.window)
		WinClose(game.script)
}

Code: Select all

When WinExist(chrome.window) {
	Msgbox you've opened chrome
	When !WinExist(chrome.window)
		Msgbox you've closed chrome
}
I think I like this version more than the OP.
by SSpeed
24 Aug 2019, 12:36
Forum: Ask For Help
Topic: How to auto-elevate script without UAC prompts? Topic is solved
Replies: 1
Views: 610

Re: How to auto-elevate script without UAC prompts? Topic is solved

edit: I recommend auto-elevating programs on an individual basis, rather than auto-elevating your main script. Create a Basic Task in Task Scheduler: set the trigger to 'one-time', (since we won't be calling it via task scheduler) set the 'start in' field, (which is simply the dir) open properties,...
by SSpeed
23 Aug 2019, 21:14
Forum: Wish List
Topic: #group hotkeys
Replies: 3
Views: 1778

Re: #group hotkeys

Thanks, I like it.
by SSpeed
23 Aug 2019, 17:51
Forum: Ask For Help
Topic: How to auto-elevate script without UAC prompts? Topic is solved
Replies: 1
Views: 610

How to auto-elevate script without UAC prompts? Topic is solved

All I want is to get started with the RunAsTask() command, but I don't know how.


reference: https://www.autohotkey.com/boards/viewtopic.php?t=4334
by SSpeed
22 Aug 2019, 14:55
Forum: Ask For Help
Topic: boolean in hotkey command
Replies: 2
Views: 611

Re: boolean in hotkey command

I see, thanks for showing me.
by SSpeed
21 Aug 2019, 16:10
Forum: Wish List
Topic: #group hotkeys
Replies: 3
Views: 1778

#group hotkeys

regarding the Hotkey command: Want: #group hotkeys, broodwar ; skip to #group; the contents of this section are not important to the topic #if winactive("ahk_class SWarClass") ~numpadenter:: ~enter:: Suspend ~esc:: Suspend OFF ~s:: larvae() !F4:: broodwar_hotkeys_off() #if winactive("ahk_class SWarC...
by SSpeed
21 Aug 2019, 15:13
Forum: Ask For Help
Topic: boolean in hotkey command
Replies: 2
Views: 611

boolean in hotkey command

the below code doesn't work.

Code: Select all

var := true
Hotkey if, winexist("ahk_exe Explorer.EXE") and (var)
	Hotkey F2, on
return


#if winexist("ahk_exe Explorer.EXE") and (var)
	F2:: msgbox yes



#if
	*Esc:: ExitApp

fixed it by changing 'and' to '&&', but can't we use 'and'?
by SSpeed
30 Jul 2019, 13:17
Forum: Tips and Tricks
Topic: installing AHKv2 and setting up a .ahk2 extension
Replies: 12
Views: 6232

Re: installing AHKv2 and setting up a .ahk2 extension

The default extension of ahkv2 files will be .ahk
grazie


well that's good enough for me. thanks everyone
by SSpeed
30 Jul 2019, 10:11
Forum: Tips and Tricks
Topic: installing AHKv2 and setting up a .ahk2 extension
Replies: 12
Views: 6232

Re: installing and setting up AHK v2

the height of the issue would probably be in setting up the .ahk2 context menu.

here is a clip of such:. https://youtu.be/x_KMq8_KS7E

which is better:. that people must take these steps, or that it is automated (such as during installation)


(mod may move this thread)
by SSpeed
29 Jul 2019, 13:00
Forum: Tips and Tricks
Topic: installing AHKv2 and setting up a .ahk2 extension
Replies: 12
Views: 6232

installing AHKv2 and setting up a .ahk2 extension

i found that the process was a bit difficult... inefficient...
I made a video showing the process in the hope that the process might be improved.

https://youtu.be/hCMfuVirzBs

(i'm using windows 7)
by SSpeed
26 Jul 2019, 15:53
Forum: Wish List
Topic: do When
Replies: 3
Views: 2101

do When

do when the When command when the_game_is_closed(), 24000 exitapp Faster, easier, more elegant than setting timers. when a_raider_is_detected() { fire_a_warning_shot() notify_the_user() cooldown when not a_raider_is_detected() } (the above code is equivalent to the code below) settimer, timer1, 100...
by SSpeed
20 Mar 2019, 19:19
Forum: Ask For Help
Topic: [solved] Context menu under Windows 10 has no AHK entries
Replies: 9
Views: 4099

Re: [solved] Context menu under Windows 10 has no AHK entries

What solved it for me, was changing the default program for .ahk from AutoHotkeyU64 to AutoHotkey.
by SSpeed
16 Feb 2019, 23:50
Forum: Gaming
Topic: How to read in-game variables?
Replies: 4
Views: 1075

Re: How to read in-game variables?

It's really complicated, I might get around to it I guess...

Go to advanced search