-
Problem mit AHK
Hallo
Ich bin neu hier und hab mich aus Interrese mal bisschen
mit ein paar guides befasst es läuft auch alles recht gut hab 5 ordner erstellt für jeden char 1.
Maximizer reinkopiert die Fenster hängen zwar bisschen über aber naja feintunig kommt wenn alles läuft ^^
und nun zu meinem Problem und zwar hab ich mir AHK geholt da ich keine lust hab 19 Dollar für Keyclone abzudrücken
und ein Script dazu nur leider ist es irgendwie so das ich mit dem "Main" Fenster nur 2 Andere kontrollieren Kann und nicht die geplanten 4 (+ Main).
Wisst ihr vielleicht woran es liegen könnte und wie ich das problem beheben kann ?
MFG
Hopi
___________________________________
Rechtschreibfehler könnt ihr behalten !
-
Meine magische Wahrsagerkugel behauptet, dass es dort einen Fehler in deinem Script gibt doch leider mag mir meine Wahrsagerkugel nicht zeigen, wie dein Script nun genau aussieht! :(
-
Oh sorry natürlich ^^
;
; Wow Duel Account Helper Version: .02a
; Language: English
; Platform: AutoHotkey Script
; Author: Sorn
; NOTES: Written for the Duel-Boxing.com forums, Send PM or post in the Autohotkey thread for assistance or suggestions
;
; Script Function:
; Allows you to play two copies of WOW at the same time
;
;Tell user what is about to happen
SplashTextOn, 325, , Preparing to find your Main and Clone windows of WoW.
Sleep, 2000
SplasHtextoff
;Grab unique window ID's
WinGet, wowid, List, World of Warcraft
; Minimize All WOW windows
WinMinimize, ahk_id %wowid1%
WinMinimize, ahk_id %wowid2%
;Determine Main and Clone Windows
WinActivate, ahk_id %wowid1%
MsgBox, 4,, Is this your WOW Main window? (press Yes or No)
IfMsgBox Yes
idMain = %wowid1%
else
idMain = %wowid2%
If idMain = %wowid1%
{
idClone = %wowid2%
} else {
idClone = %wowid1%
}
;Activate All WOW windows
WinActivate, ahk_id %idMain%
WinActivate, ahk_id %idClone%
;*** Special Functions ***
#IfWinActive, World of Warcraft
; *** Makes wow2 follow Wow1 Player ***
^-::
ControlSend,,{- down}{- up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
; *** Makes wow2 Assist Wow1 Player ***
^=::
ControlSend,,{= down}{= up}, ahk_id %idClone%
return
; *******************
; *** Hotbars 1-0 ***
; *******************
#IfWinActive, World of Warcraft
~1::
ControlSend,,{1 down}{1 up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{1 down}{1 up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~2::
ControlSend,,{2 down}{2 up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{2 down}{2 up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~3::
ControlSend,,{3 down}{3 up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{3 down}{3 up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~4::
ControlSend,,{4 down}{4 up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{4 down}{4 up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~5::
ControlSend,,{5 down}{5 up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{5 down}{5 up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~6::
ControlSend,,{6 down}{6 up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{6 down}{6 up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~7::
ControlSend,,{7 down}{7 up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{7 down}{7 up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~8::
ControlSend,,{8 down}{8 up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{8 down}{8 up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~9::
ControlSend,,{9 down}{9 up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{9 down}{9 up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~0::
ControlSend,,{0 down}{0 up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{0 down}{0 up}, ahk_id %idClone%
return
; ***************************
; *** Hotbars Shift ^ 1-0 ***
; ***************************
#IfWinActive, World of Warcraft
~+1::
ControlSend,,{Shift down}{1 down}{1 up}{Shift up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Shift down}{1 down}{1 up}{Shift up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~+2::
ControlSend,,{Shift down}{2 down}{2 up}{Shift up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Shift down}{2 down}{2 up}{Shift up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~+3::
ControlSend,,{Shift down}{3 down}{3 up}{Shift up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Shift down}{3 down}{3 up}{Shift up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~+4::
ControlSend,,{Shift down}{4 down}{4 up}{Shift up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Shift down}{4 down}{4 up}{Shift up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~+5::
ControlSend,,{Shift down}{5 down}{5 up}{Shift up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Shift down}{5 down}{5 up}{Shift up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~+6::
ControlSend,,{Shift down}{6 down}{6 up}{Shift up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Shift down}{6 down}{6 up}{Shift up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~+7::
ControlSend,,{Shift down}{7 down}{7 up}{Shift up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Shift down}{7 down}{7 up}{Shift up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~+8::
ControlSend,,{Shift down}{8 down}{8 up}{Shift up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Shift down}{8 down}{8 up}{Shift up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~+9::
ControlSend,,{Shift down}{9 down}{9 up}{Shift up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Shift down}{9 down}{9 up}{Shift up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~+0::
ControlSend,,{Shift down}{0 down}{0 up}{Shift up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Shift down}{0 down}{0 up}{Shift up}, ahk_id %idClone%
return
; **************************
; *** Hotbars Cntl ^ 1-0 ***
; **************************
#IfWinActive, World of Warcraft
~^1::
ControlSend,,{Ctrl down}{1 down}{1 up}{Ctrl up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Ctrl down}{1 down}{1 up}{Ctrl up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~^2::
ControlSend,,{Ctrl down}{2 down}{2 up}{Ctrl up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Ctrl down}{2 down}{2 up}{Ctrl up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~^3::
ControlSend,,{Ctrl down}{3 down}{3 up}{Ctrl up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Ctrl down}{3 down}{3 up}{Ctrl up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~^4::
ControlSend,,{Ctrl down}{4 down}{4 up}{Ctrl up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Ctrl down}{4 down}{4 up}{Ctrl up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~^5::
ControlSend,,{Ctrl down}{5 down}{5 up}{Ctrl up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Ctrl down}{5 down}{5 up}{Ctrl up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~^6::
ControlSend,,{Ctrl down}{6 down}{6 up}{Ctrl up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Ctrl down}{6 down}{6 up}{Ctrl up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~^7::
ControlSend,,{Ctrl down}{7 down}{7 up}{Ctrl up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Ctrl down}{7 down}{7 up}{Ctrl up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~^8::
ControlSend,,{Ctrl down}{8 down}{8 up}{Ctrl up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Ctrl down}{8 down}{8 up}{Ctrl up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~^9::
ControlSend,,{Ctrl down}{9 down}{9 up}{Ctrl up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Ctrl down}{9 down}{9 up}{Ctrl up}, ahk_id %idClone%
return
#IfWinActive, World of Warcraft
~^0::
ControlSend,,{Ctrl down}{0 down}{0 up}{Ctrl up}, ahk_id %idMain%
ControlSend,,{= down}{= up}, ahk_id %idClone%
ControlSend,,{Ctrl down}{0 down}{0 up}{Ctrl up}, ahk_id %idClone%
return
-
Ganz klar, da du, wie es aus deinem Initialpost herausging, 5 Chars gleichzeitig spielst, brauchst du ein Script, welches auf 5 Clients ausgelegt ist und nicht, wie dieses, auf 2 oder 3 insgesamt.
Leider habe ich andere Skripts verwendet und kann dieses, dank meiner limitierten Fähigkeiten, nicht auf deine Bedürfnisse anpassen, tut mir sehr leid.
Bleibt nur zu hoffen, dass es noch andere Leute gibt, die ein wenig mehr drauf haben. :)
Xorn.
-
Na dann Hoffe ich mal das ein netter mensch hier reinschneit der vielleicht das macht was ich machen will ^^
mit 5 chars gleichzeitig spielen und mir vielleicht sein script zuverfügung stellt oder mir sagt was ich um schreiben muss ^^
MFG
Hopi
-
Ich sage dir eins, steig um auf Octopus...
Warum ihr neuen Leute immer nie im Forum sucht und nur Keyclone und AHK findet ;)
Octopus ist auch umsonst - gibt zudem zwei wunderschöne HowTos hier im Forum (auf Deutsch) und läuft wunderbar :)
-
Hi Hopi also ich kann dir gleich sagen steig auf Octopus um die Anleitung ist super von Para und Shai ich hab sie kombiniert also 2 PCs und 5 Cliente und AHK ist auf Blizzard Servern nicht so geeignet laut Xorn weil du da mehrer Tasten steuern kannst über eine :D naja und ein Script find ich net sehr jut.
World of Warcraft namen umbennen mit [Klick mich] die Datei dann öffnen wenn du dein Mainchar Fenster Aktiv hast sonst ändert der dein Toon Fenster zum Main :D
dann dieses Script raus nehmen meins ist noch länger :D
und ich gleich du musst dann [Code:1] und [/code:1] raus löschen also war bei mir so da kam immer nen fehler aber vielleicht ist des bei dir anders
Holl dir das Addon Bindpad damit kannste locker alle Macros binden
Dann mache bei jedem Toon 3 Macros
Für die Taste 'F1' : /target "MaincharNAME"
Für die Taste 'F2' : /target "MaincharNAME"
/assist
Für die Taste 'F3' : /follow "MaincharNAME"
wenn noch paar fragen hast dann frag ruhig und em wenn du mit Mausklicks die Toons casten lassen willst zbsp Klickst bei 3 oder so dann casten alle das kann ich dir auch helfen :D
PS: Steig auf Octopus um ist so easy :D und eingebauter Maximizier :D
-
Also ein bißchen schmunzeln musst ich ja schon ;) Du kannst nicht irgendein beliebiges AHK-Script in dein AHK laden und hoffen das es geht.
Das ganze Script ist nur für 2 WoWs.
Im englischen Forum gibts einen wunderbaren AHK-Thread, mit einen fast fertigen Script. Das Problem ist nur: Man sollte sich wenigstens ein bißchen mit Programmiersprachen auskennen um sein AHK-Script aktuell halten zu können.
Von daher verfolge den Tipp der anderen Poster.
-
Hallo
Erstmal vielen dank
ich hab jetzt mit Octopus ausprobiert und es läuft echt super .
Wäre cool zu wissen wie das geht mit dem "klickcasten" ^^ bzw könnte mann damit auch quests annehmen oder so ?
MFG
Hopi
-
fuer quests und so sharing
/script AcceptGroup();
/script AcceptQuest();
/script AcceptTrade();
/script RetrieveCorpse();
/script RepopMe();
das mit zbsp wo rein klicken und dann das der castet glaub geht net so richtig mit Octopus weis aber net richtig also mit AHK könnte ich dir Scripts schreiben :D
mit du meinst normal Casten dann muste mit
/assist focus (oder halt maincharname)
/cast Blitzschlag(Rang 1)
also bei spiel
/cast Blitzschlag
ohne rang castet immer den höchsten rang :D