Search found 20 matches

by Renz
26 Sep 2021, 09:18
Forum: Ich brauche Hilfe
Topic: Zwischen 2 Timestamps die Tage erhalten? Topic is solved
Replies: 0
Views: 947

Zwischen 2 Timestamps die Tage erhalten? Topic is solved

Hallo :)

Wie kann ich am besten die Tage berechnen die vergangen sind zwischen 2 Timestamps?

Code: Select all

global DateofBegin := 20210901154732
global Today := A_Now

Lösung: 
newDate := A_Now
newDate -= 20210901154732,Days
Hat sich erledigt, wer lesen kann ist klar im vorteil :monkeysee: :bravo: :bravo:
by Renz
26 Sep 2021, 09:15
Forum: Ich brauche Hilfe
Topic: Durchschnittlich berechnen Topic is solved
Replies: 5
Views: 1753

Re: Durchschnittlich berechnen Topic is solved

Vielen Dank für die Hilfe :)
by Renz
19 Sep 2021, 11:50
Forum: Ich brauche Hilfe
Topic: Durchschnittlich berechnen Topic is solved
Replies: 5
Views: 1753

Durchschnittlich berechnen Topic is solved

Hallo

Ich habe eine kurze und knappe Frage
Wie errechne ich den durchschnittlichen Wert einer Zahl
Ich bräuchte von der Zahl 678 zb.
Den Monatsschnitt und den Tagesschnitt sowie den Stundenschnitt.
by Renz
14 Apr 2018, 23:21
Forum: Gaming Help (v1)
Topic: +1 Function..
Replies: 1
Views: 631

Re: +1 Function..

Hey, Try this :) Loop % 10 ID_List1.=IncID("sj218f") "`n" Msgbox % ID_List1 Loop % 3 ID_List2.=IncID("sj2asdasd") "`n" Msgbox % ID_List2 Loop % 5 ID_List3.=IncID("asasadf323") "`n" Msgbox % ID_List3 IncID(Key) { global If(Key<>Old_Key) ID_COUNT := 0 return (Old_Key := Key) "" ++ID_COUNT } Output: sj...
by Renz
08 Apr 2018, 05:41
Forum: Gaming Help (v1)
Topic: Get Angle between 2 Coords
Replies: 0
Views: 621

Get Angle between 2 Coords

