auto hotkey is windows only of course, but the idea is good, the inventory really needs some improvement in openmw, like a way to sort by weight whey you keep on being overloaded all the time !
I can't seem to get the mod to function as intended. When I press capslock on then the middle mouse button it acts like an auto clicker. It doesn't stop for around 30 seconds and capslock flickers then turns off and turns back on after the auto clicking stops. If I keep capslock off the middle mouse button picks up and drops an item as long as I keep it pressed down. It also moves my mouse position to where it was previously.
I have the v1.1.37.01 AutoHotkey and the mod in their own folder together with them separated. I've tried with both zipped and unzipped folders and the results are the same. I don't know if I am doing something wrong to make the mod not be able to transfer items between containers.
My escape key had stopped working completely for my game after I downloaded this? ..Do you by any chance know how to fix this..? Oh and I can't hit the middle mouse button to scroll through pages online because it keeps triggering it
Really excellent little script - thanks a lot for making it.
For those that want to toggle this script of and on adding the following to the script should work - also to note that if you are trying to use this these days you'll need to install the legacy AHK - seems to work on the main legacy 1.1 version.
I'll try admin mode, might have missed that. Windows 7, I installed the hotkey program to my program files but your folder containing the script and ini is on the desktop.
Personally, I think it'd make more sense for the OpenMW team to implement a quick move system a la Oblivion; Shift + Left-Click to quickly transfer items.
I agree! I definitely hope this mod is eventually unnecessary. When starting MW the first time I was...really surprised I couldn't find pre-existing solutions to this issue.
17 comments
#Requires AutoHotkey v2.0
#SingleInstance Force
~MButton::
{
state := GetKeyState('CapsLock', 'T')
if state
{
MouseGetPos(&ToX, &ToY)
IniWrite(ToX, 'DragonDrop.ini', 'Targeting', 'DestinationX')
IniWrite(ToY, 'DragonDrop.ini', 'Targeting', 'DestinationY')
} else
{
ToX := IniRead('DragonDrop.ini', 'Targeting', 'DestinationX')
ToY := IniRead('DragonDrop.ini', 'Targeting', 'DestinationY')
SendMode('Event')
while GetKeyState('MButton')
{
MouseGetPos(&FromX, &FromY)
Send '{Shift Down}'
Click('L', FromX, FromY)
Sleep(15)
Click('L', ToX, ToY)
Send '{Shift Up}'
MouseMove(FromX, FromY)
}
}
}
I have the v1.1.37.01 AutoHotkey and the mod in their own folder together with them separated. I've tried with both zipped and unzipped folders and the results are the same. I don't know if I am doing something wrong to make the mod not be able to transfer items between containers.
For those that want to toggle this script of and on adding the following to the script should work - also to note that if you are trying to use this these days you'll need to install the legacy AHK - seems to work on the main legacy 1.1 version.
~F2::
Suspend ;Suspend Hotkeys off/on
Pause,, 1 ;Pause Script off/on
Return
You can set "F2" to whatever you like - F2 certainly isn't always the perfect choice given that it opens some mod interfaces.
Personally, I think it'd make more sense for the OpenMW team to implement a quick move system a la Oblivion; Shift + Left-Click to quickly transfer items.