Search found 159 matches

by Grendahl
13 Aug 2018, 12:25
Forum: Scripts and Functions
Topic: Play a sound every 00 and 30 minute marks
Replies: 2
Views: 257

Re: Play a sound every 00 and 30 minute marks

You could also do something like this: ; ; TimeSpeak v1.1 ; by Grendahl ; Announces the time on the hour using Microsoft's text-to-speech engine ; ; Change Log ; v1.1 (2011-11-28) ; First version (inspired by http://www.autohotkey.com/forum/viewtopic.php?t=14305) ;********** settings, variable decla...
by Grendahl
09 Mar 2018, 13:16
Forum: Ask For Help
Topic: Mouse move, click, and click/drag in two differently sized windows
Replies: 0
Views: 118

Mouse move, click, and click/drag in two differently sized windows

Thanks to Lexikos and his post at https://autohotkey.com/board/topic/40638-controlclick-dragging/#entry254408 I'm at least able to get clicking and dragging working between windows. The hitch is that I need to do the same but on differently scaled windows. EDIT: I got the scaling working. Still need...
by Grendahl
17 Mar 2017, 07:48
Forum: Ask For Help
Topic: Multiple ListViews in one GUI
Replies: 3
Views: 672

Re: Multiple ListViews in one GUI

Figured it out.
The winspy utility shows them all as having the same ID, but they can be called.

Winspy says the control is named SysListView321, but I can call the sixth one like this:
ControlGet, DSTHLV, Hwnd,,SysListView326,%WindowName%
by Grendahl
09 Mar 2017, 09:51
Forum: Ask For Help
Topic: Multiple ListViews in one GUI
Replies: 3
Views: 672

Multiple ListViews in one GUI

