Search found 158 matches

by aaffe
12 May 2020, 06:15
Forum: Ask For Help
Topic: Ctrl and Win - Hotkey
Replies: 6
Views: 321

Re: Ctrl and Win - Hotkey

youre right, sorry.
I had another hotkey in my script
#e
that was triggerd :shameOverme:
by aaffe
12 May 2020, 04:24
Forum: Ask For Help
Topic: Ctrl and Win - Hotkey
Replies: 6
Views: 321

Re: Ctrl and Win - Hotkey

Thank you. the msgbox works.
But Win+E still doesnt open the Explorer....
by aaffe
12 May 2020, 02:55
Forum: Ask For Help
Topic: Ctrl and Win - Hotkey
Replies: 6
Views: 321

Re: Ctrl and Win - Hotkey

Thank you.
But I dont want Ctrl and Lwin pressed at the same time, but first Ctrl and after that Lwin...
by aaffe
12 May 2020, 02:15
Forum: Ask For Help
Topic: Ctrl and Win - Hotkey
Replies: 6
Views: 321

Ctrl and Win - Hotkey

Hallo, I have made a hotkey you first have to press LCtrl, then Lwin. I does what it has to, but Win+E doenst open the explorer any longer. Does anyone know how to solve this? Thanks! ~LControl:: Return ~LWin Up:: if (A_PriorHotkey != "~LControl" or A_TimeSincePriorHotkey > 800) { return } msgbox st...
by aaffe
03 Nov 2019, 23:20
Forum: Ask For Help
Topic: Script Login Topic is solved
Replies: 9
Views: 1769

Re: Script Login Topic is solved

come on, do something on your own!
by aaffe
30 Oct 2019, 09:39
Forum: Ask For Help
Topic: Script Login Topic is solved
Replies: 9
Views: 1769

Re: Script Login Topic is solved

ok, you can adapt this for you: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. IfnotExist,c:\tmp Fil...
by aaffe
30 Oct 2019, 07:24
Forum: Ask For Help
Topic: Script Login Topic is solved
Replies: 9
Views: 1769

Re: Script Login Topic is solved

Ok, how much will you sell for the Login System Code?
;)

No, just a joke. I think no one will Code you a Login System that is more difficult than your script and you can sell it then.
Perhaps you are lucky and someone will do it, but I dont think so.
by aaffe
30 Oct 2019, 04:03
Forum: Ask For Help
Topic: Series of hotkeys
Replies: 7
Views: 775

Re: Series of hotkeys

or you can reset the first key combination via Windows a:

Code: Select all

#x::
WinXPressed := 1
Return

#if WinXPressed
#u::
WinXPressed := 0
MsgBox, Script has been initiated
; your code here
return

#a::
	WinXPressed:= 0
Return
by aaffe
30 Oct 2019, 04:01
Forum: Ask For Help
Topic: Series of hotkeys
Replies: 7
Views: 775

Re: Series of hotkeys

the timer means you have to press the second key combination within 1 Second. If not, the first key combination is resetted.
You dont see anything from the timer. Did you try my script?
by aaffe
30 Oct 2019, 00:07
Forum: Ask For Help
Topic: Script Login Topic is solved
Replies: 9
Views: 1769

Re: Script Login Topic is solved

Sorry, but where is your Login script? I dont think it is the script posted. It has Nothing to do with a Login System.
by aaffe
30 Oct 2019, 00:00
Forum: Ask For Help
Topic: Series of hotkeys
Replies: 7
Views: 775

Re: Series of hotkeys

Try this:

Code: Select all

WinXPressed := 0

#x::
WinXPressed := 1
Settimer,WinXNotPressed,-1000
Return

#if WinXPressed
#u::
WinXPressed := 0
Settimer,WinXNotPressed,Off
MsgBox, Script has been initiated
; your code here
return

winXNotPressed:
	WinXPressed:= 0
Return
by aaffe
23 Oct 2019, 08:56
Forum: Ich brauche Hilfe
Topic: Leerzeichen in Pfad ausgeben Topic is solved
Replies: 2
Views: 1548

Re: Leerzeichen in Pfad ausgeben Topic is solved

Hallo Mike, bei mir geht es so: !q:: WinGet pid, PID, A wmi := ComObjGet("winmgmts:") queryEnum := wmi.ExecQuery("Select * from Win32_Process where ProcessId=" . pid)._NewEnum() if queryEnum[proc] { msgbox % vCmdLn := proc.CommandLine ; hier erhalte ich den Pfad zum Programm und zur geöffneten Datei...
by aaffe
16 Nov 2018, 09:50
Forum: Ask For Help
Topic: Regwrite doest work
Replies: 10
Views: 1997

Re: Regwrite doest work

; Prompt to 'Run as Admin', i.e. show UAC dialog
If Not A_IsAdmin
{
Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+
ExitApp
}
RegWrite, REG_DWORD, HKEY_LOCAL_MACHINE, SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System , VerboseStatus, 00000001
Msgbox Writing to registry now
by aaffe
17 Oct 2018, 07:01
Forum: Skripte und Funktionen
Topic: Groß nach Interpunktion/Nicht auslösen innerhalb eines Wortes
Replies: 1
Views: 3093

Re: Groß nach Interpunktion/Nicht auslösen innerhalb eines Wortes

Hotstring Options: ? (question mark): The hotstring will be triggered even when it is inside another word; that is, when the character typed immediately before it is alphanumeric. For example, if :?:al::airline is a hotstring, typing "practical " would produce "practicairline ". Use ?0 to turn this ...
by aaffe
11 Sep 2018, 23:37
Forum: Scripts and Functions
Topic: Window Spy (My Edit on the already made script)
Replies: 14
Views: 4142

Re: Window Spy (My Edit on the already made script)

Perhaps this script should be added in the ahk Installation?
by aaffe
17 Aug 2018, 01:40
Forum: Scripts and Functions
Topic: AniGIF - Create gif control using AniGIF.dll
Replies: 4
Views: 1337

Re: AniGIF - Create gif control using AniGIF.dll

very cool. Thank you!
by aaffe
17 Aug 2018, 01:18
Forum: Ask For Help
Topic: case command?
Replies: 4
Views: 965

Re: case command?

Thank you. I know the Workaround with IFs, but I think a real case command would be better. But there isnt one as you wrote. Thanks for your answers!
by aaffe
16 Aug 2018, 08:19
Forum: Ask For Help
Topic: case command?
Replies: 4
Views: 965

case command?

One Question, perhaps I have forgotten About the possibility to do this:
Do we alreade have an case-command in ahk?
Like:

Code: Select all

case a in
1) do xyz
2) do zzz
Default) do Nothing
end case
by aaffe
09 Aug 2018, 23:17
Forum: Gaming
Topic: Two keys in one button that that also do 2 different functions.
Replies: 2
Views: 745

Re: Two keys in one button that that also do 2 different functions.

dont know if I did understand you wright….
untested:

Code: Select all

#IfWinActive, Fortnite
*RButton::
 Send {RButton}
 KeyWait, RButton
 Return
 *RButton Up::
 Send {RButton}
 Return
 #IfWinActive
 
Btw: Theres an extra ask for help Question for games.
by aaffe
13 Apr 2018, 00:47
Forum: Ask For Help
Topic: Sending file with spaces to script
Replies: 5
Views: 1095

Re: Sending file with spaces to script

I already have a solution. But to know for you: I mark several Folders and files in Explorer -> click mouse button right -> send to -> my script.

Go to advanced search