Crush Posted January 3, 2017 Posted January 3, 2017 (edited) Joy6:: Send !{enter} Sendinput {Alt Down} Sendinput {D} Sendinput {I} Sendinput {E} Sendinput {Alt Up} WinWait, Choose a disk image file WinWaitClose Send !{enter} Return I am assuming that you start Hoxs64 in fullscreen mode (else you don't need this script!) Hoxs64 must be in windows mode to be able to change disks, so this script disables fullscreen and opens up the dialog to select another disk. As soon as you are done it reverts to fullscreen mode. The script runs by pressing the controller button 6 - change this to your liking in the first line. Edited January 3, 2017 by Crush 1 Quote
sic Posted January 4, 2017 Posted January 4, 2017 (edited) Thanks for sharing, was just configuring C64 and was thinking how I should solve disk change. Hm can´t get it to work with my Xbox controller. If I change Joy(random number):: to a keyboard such as Enter:: it works. Edit: Ok, seems like there is problem with Xbox One controller and AHK... Edited January 4, 2017 by sic Problem Quote
Crush Posted January 5, 2017 Author Posted January 5, 2017 Did you try the latest version of AutoHotKey? I have a PS2 controller with a USB adapter so i use Directinput instead of Xinput. Quote
Crush Posted January 5, 2017 Author Posted January 5, 2017 (edited) Two more AHK scripts to Load/Save States in Hoxs64: ; Load State Joy13:: Send !{enter} Sendinput {Alt Down} Sendinput {F} Sendinput {Alt Up} Send {Down 5} Send {Enter} WinWait, Load WinWaitClose Send !{enter} Return ; Save State Joy15:: Send !{enter} Sendinput {Alt Down} Sendinput {F} Sendinput {Alt Up} Send {Down 6} Send {Enter} WinWait, Save WinWaitClose Send !{enter} Return Edited January 5, 2017 by Crush 1 Quote
sic Posted January 5, 2017 Posted January 5, 2017 Did you try the latest version of AutoHotKey? I have a PS2 controller with a USB adapter so i use Directinput instead of Xinput.Thanks for the tip. Will try when I have some sparetime . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.