Search found 1172 matches

by Scr1pter
Today, 07:41
Forum: Ask For Help
Topic: Logitech G600 mouse with 20+ buttons onboard
Replies: 11
Views: 3815

Re: Logitech G600 mouse with 20+ buttons onboard

Ok, I see. Yes, you can have different profiles within an application using #if WinActive. Example: #if WinActive(ahk_class Notepad++) F24:: nppProfile++ if nppProfile = 4 { nppProfile= 1 } return #if WinActive(ahk_class Notepad++) and nppProfile = 1 F13:: MsgBox, hello 1 return #if WinActive(ahk_cl...
by Scr1pter
Today, 06:52
Forum: Ask For Help
Topic: Logitech G600 mouse with 20+ buttons onboard
Replies: 11
Views: 3815

Re: Logitech G600 mouse with 20+ buttons onboard

You could also use key combinations as F13+F14 F13+F15 etc. This will give you a lot of combinations. I did that for my Logitech G15. But I think you have some little logic error (German English :) ) Instead of creating several profiles in G Hub, you can use just one (F13 till F24) and work with AHK...
by Scr1pter
25 Jun 2020, 19:07
Forum: Ask For Help
Topic: Showing WMPlayer mp3 tags in AHK Gui Topic is solved
Replies: 4
Views: 1871

Re: Showing WMPlayer mp3 tags in AHK Gui Topic is solved

I solved it by using if WinExist.
Thanks anyway :)
(At least thanks for your great class, hehe)

Cheers!
by Scr1pter
25 Jun 2020, 17:24
Forum: Ask For Help
Topic: Showing WMPlayer mp3 tags in AHK Gui Topic is solved
Replies: 4
Views: 1871

Re: Showing WMPlayer mp3 tags in AHK Gui Topic is solved

Hi, Unfortunately, the result is the same. ;WMPlayer_alt.ahk F5:: wmp := new RemoteWMP media := wmp.player.currentMedia MsgBox, % media.getItemInfo("Title") . "`n" . media.getItemInfo("WM/AlbumTitle") . "`n" . media.getItemInfo("Artist") return F6:: wmp := delete RemoteWMP ; doesn't have any impact ...
by Scr1pter
24 Jun 2020, 18:00
Forum: Ask For Help
Topic: Showing WMPlayer mp3 tags in AHK Gui Topic is solved
Replies: 4
Views: 1871

Showing WMPlayer mp3 tags in AHK Gui Topic is solved

Hello, I found a script, modified it a bit and it works well. There are 2 problems, though: 1) If I quit the Windows media player, the mp3 tags are still there. I would expect that the GUI would be empty (as if I started it without running Windows Media Player) 2) For unknown reason, when I quit the...
by Scr1pter
15 Jun 2020, 16:06
Forum: Ask For Help
Topic: if variable = value of group Topic is solved
Replies: 6
Views: 2312

Re: if variable = value of group Topic is solved

Thank you ALL for your help!

Good to see my pseudo code was close to the solution.

I decided that choose this way (for now):

Code: Select all

F11::
#include Allowed Values.txt

if Clipboard in %allowedValues%
{
  MsgBox, correct
}
else
{
  MsgBox, incorrect
}
return
Thanks and best regards!
by Scr1pter
14 Jun 2020, 11:47
Forum: Ask For Help
Topic: Mapping Numpad Keys to Multimedia Keys Issues Topic is solved
Replies: 1
Views: 703

Re: Mapping Numpad Keys to Multimedia Keys Issues Topic is solved

Hi,
Try it with NumpadDiv, Sub, Add, Mult
https://www.autohotkey.com/docs/KeyList.htm#numpad

I remember that not all combinations work with numkeys.
Perhaps ^NumpadDiv:: might actually not work.

Cheers!
by Scr1pter
13 Jun 2020, 17:35
Forum: Ask For Help
Topic: if variable = value of group Topic is solved
Replies: 6
Views: 2312

if variable = value of group Topic is solved

Hello, This code works, but I wonder if I can create a group which contains all allowed values, so that the if statement checks if the value is an allowed one. F11:: variable = 3 if (variable = 4) or (variable = 3) or (variable = 2) { MsgBox, correct } else { MsgBox, incorrect } return My idea is to...
by Scr1pter
10 Jun 2020, 19:48
Forum: Ask For Help
Topic: One key 2 functions. Help please
Replies: 3
Views: 150

Re: One key 2 functions. Help please

One idea could be to put the 1st script under Capslock:: and the second one under Capslock up:: Capslock:: Loop, 20 ; I didn't count them... { Send d Sleep, 50 } return Capslock up:: Sleep, 1000 Send s Sleep, 100 Loop, 5 { Click, right Sleep, 500 } return There is perhaps a better way, but I can't c...
by Scr1pter
10 Jun 2020, 17:40
Forum: Ich brauche Hilfe
Topic: Funktionstasten sind vorbelegt und lassen sich nicht umdefinieren
Replies: 3
Views: 246

Re: Funktionstasten sind vorbelegt und lassen sich nicht umdefinieren

Jap, versuch mal folgendes:
1. Laptop einschalten bzw neu starten
2. Sofort F2 drücken (evt. mehrmals oder halten)
3. Auf Configuration gehen
4. HotKey Mode auf disabled stellen
5. Exit -> Exit Saving changes

So ist es bei meinem Lenovo Yoga.

