Search found 104 matches
- 18 Apr 2016, 07:12
- Forum: Ask For Help
- Topic: AHK file to initiate a Video Call in Skype
- Replies: 1
- Views: 538
Re: AHK file to initiate a Video Call in Skype
First, KEY is a programmer's way of saying "put any key definition here," so you'll have to replace that with "F1". I would imagine that SKYPE_USER is the same thing; replace that with your recipient. By doing some quick Google searches, I think the syntax is off from the /callto: , so you would nee...
- 18 Apr 2016, 06:54
- Forum: Ask For Help
- Topic: Need to repeat Xbox one button.
- Replies: 1
- Views: 2826
Re: Need to repeat Xbox one button.
Use KeyHistory to find out the commands that your controller sends to the computer (see this link for more clarity on how to find those key codes), replace the two periods in the following script with those two values, then run this script and press Numpad1 to start spamming that key: Esc::ExitApp N...
- 18 Apr 2016, 06:45
- Forum: Ask For Help
- Topic: Stop keypress from waking monitor
- Replies: 7
- Views: 2672
Re: Stop keypress from waking monitor
If BlockInput doesn't work, then either use the first code I posted to quickly resend the message after detecting the event, or you would have to look through the Windows API to find a function usable through DllCall, and I still haven't gotten that far into Windows/AHK yet.
- 18 Apr 2016, 06:25
- Forum: Ask For Help
- Topic: Playing 2 audio tracks at the same time
- Replies: 7
- Views: 1499
Re: Playing 2 audio tracks at the same time
The only lines you needed to change are the first three and possibly the lines starting with Run; the rest of the code should function as you originally intended unless I've got some typos or other logical errors. Can you post your current code?
- 18 Apr 2016, 05:52
- Forum: Ask For Help
- Topic: Double click with controlclick
- Replies: 3
- Views: 869
Re: Double click with controlclick
You'll be running that script and finding the ID of the window and control you're hovering over, and if it's 0x98072 with SubmitOKFinal, then you'll do something like this:
ControlClick, SubmitOKFinal, ahk_id 0x98072,, Left, 2
ControlClick, SubmitOKFinal, ahk_id 0x98072,, Left, 2
- 15 Apr 2016, 11:01
- Forum: Ask For Help
- Topic: Can't get alt-w=+ to work
- Replies: 3
- Views: 724
Re: Can't get alt-w=+ to work
!w::Send {NumpadAdd}
- 15 Apr 2016, 10:48
- Forum: Gaming
- Topic: Link gui checkbox to turn on csgo bhop script
- Replies: 1
- Views: 1136
Re: Link gui checkbox to turn on csgo bhop script
Add a glabel to the AHK checkbox so that when you check it, it calls a subroutine which can toggle your keybinds. I'm not at my testing computer, so this might not work, but here goes: toggleBHop := 0 toggleAHK := 0 Gui, Add, Picture, x-22 y-11 w514 h370 , C:\Users\MARBLR\Desktop\New folder (3)\back...
- 15 Apr 2016, 09:47
- Forum: Ask For Help
- Topic: Can't get alt-w=+ to work
- Replies: 3
- Views: 724
Re: Can't get alt-w=+ to work
Do you want to send a "+" symbol? Or do you have a "+" key on your keyboard that you want to remap?
!w::Send {+}
!w::Send {+}
- 15 Apr 2016, 09:18
- Forum: Ask For Help
- Topic: Stop keypress from waking monitor
- Replies: 7
- Views: 2672
Re: Stop keypress from waking monitor
BlockInput should also stop keyboard input. Test a script by doing something like this in Notepad:
Code: Select all
MsgBox,,, Blocking keyboard input., 1000
BlockInput, On
Sleep, 5000
BlockInput, Off
MsgBox,,, Unblocking keyboard input., 1000
Sleep, 5000
MsgBox, Notice any difference?
- 15 Apr 2016, 09:04
- Forum: Ask For Help
- Topic: Help !
- Replies: 3
- Views: 897
Re: Help !
An external HDD is merely a storage device. You can read and write there all you want, but the moment you try to execute a program or script, your software will block it. Your problem is software related, not hardware. Ask your supervisor about it. If it can be considered productivity software and y...
- 15 Apr 2016, 06:31
- Forum: Ask For Help
- Topic: Double click with controlclick
- Replies: 3
- Views: 869
Re: Double click with controlclick
If you pull up WindowSpy and hover over the button you need to click on, it will give you the name of the control as well as the window title. You can then use the ControlClick method you described. ControlClick, controlname, windowtitle,, Left, 2 If WindowSpy isn't working, try running this script ...
- 15 Apr 2016, 06:26
- Forum: Ask For Help
- Topic: Click Macro Topic is solved
- Replies: 2
- Views: 659
Re: Click Macro Topic is solved
To find the coordinates, hover over the box that you need to click and press Numpad1 while this script is running: Numpad1:: MouseGetPos, xpos, ypos MsgBox, Mouse is at x%xpos%, y%ypos% ExitApp For the time limit, use Sleep, 1 where the number is the millisecond value of how long to sleep. In your c...
- 15 Apr 2016, 06:14
- Forum: Ask For Help
- Topic: Help !
- Replies: 3
- Views: 897
Re: Help !
If your office blocked AHK, then the only way to make it work is to ask them to make an exception, or change your computer's settings against their permission which nobody here is advocating. Or get a work laptop and run AHK there if possible. Sorry :(
- 15 Apr 2016, 06:08
- Forum: Ask For Help
- Topic: Stop keypress from waking monitor
- Replies: 7
- Views: 2672
Re: Stop keypress from waking monitor
If you're not satisfied with Hinker's answer, then we need more information. You mentioned that the computer doesn't go into sleep/hibernate/shutdown mode, so it's actively running but with the monitor powered off. If that's the case, BlockInput, On will prevent your computer from recognizing any ke...
- 15 Apr 2016, 05:45
- Forum: Ask For Help
- Topic: Automatically press a popup button Topic is solved
- Replies: 1
- Views: 646
Re: Automatically press a popup button Topic is solved
I play a flash game which allows mouse movement to break user inactivity. A simple script to move the mouse one pixel left, then one pixel right very quickly breaks inactive status before the popup would even appear. Perhaps sending a keystroke occasionally would also work, such as with A_TimeIdle a...
- 15 Apr 2016, 05:38
- Forum: Ask For Help
- Topic: Script stopped working altogether
- Replies: 4
- Views: 918
Re: Script stopped working altogether
That script works fine on Windows 7 x64 using AHK 1.1.23.5 Unicode 64-bit. I would need to see your system specs and installation of AHK to further debug. At least it works, albeit not as intended. That's an improvement over your previous issue. It's possible another program could be interfering wit...
- 14 Apr 2016, 05:44
- Forum: Ask For Help
- Topic: Playing 2 audio tracks at the same time
- Replies: 7
- Views: 1499
Re: Playing 2 audio tracks at the same time
As long as the audio player can run two simultaneous instances, that sounds simple enough. Many audio players force a single instance, and you have to mess with the options to allow multiple instances, but I've had no issues doing that on VLC. I think it's as simple as using the Run command to open ...
- 13 Apr 2016, 12:06
- Forum: Gaming
- Topic: need help with simple code
- Replies: 5
- Views: 1409
Re: need help with simple code
You're forgetting to end the block of code, so AHK thinks you want to run both blocks when you press "e". Right now, this is what your blocks look like: Press e: do stuff 1 do stuff 2 Press Capslock: do stuff 2 You need to throw return at the end of the code which you want to stop executing. In your...
- 13 Apr 2016, 09:49
- Forum: Ask For Help
- Topic: mouseclik
- Replies: 5
- Views: 853
Re: mouseclik
You will have to change the name from "some_program.exe" to the program you want this to work in. Since it is unlikely that your program is named exactly "some_program.exe", the code below that line doesn't function.lado wrote:#IfWinActive ahk_exe some_program.exe
- 13 Apr 2016, 08:47
- Forum: Ask For Help
- Topic: Can Someone Explain This For Me?
- Replies: 1
- Views: 540
Re: Can Someone Explain This For Me?
Random creates a random number between 0 and 2147483647 inclusive. Move is an undefined function which you didn't include with your code. Round rounds to the nearest integer. Mod checks the remainder of a division. This code divides the rounded distance by a number, and if the distance is exactly di...