Hey there... I have a litte question about Angle calculating. i have this Function global VAR_PI := 4*ATan(1) ; PI FocusMarker() { if(!checkHandles()) ; Just a process request for the game is still running return 0 ;if not Cancel at this point GetPlayerPos(px,py,pz) ; Here i get the Player-Coordinat...
by Renz
01 Apr 2018, 10:03
Forum: Ask for Help (v1)
Topic: How to expresison on sting Topic is solved
Replies: 4
Views: 1543

Re: How to expresison on sting Topic is solved

masheen wrote:
Renz wrote:Try this

Code: Select all

(result := (3.324 - 0.624) * 180 / Pi) > 180 ? result *= -1:""
wrong

Code: Select all

MSgbox % ((result:=(3.324-0.624)*180/Pi)>180)?(result *= -1):""
by Renz
01 Apr 2018, 09:48
Forum: Ask for Help (v1)
Topic: How to expresison on sting Topic is solved
Replies: 4
Views: 1543

Re: How to expresison on sting Topic is solved

Try this

Code: Select all

(result := (3.324 - 0.624) * 180 / Pi) > 180 ? result *= -1:""
by Renz
31 Mar 2018, 03:23
Forum: Ask for Help
Topic: Autohotkey H & ANSI32
Replies: 0
Views: 3287

Autohotkey H & ANSI32

Hey Is it possible to install Autohotkey_H on a way to run ANSI32 files/scripts? I have a Functionfile and it works on Autohotkey ANSI32bit but it wont work on Autohotkey_H 32Bit This is the function file... ; #### SAMP UDF R16 #### ; SAMP Version: 0.3.7 ; Written by Chuck_Floyd ; https://github.com...
by Renz
25 Mar 2018, 16:11
Forum: Spiele
Topic: Dll wird nicht geladen Topic is solved
Replies: 1
Views: 5752

Re: Dll wird nicht geladen Topic is solved

Huch, da war ich nicht angemeldet *Facepalm*...
Problem gelöst, die dll ist eine 32Bit dll... Ich hab die AHK version geöndert, nun geht sie.
by Renz
15 Mar 2018, 16:53
Forum: Gaming Help (v1)
Topic: What am I doing wrong on this script?
Replies: 9
Views: 1797

Re: What am I doing wrong on this script?

You have to Switch the Please Values then it will work :) Numpad1 & NumpadDot:: if(Please==0) ; Please is equal 0, See Down!! { SetTimer, Time, 5000 Please=1 ; You have to set Please then on 1, cause you turn it "On" } else ; Please is equal 1 { SetTimer, Time, Off Please=0 ; You have to set Please ...
by Renz
13 Mar 2018, 15:45
Forum: Ask for Help (v1)
Topic: hotstring of 5 left mouse clicks
Replies: 2
Views: 832

Re: hotstring of 5 left mouse clicks

Hey,

I Hope this will help you...

Code: Select all

global ClickCount := 0

~LButton::
ClickCount++
if(ClickCount == 5){
	Send r
	ClickCount := 0
}
return
by Renz
11 Mar 2018, 16:37
Forum: Ask for Help
Topic: Error while Including Autohotkey.dll
Replies: 2
Views: 2656

Re: Error while Including Autohotkey.dll

Oh ok was wondering about that in the doc is written... dllpath:=A_AhkDir "\AutoHotkey.dll" DllCall("LoadLibrary","Str",dllpath) ; Load the AutoHotkey module. DllCall(dllpath "\ahktextdll","Str","","Str","","CDecl") ; start a new thread, just the function. DllCall(dllpath "\ahkExec","Str","MsgBox He...
by Renz
11 Mar 2018, 16:13
Forum: Ask for Help
Topic: Error while Including Autohotkey.dll
Replies: 2
Views: 2656

Error while Including Autohotkey.dll

Hey :) if i include the Autohotkey.dll with #Include , i get this error... The Script: #Persistent #SingleInstance force #include %A_MyDocuments%\AutoHotkey\Lib\AutoHotkey.dll The Error: --------------------------- test.ahk --------------------------- Error at line 1 in #include file "C:\Users\...\D...
by Renz
10 Mar 2018, 10:56
Forum: Ich brauche Hilfe
Topic: DirectX Hook im Gui (via GDIP(?))
Replies: 9
Views: 2431

Re: DirectX Hook im Gui (via GDIP(?))

Moin, wenn sich das Ganze dem Betrachter als ein Fenster darstellen soll, ist das Konzept, für unterschiedliche Gui-Bereiche unterschiedliche Top-Level-Fenster zu erstellen, gelinde gesagt suboptimal. Ja, ich bemerke es auch langsam... Ich halte in diesem Fall eine Bitmap, in die alle Bestandteile ...
by Renz
10 Mar 2018, 09:23
Forum: Ich brauche Hilfe
Topic: DirectX Hook im Gui (via GDIP(?))
Replies: 9
Views: 2431

Re: DirectX Hook im Gui (via GDIP(?))

Oh ich habs vergessen zu sagen aber was ich meinte ist in der linken, oberen Ecke der GUI. Bei der RECT Struktur reicht es eignetlich, wenn du dir anschaust was in MSDN darüber steht. Wenn du das nicht machst läufst du Gefahr, dass deine Ränder sich z.B. um ein Pixel verschieben und du nicht weißt ...
by Renz
09 Mar 2018, 00:42
Forum: Ich brauche Hilfe
Topic: DirectX Hook im Gui (via GDIP(?))
Replies: 9
Views: 2431

Re: DirectX Hook im Gui (via GDIP(?))

Hey, Ich hab den Fehler gefunden. GDIp zeichnet nicht relativ zum Bildschirm sondern relativ zu der Bitmap auf die du gerade Zeichnest. Wenn du also ein Rechteck bei 0,0 Zeichnen lässt und es dann per UpdateLayeredWindow auf deine GUI legst wird dieses Rechteck in der linken oberen Ecke anfangen. Du...
by Renz
06 Mar 2018, 11:53
Forum: Ich brauche Hilfe
Topic: DirectX Hook im Gui (via GDIP(?))
Replies: 9
Views: 2431

Re: DirectX Hook im Gui (via GDIP(?))

Hey, Sry für die späte Antwort... Kannst Du etwas detaillierter beschreiben, was Du tun willst? Klar, Ich versuche mir derzeit eine Klasse zuerstellen die mir hilft dabei mit GDIP zuarbeiten für Grafische Overlays auf dem Desktop, statt der "herkömmlichen" Guis/Fenster. Man kann natürlich auch per H...
by Renz
04 Mar 2018, 09:37
Forum: Ich brauche Hilfe
Topic: DirectX Hook im Gui (via GDIP(?))
Replies: 9
Views: 2431

DirectX Hook im Gui (via GDIP(?))

Hey, Ich habe mal eine Frage ist es möglich mit dieser API(Directx Hook): https://github.com/agrippa1994/DX9-Overlay-API zb. Strings auf dem Desktop anzeigen zulassen, in einem Gui, evtl dargestellt per GDIP(?)... Ich bin gerade dabei mit GDIP rumzuprobieren, aber derzeit leider noch erfolglos... Ha...
by Renz
26 Feb 2018, 13:37
Forum: Ask for Help (v1)
Topic: How to optimize this code Topic is solved
Replies: 6
Views: 1536

Re: How to optimize this code Topic is solved

A_Index is equal the times the loop is running... Send % "{" (A_Index == 1 ? "F2" : "F" (A_Index+1)) "}" in this part the ternary operator will check if loop runs the first time, if the loop runs the first time, ternary operator will set "F2" cause the Expression A_Index == 1 is true! and if the lo...
by Renz
25 Feb 2018, 16:47
Forum: Ask for Help (v1)
Topic: How to optimize this code Topic is solved
Replies: 6
Views: 1536

Re: How to optimize this code Topic is solved

Maybe this can help you? Im not a pro :) its untested but i think, in the theory, it should work... I try allways too use Expressions for my Codes... Alt:: InputBox, UserInput, Quanti ?, , , 150, 100 MAX_STEPS := 8 While(A_Index <= MAX_STEPS) { if(A_Index == MAX_STEPS) { Click Sleep 499 SendInput % ...

Go to advanced search