FAQ  •  Register  •  Login

Mouse in foreground/focus issues... help me >.<

Moderator: MiRai

<<

alphamale305

Posts: 2

Joined: Sat Nov 19, 2016 12:36 pm

Post Sat Nov 19, 2016 12:40 pm

Mouse in foreground/focus issues... help me >.<

OK so basically.... I was able to setup the game warframe with ISboxer.. I'm also using an autoit program called Lazytenno. Now my problem is the following...

When warframe is my focus the autoit program will work and do its thing.. but when I alt out of the warframe even tho i have it to run on foreground, the auto it stops.

IS there a configure that I can make the game think its the focus while running on the foreground? Because once i alt out of it the autoit just stops even tho im seeing the game window on my desktop... it only works if I click into the game....

any clues?

or possibly fool it to make it think there is a mouse in the game that is clicking?

I just want to be able to multi task like surf the web and stuff and have the game warframe running in the back doing its thing with the auto it.
<<

lax

User avatar

Site Admin

Posts: 7301

Joined: Tue Nov 17, 2009 9:32 pm

Post Sat Nov 19, 2016 1:21 pm

Re: Mouse in foreground/focus issues... help me >.<

The option you're describing is most likely enabled by default in your Character Set. (It is disabled by default for some specific games, but assuming you selected "Other" it should be enabled.)

However, this may not apply to your AutoIt inputs. If it is trying to use the mouse and click on the game, then it will most likely still only work when the game is foreground. If AutoIt is determining if the game is foreground or background, it will not be fooled by ISBoxer's setting that applies to the game.
<<

alphamale305

Posts: 2

Joined: Sat Nov 19, 2016 12:36 pm

Post Sat Nov 19, 2016 11:08 pm

Re: Mouse in foreground/focus issues... help me >.<

lax wrote:The option you're describing is most likely enabled by default in your Character Set. (It is disabled by default for some specific games, but assuming you selected "Other" it should be enabled.)

However, this may not apply to your AutoIt inputs. If it is trying to use the mouse and click on the game, then it will most likely still only work when the game is foreground. If AutoIt is determining if the game is foreground or background, it will not be fooled by ISBoxer's setting that applies to the game.


what code would the autoit have where i can determine that and change it?

this is the code im currently using for autoit

Code:
;<Name>Ability Spam</Name>
;<Category>Warframe</Category>
;<Author>Desy @Farming Inc.</Author>

#NoTrayIcon

$Warframe = "WARFRAME"
$LazyTenno = "LazyTenno"

$Default = IniRead(@ScriptDir & "/Settings.ini",@ScriptName,"Order","1,2,3,4")
$Order = InputBox(@ScriptName,"Enter Ability Order",$Default, "", 190, 125)

If @error = 1 Then
   Exit
EndIf

$Default = IniRead(@ScriptDir & "/Settings.ini",@ScriptName,"Delay","500")
$Delay = InputBox(@ScriptName,"Enter Delay",$Default,"",190,125)

If @error = 1 Then
   Exit
EndIf

IniWrite(@ScriptDir & "/Settings.ini",@ScriptName,"Order",$Order)
IniWrite(@ScriptDir & "/Settings.ini",@ScriptName,"Delay",$Delay)

$Abilites = StringSplit($Order,",")

While WinExists($LazyTenno)
   If WinActive($Warframe) Then
      For $i = 1 To UBound($Abilites)-1 Step 1
         Switch $Abilites[$i]
            Case "1"
               Send("{1}")
            Case "2"
               Send("{2}")
            Case "3"
               Send("{3}")
            Case "4"
               Send("{4}")
         EndSwitch
      Next
   EndIf
   Sleep($Delay)
WEnd
<<

bob

User avatar

League of Extraordinary Multiboxers

Posts: 4586

Joined: Sat Feb 15, 2014 11:14 am

Location: In the dining room, with the lead pipe.

Post Sun Nov 20, 2016 12:02 am

Re: Mouse in foreground/focus issues... help me >.<

This isn't the AutoIt support forum, and we don't profess to be experts in it, but if I had to hazard a guess, I would say it is the use of WinActive which is preventing it from working when the game is not the active/foreground window.

Return to General

Who is online

Users browsing this forum: No registered users and 17 guests