Jump to content

Recommended Posts

Posted

Hey

I have problem with Set Value for control slider on webside.

Anyone have any idea for a solution?

  Reveal hidden contents

 

  Reveal hidden contents

I tried but it doesn't work.

Local $Strength = _IEGetObjById($oIE_Strona, "strength_value")
Local $oText = _IEFormElementGetObjByName($Strength, "valuee")
_IEFormElementSetValue($oText, "6")

or

_IENavigate ($oIE_Strona, "https://guantanamo.prisonwarsonline.com/gym/")

Local $oDiv = $oIE_Strona.Document.GetElementByID("strength_value")
Local $oAttribute = $oDiv.getAttribute("valuee")
If IsObj ( $oAttribute ) Then
   $oAttribute.value = "6"
EndIf

Best Regards

  • Moderators
Posted

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...