Originally Posted by
enarr
For the autoportal F2 script, is it normal that I have to manually open my inventory for the script to then use a portal scroll? My inventory key is default "i"
Thanks
The inventory key is read from production_Config.ini located in "Documents/My Games/Path of Exile". If you have a different config file please let me known.
At least you can edit openPortal() in "PoEapi.ahk" to fix this problem, just replace %InventoryKey% to '{i}'.
Code:
if (Not this.isOpened()) {
SendInput, {i}
loop, 10 {
Sleep, 50
if (this.isOpened()) {
closeInventory := true
break
}
}
}
MouseGetPos, tempX, tempY
isLBttonPressed := GetKeyState("LButton")
if (isLBttonPressed)
SendInput {LButton up}
this.use(item)
if (closeInventory)
SendInput, {i}