How do I get highlighting to only apply to a specified ListView when there are multiple ListViews in one GUI? ; ; AutoHotkey Version: 1.1_L ; Language: English ; Platform: Win9x/NT ; Author: A.N.Other <myemail@nowhere.com> ; ; Script Function: ; Template script (you can customize this template by ed...
by Grendahl
16 Feb 2017, 11:10
Forum: Ask For Help
Topic: Copy & Paste Scripts
Replies: 4
Views: 920

Re: Copy & Paste Scripts

Start here...
https://autohotkey.com/docs/Tutorial.htm

You're looking to create hotkeys.
by Grendahl
16 Feb 2017, 09:56
Forum: Ask For Help
Topic: Copy & Paste Scripts
Replies: 4
Views: 920

Re: Copy & Paste Scripts

Paste your code in the forums here, using CODE tags from the full editor, and people can help.

Example:

Code: Select all

;this is a code block
MsgBox This is a message box
by Grendahl
16 Feb 2017, 09:16
Forum: Gaming
Topic: Imagesearch failure (new and confused!)
Replies: 1
Views: 379

Re: Imagesearch failure (new and confused!)

ImageSearch, x, y, 532 , 903, 988, 948, C:\Users\EXAMPLE\Desktop\PixelMacro\buff1.bmp

the output variables are required.
by Grendahl
16 Feb 2017, 09:08
Forum: Gaming
Topic: Game Rotation Script, Need Help Topic is solved
Replies: 3
Views: 604

Re: Game Rotation Script, Need Help Topic is solved

For one, you are in expression mode with your variable assignments, so anything that is a letter won't work.

For example,
habq := q
should be
habq := "q"
by Grendahl
06 Feb 2017, 11:37
Forum: Ask For Help
Topic: simple example of using file dll
Replies: 6
Views: 492

Re: simple example of using file dll

Sorry... let me re-paste the code.
I'll edit my other post
by Grendahl
06 Feb 2017, 10:34
Forum: Ask For Help
Topic: simple example of using file dll
Replies: 6
Views: 492

Re: simple example of using file dll

As simple as it gets... ;********** auto-execute section ********** DllCallMsgBox("This text is from a DllCall MsgBox","This is the MsgBox Title","0x00000000L") return ;********** functions ********** DllCallMsgBox(text, title, options="0x00000000L") { ;For MessageBox Options, See MSDN Page = https:...
by Grendahl
06 Feb 2017, 10:21
Forum: Ask For Help
Topic: How press 1, 2, 3 and then 4 repeatedly.
Replies: 2
Views: 325

Re: How press 1, 2, 3 and then 4 repeatedly.

Code: Select all

1::
	Loop 
	{	
		Click
		Sleep 250
		MouseMove -250, 0, 0, R
		Sleep 250
		Click
		Sleep 250
		MouseMove 250, 0, 0, R
		Sleep 250
	}
return

ESC::ExitApp
by Grendahl
06 Feb 2017, 09:30
Forum: Ask For Help
Topic: Easy MSRA script question
Replies: 9
Views: 726

Re: Easy MSRA script question

Make sure that the textbox is active on the msra window before sending. Note: You could just skip this, and use the unattended remote assistance wrapper for msra... http://www.mediafire.com/?5zlvr4ocgauv4k4 (use a runas shortcut with /savecred and you only have to pass credentials once every time yo...
by Grendahl
05 Dec 2016, 15:13
Forum: Ask For Help
Topic: Open explorer to UNC path, with credentials
Replies: 4
Views: 603

Re: Open explorer to UNC path, with credentials

That opens My Computer on localhost
by Grendahl
05 Dec 2016, 15:01
Forum: Ask For Help
Topic: Open explorer to UNC path, with credentials
Replies: 4
Views: 603

Open explorer to UNC path, with credentials

This doesn't work, but I'm hoping that someone on the forums knows how to open a UNC share using credentials passed to it, in Windows Explorer User := userName Pass := userPassword Domain := SomeDomain Host := serverName Share := someShare Run, %COMSPEC% /c explorer.exe /user:User Pass /domain:Domai...
by Grendahl
01 Dec 2016, 16:25
Forum: Ask For Help
Topic: Win32_Share on Remote Host Topic is solved
Replies: 2
Views: 352

Re: Win32_Share on Remote Host Topic is solved

That's perfect, thank you!
by Grendahl
01 Dec 2016, 14:57
Forum: Ask For Help
Topic: Win32_Share on Remote Host Topic is solved
Replies: 2
Views: 352

Win32_Share on Remote Host Topic is solved

Please help me figure out how to alter this snippet, which works fine on my local machine, to be able to list shares on a remote host. It must be able to run WMI as a different username than the script is running under. Simplest terms - this powershell command is what I want stored in an AHK variabl...
by Grendahl
31 Oct 2016, 14:27
Forum: Ask For Help
Topic: Dual Monitor mouse confinement script
Replies: 4
Views: 555

Re: Dual Monitor mouse confinement script

An example of mouse confinement, written as a joke. #NoEnv CoordMode, Mouse, Client MsgBox, Click OK to restrict mouse movements.`nPress ESC to stop. hSize := 500 ;Set width of contained area vSize := 250 ;Set height of contained area Left := (A_ScreenWidth / 2) - (hSize / 2) Top := (A_ScreenHeight ...
by Grendahl
14 Oct 2016, 15:49
Forum: Ask For Help
Topic: Skan's GetProcessTimes() givign me random results
Replies: 11
Views: 1203

Re: Skan's GetProcessTimes() givign me random results

From the link you pasted...

Use SetBatchLines -1 to never sleep (i.e. have the script run at maximum speed).

not SetBatchLines = -1

Code: Select all

SetBatchLines -1
by Grendahl
11 Oct 2016, 14:49
Forum: Scripts and Functions
Topic: Server Monitor (GUI Ping Tool with RDP and TRACERT)
Replies: 41
Views: 7288

Re: Server Monitor (GUI Ping Tool with RDP and TRACERT)

jNizM wrote:Here is a flushdns function: FlushDNS.ahk
So there is no need to call cmd
Thanks! Going to update that one in several utility scripts I have.

Go to advanced search