Search found 1751 matches

by Xtra
05 Jul 2016, 22:37
Forum: Gaming
Topic: small volume script not working in-game
Replies: 5
Views: 1176

Re: small volume script not working in-game

Make sure your F10 - F12 keys are not bound to an action in game.
or
use ~ hotkey prefix if the keys are bound in game and you want to use them anyways:

Code: Select all

~F12::soundSet,+1,,MUTE ;toggle mute
by Xtra
05 Jul 2016, 18:53
Forum: Gaming
Topic: Change mouse speed or dpi on keyboard hold Topic is solved
Replies: 12
Views: 14643

Re: Change mouse speed or dpi on keyboard hold Topic is solved

You probably need to run the script as admin. I made this for someone awhile back and its on old ahk forum: #NoEnv SetBatchLines -1 ; Usage: SniperMode(1,[speed]) = on (speed optional: 1-20 range, default is 2) ; SniperMode(0) = off XButton1:: SniperMode(1) KeyWait XButton1 SniperMode(0) return XBut...
by Xtra
05 Jul 2016, 11:00
Forum: Ask For Help
Topic: Remote desktop session intermittently affects string replace
Replies: 2
Views: 412

Re: Remote desktop session intermittently affects string replace

I had this happen a few weeks ago. I ended up sending {Shift Up} before sending my text string. It's like citrix gets hung up because when i checked if the key was physically down or logically down it always returned false but the keys sent was like shift was held down. In my case 53241 was entered ...
by Xtra
05 Jul 2016, 02:55
Forum: Ask For Help
Topic: Force Caps lock on/off? Topic is solved
Replies: 2
Views: 842

Re: Force Caps lock on/off? Topic is solved

Example:

Code: Select all

#Persistent
SetTimer, wincheck, 500

wincheck:
IfWinActive, ahk_class Notepad
    SetCapsLockState, On
else
    SetCapsLockState, Off
return
by Xtra
04 Jul 2016, 15:59
Forum: Ask For Help
Topic: Making a hotkey to send a text, then send it with enter.
Replies: 5
Views: 1027

Re: Making a hotkey to send a text, then send it with enter.

This does exactly what you are asking for:

Code: Select all

{::Send, [email protected]{Enter}
See it wasn't that hard.

I suggest if you want to learn AHK the help file is the documentation you need to use.

HTH
by Xtra
03 Jul 2016, 23:42
Forum: Ask For Help
Topic: Question about: GroupAdd
Replies: 2
Views: 556

Re: Question about: GroupAdd

GroupAdd
Since the entries in each group need to be added only once, this command is typically used in the auto-execute section (top part of the script). Attempts to add duplicate entries to a group are ignored.

When in doubt check the docs.

HTH
by Xtra
03 Jul 2016, 18:21
Forum: Ask For Help
Topic: Pixel script Topic is solved
Replies: 4
Views: 1108

Re: Pixel script Topic is solved

Make sure your colors are correct and in RGB format and then verify the color is within the coords specified.
by Xtra
03 Jul 2016, 13:06
Forum: Gaming
Topic: If SPACE is not pressed
Replies: 3
Views: 959

Re: If SPACE is not pressed

Try it like this:

Code: Select all

SetCapsLockState, Off

~Space::SetCapsLockState, On
 
~Space Up::SetCapsLockState, Off

by Xtra
02 Jul 2016, 23:40
Forum: Ask For Help
Topic: Small permanent circle at the middle of the screen
Replies: 2
Views: 544

Re: Small permanent circle at the middle of the screen

You could use a transparent gui with an image and text in it. (It has been done before do a search for it.)
Or if you want to do some really cool stuff look up Gdip lib.

HTH
by Xtra
02 Jul 2016, 23:37
Forum: Gaming
Topic: If SPACE is not pressed
Replies: 3
Views: 959

Re: If SPACE is not pressed

Try this:

Code: Select all

~Space::SetCapsLockState, On

~Space Up::SetCapsLockState, Off
by Xtra
02 Jul 2016, 18:13
Forum: Ask For Help
Topic: Shift makes my sound script not work
Replies: 2
Views: 580

Re: Shift makes my sound script not work

Use * hotkey prefix:
Wildcard: Fire the hotkey even if extra modifiers are being held down.

Code: Select all

~*LButton::
;f1=E:\test.mp3
f1=C:\äkek.mp3
soundplay,%f1%,
KeyWait, LButton, U
SoundPlay, Nonexistent.avi.
return
by Xtra
02 Jul 2016, 17:51
Forum: Ask For Help
Topic: BlockInput Priority Topic is solved
Replies: 3
Views: 634

Re: BlockInput Priority Topic is solved

BlockInput requires the script to be run with admin rights.
by Xtra
01 Jul 2016, 17:40
Forum: About This Community
Topic: Solved Button proposal Topic is solved
Replies: 47
Views: 24638

Re: Solved Button proposal Topic is solved

tank wrote:what would ever be "SOLVED" in offtopic?

I'd guess an off topic question? Yea i know how common is that... :facepalm:
by Xtra
01 Jul 2016, 17:36
Forum: Tips and Tricks
Topic: Why you should avoid while(GetKeyState("a", "P")) to detect release of key a
Replies: 22
Views: 31162

Re: Why you should avoid while(GetKeyState("a", "P")) to detect release of key a

Masonjar13 wrote: Different methods for different instances. I thoroughly discourage the mindset of there being one "right" way of doing something, it can ruin a creative mind.
+1
by Xtra
30 Jun 2016, 11:32
Forum: Ask For Help
Topic: Menus
Replies: 2
Views: 539

Re: Menus

Example: #NoEnv #SingleInstance, Force #Persistent menu,tray,NoStandard menu,tray,icon,compstui.dll, 62 ; Network drive icon Menu, tray, Add, % A_ComputerName, noclick menu, tray, Add ; Spacer menu, tray, Add, % A_IPAddress1, noclick menu, tray, Add, % A_IPAddress2, noclick menu, tray, Add, % A_IPAd...
by Xtra
30 Jun 2016, 09:28
Forum: Ask For Help
Topic: The ABC of variables
Replies: 9
Views: 1826

Re: The ABC of variables

Try your example like this:

Code: Select all

#F2::
example := 3 + 3
msgbox, Example is equal to %example%
return
Notice there is no space between # and F2 and no space between f2 and ::

Also there is no space between : and =

And the last thing is %example% not to% example%

HTH
by Xtra
29 Jun 2016, 16:48
Forum: Ask For Help
Topic: Script dont work on BlueStack 2.2.21 Topic is solved
Replies: 6
Views: 1997

Re: Script dont work on BlueStack 2.2.21 Topic is solved

Did you try running your script as admin?
by Xtra
29 Jun 2016, 14:40
Forum: Ask For Help
Topic: Script dont work on BlueStack 2.2.21 Topic is solved
Replies: 6
Views: 1997

Re: Script dont work on BlueStack 2.2.21 Topic is solved

Check and verify your WinTitle is the same as it was before (BlueStacks App Player)
by Xtra
29 Jun 2016, 14:36
Forum: Ask For Help
Topic: Issues with chrome using simple scripts
Replies: 4
Views: 777

Re: Issues with chrome using simple scripts

I tried sending it to chrome and it worked with no problems.
I type:
mhbu and press the spacebar.

Not sure if the space is a typo but it seems to work for me.
by Xtra
29 Jun 2016, 12:03
Forum: Ask For Help
Topic: Issues with chrome using simple scripts
Replies: 4
Views: 777

Re: Issues with chrome using simple scripts

You may need to run your script with admin rights.

Go to advanced search