Grüße
by Scr1pter
08 Jun 2020, 15:04
Forum: Spiele
Topic: Anfänger braucht Hilfe beim Skript. Topic is solved
Replies: 20
Views: 955

Re: Anfänger braucht Hilfe beim Skript. Topic is solved

^1:: ; Strg+1 Loop, 10 ; Erstmal testweise nur 10 mal { Mouseclick, left, 1113, 534 ; Linksklick auf x1113 y534 Sleep, 100 ; 100 ms Verzögerung/Pause Send {WheelDown} ; Nach unten scrollen Sleep, 100 ; 100 ms Verzögerung/Pause } return ?? . Wenn es um ein Spiel geht, könnte evt Send {lbutton down} ...
by Scr1pter
07 Jun 2020, 14:25
Forum: Spiele
Topic: Anfänger braucht Hilfe beim Skript. Topic is solved
Replies: 20
Views: 955

Re: Anfänger braucht Hilfe beim Skript. Topic is solved

Du musst aus ;^1 ein ^1:: machen. Wenn du das Skript dann startest, kannst du dieses Unterskript (Klicken und Scrollen) mittels Strg+1 starten. So könnte es aussehen: ^1:: ; Strg+1 Mouseclick, left, 1113, 534 ; Linksklick auf x1113 y534 Sleep, 100 ; 100 ms Verzögerung/Pause Send {WheelDown} ; Nach u...
by Scr1pter
07 Jun 2020, 10:25
Forum: Spiele
Topic: Anfänger braucht Hilfe beim Skript. Topic is solved
Replies: 20
Views: 955

Re: Anfänger braucht Hilfe beim Skript. Topic is solved

Maus bewegen ist MouseMove.
Send {WheelUp} ist nach oben scrollen.

Klicken und halten ist
Send {lbutton down}
Loslassen ist
Send {lbutton up}

Geht natürlich auch mit anderen Tasten.

Grüße
by Scr1pter
29 May 2020, 12:52
Forum: Ask For Help
Topic: simulating two fingers scrolling at the touchpad Topic is solved
Replies: 3
Views: 210

Re: simulating two fingers scrolling at the touchpad Topic is solved

What about?

Code: Select all

F1::
Send {WheelDown 3}
return 

F2::
Send {WheelUp}
return
Notice that you can specify the scroll amount as in example 1.

Cheers!
by Scr1pter
27 May 2020, 14:06
Forum: Ich brauche Hilfe
Topic: Bitte schätzungsweise drei Zeilen Code
Replies: 10
Views: 694

Re: Bitte schätzungsweise drei Zeilen Code

Was kommt als nächstes?
Ein Skript, das einen daran erinnert, zu atmen? :D
Spaß beiseite, nutz doch einfach einen Handy-Timer.
Sobald der ertönt, lässt du den PC ruhen und machst deine Pause.

Grüße
by Scr1pter
25 May 2020, 17:07
Forum: Ich brauche Hilfe
Topic: AHK binds auf PS4 Controller binden
Replies: 2
Views: 256

Re: AHK binds auf PS4 Controller binden

Einfach den Controller mit dem PC verbinden und dann mittels Joy1:: bis Joy12:: die Skripte starten. Bei der Windows Systemsteuerung kannst du innerhalb der Geräte das Gamepad testen, um zu sehen, welcher Button welche Nr. hat Hier ein kleines Beispiel-Skript: Joy1:: ; A (rot rechts) Send {NumpadMul...
by Scr1pter
23 May 2020, 20:04
Forum: Ask For Help
Topic: Hold Right Mouse Click Not Working Properly
Replies: 5
Views: 266

Re: Hold Right Mouse Click Not Working Properly

@TokiSciFi: Do yourself a favor and change the structure of your code to vsub's one. Especially as a beginner you will quickly lose the overview when copying and pasting code blocks. You have to apply changes X times, rather than just 1 time. I think the problem is that once you release any of these...
by Scr1pter
13 May 2020, 06:25
Forum: Ask For Help
Topic: [Touchpad] Issue with blocking keys temporarily Topic is solved
Replies: 4
Views: 511

Re: [Touchpad] Issue with blocking keys temporarily Topic is solved

Hi and welcome, I tried to make the code as easy as possible. You can change the functions to your desired ones: ;Cortana bzw. 3-fach Touch unterbinden ^+#F22:: ; Interner Windows-Befehl return !+Tab:: ; Alt+Shift+Tab bzw. Drei/3 Finger nach links Send ^{PgUp} ; Strg+Bild nach oben return !Tab:: ; A...
by Scr1pter
11 May 2020, 07:08
Forum: Ich brauche Hilfe
Topic: Drucker ansteuern über GUI Topic is solved
Replies: 27
Views: 1773

Re: Drucker ansteuern über GUI Topic is solved

Erste Idee: "Rechtsklick -> Seitenquelltext anzeigen"?

Grüße
by Scr1pter
07 May 2020, 16:42
Forum: Ask For Help
Topic: Resizing a gui not just on edges?
Replies: 2
Views: 247

Re: Resizing a gui not just on edges?

Thank you (again :) ) Well, it's a clever method but unfortunately it does not work for touch. I think the problem is that Windows does not accept touch as OnMessage(0x201, "WM_LBUTTONDOWN"). This means I will probably have to work with lbutton. However, I don't know what parameters to use: #if guiM...

Go to advanced search