Fermer Script

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Fermer Script

Re: Fermer Script

by Thinky » 06 Mar 2021, 11:58

Tout simplement en écrivant ceci :

Code: Select all

ExitApp

Re: Fermer Script

by GeraldB » 10 Feb 2021, 13:23

Merci, je vais essayer ;)

Re: Fermer Script

by joedf » 09 Feb 2021, 15:57

depuis https://www.autohotkey.com/boards/viewtopic.php?p=176972#p176972
Tu peux essayer qqch comme ceci :think:

Code: Select all

monJeux := "C:\Program Files (x86)\...\RaidenVI.exe"
SetTitleMatchMode, 3
Run, % monJeux
WinWait, Jeux, , 5
SetTimer, Jeux_Exit, 100
 
Jeux_Exit:
IfWinNotExist, ahk_exe %monJeux%
    ExitApp
Return

Fermer Script

by GeraldB » 09 Feb 2021, 14:55

Bonjour,
J'ai Raiden IV Overkill installé sur ma borne d'arcade tournant sous LaunchBox (BigBox), mais pour quitter le jeu il faut appuyer sur la touche "F2" et cette touche ne peut pas être réassignée. J'ai donc créé un petit script avec AutoHotKey pour pouvoir quitter Raiden IV à l'aide de la touche Esc. et j'en ai profité pour modifier les touches z et x :

Code: Select all

#SingleInstance, Off
Esc::F2
LCtrl::z
Alt::x
return
Tout fonctionne, mais le script reste ouvert après avoir fermé Raiden IV. Comment fermer le script en même temps que le jeu (Raiden IV : Overkill)
merci 😉

Top