Search found 344 matches

by YoucefHam
30 Apr 2019, 15:04
Forum: Gaming
Topic: Problem with disabling keys in a game
Replies: 2
Views: 726

Re: Problem with disabling keys in a game

try this

Code: Select all

$LWin::Return
$RWin::Return
!Tab::Return
by YoucefHam
30 Apr 2019, 14:58
Forum: Gaming
Topic: Sometimes script works, sometimes not
Replies: 3
Views: 938

Re: Sometimes script works, sometimes not

try using Process, WaitClose, EGT.exe #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_Scr...
by YoucefHam
28 Apr 2019, 16:41
Forum: Ask For Help
Topic: Get the value of a text input field in chrome browser. Topic is solved
Replies: 2
Views: 577

Re: Get the value of a text input field in chrome browser. Topic is solved

try this #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consisten...
by YoucefHam
28 Apr 2019, 16:10
Forum: Ask For Help
Topic: Compiled script stealing focus Topic is solved
Replies: 8
Views: 844

Re: Compiled script stealing focus Topic is solved

ah I see try this #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a ...
by YoucefHam
28 Apr 2019, 15:54
Forum: Ask For Help
Topic: Compiled script stealing focus Topic is solved
Replies: 8
Views: 844

Re: Compiled script stealing focus Topic is solved

can I ask
You don't have Enter Key on your keyboard, or what the purpose of this
by YoucefHam
28 Apr 2019, 15:50
Forum: Ask For Help
Topic: AHK Can't work
Replies: 15
Views: 3293

Re: AHK Can't work

try this

go to "C:\Program Files\AutoHotkey\AutoHotkey.exe" Properties
Compatibility and check Run this program as Admin.
by YoucefHam
28 Apr 2019, 15:38
Forum: Ask For Help
Topic: Toggle GUI Transparency
Replies: 21
Views: 2114

Re: Toggle GUI Transparency

scriptor2016 wrote:
28 Apr 2019, 15:36
wow, just when I thought there are limitations, it seems there are none :)
This is what I LOVE in AutoHotKey.
by YoucefHam
28 Apr 2019, 15:35
Forum: Ask For Help
Topic: AHK Can't work
Replies: 15
Views: 3293

Re: AHK Can't work

I tried it and it work just fine

try adding this lines in top

Code: Select all

if not A_IsAdmin
{
   Run *RunAs "%A_ScriptFullPath%"
   ExitApp
}
by YoucefHam
28 Apr 2019, 15:29
Forum: Ask For Help
Topic: Compiled script stealing focus Topic is solved
Replies: 8
Views: 844

Re: Compiled script stealing focus Topic is solved

then post the script for debugging
by YoucefHam
28 Apr 2019, 15:25
Forum: Ask For Help
Topic: AHK Can't work
Replies: 15
Views: 3293

Re: AHK Can't work

yeah because you don't have those files.
by YoucefHam
28 Apr 2019, 15:17
Forum: Ask For Help
Topic: Compiled script stealing focus Topic is solved
Replies: 8
Views: 844

Re: Compiled script stealing focus Topic is solved

try running exe file as Admin
by YoucefHam
28 Apr 2019, 15:13
Forum: Ask For Help
Topic: AHK Can't work
Replies: 15
Views: 3293

Re: AHK Can't work

try to add them

Code: Select all

#InstallKeybdHook
#InstallMouseHook
by YoucefHam
28 Apr 2019, 15:10
Forum: Ask For Help
Topic: Toggle GUI Transparency
Replies: 21
Views: 2114

Re: Toggle GUI Transparency

here you go :D #singleinstance force #NoEnv ;~ Gui Parent: +OwnDialogs Gui Parent: Font, s35 Gui Parent: +AlwaysOnTop +LastFound HWNDParent ;+ToolWindow -Caption -Border Gui Parent: Color, 000000 Gui Parent: Show, x0 y0 w1600 h250, Parent GetGuiPosition() Gui 1: +OwnerParent +OwnDialogs Gui 1: Font,...
by YoucefHam
28 Apr 2019, 14:05
Forum: Ask For Help
Topic: Remapping CapsLock for Alt-Tab Topic is solved
Replies: 6
Views: 1166

Re: Remapping CapsLock for Alt-Tab Topic is solved

try this

Code: Select all

; example 1

#If GetKeyState("LAlt", "P")
	*CapsLock::
	SendInput, {Blind}{Tab}
	return
#If
	*CapsLock::LWin
	
	
	
; example 2

#If GetKeyState("Shift")
	*CapsLock::SendInput, {Blind}{Tab}
	return
	
#If !GetKeyState("Shift")
	!CapsLock::SendInput, {Blind}{Tab}
	return
	*CapsLock::LWin
by YoucefHam
28 Apr 2019, 06:08
Forum: Ask For Help
Topic: FileGetTime & DST problem Topic is solved
Replies: 14
Views: 2407

Re: FileGetTime & DST problem Topic is solved

believe me, windows settings can mess you up, and you will not know it.
It happened to me before
by YoucefHam
28 Apr 2019, 04:49
Forum: Ask For Help
Topic: Changing hotkey based on user input Topic is solved
Replies: 1
Views: 333

Re: Changing hotkey based on user input Topic is solved

try this Initui: Gui, Color, White Gui, Add, Text,, Screen resolution: Gui, Add, DropDownList, vScreenResolutions, 1920x1080|1600x900|1536x864|1440x900|1366x768|1280x1024|1280x800|1280x720|1024x768 Gui, Add, Text,, Your hotkey: Gui, Add, Hotkey, vHotkey ;<============ Gui, Add, Text,, Hit Enter to s...
by YoucefHam
28 Apr 2019, 04:18
Forum: Ask For Help
Topic: Toggle GUI Transparency
Replies: 21
Views: 2114

Re: Toggle GUI Transparency

Yeah,
:wave: There is always more than one way to solve a problem. ;)
by YoucefHam
28 Apr 2019, 03:51
Forum: Ask For Help
Topic: Toggle GUI Transparency
Replies: 21
Views: 2114

Re: Toggle GUI Transparency

like this WM_LBUTTONDOWN() { global loop, 3 { WinGet, HWNDn, ID, A WinSet, Trans, % (HWNDn = hGui%A_Index% ? "OFF" : 55), hGui%A_Index% } IfWinActive, ahk_id %hGui1% ;RED { MsgBox, RED } else IfWinActive, ahk_id %hGui2% ;Blue { MsgBox, BLUE } else IfWinActive, ahk_id %hGui3% ;Green { MsgBox, GREEN }...

Go to advanced search