Jump to content

Active link to software and protect tool


Recommended Posts

Hello everyone, this is my first time participating autoit.
I have a question, wish everyone answered.

1.Error

I have the code but it does not work and I do not know why?

it is used to activate the software  after the website before actual real code.

[IMG] 

#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GuiStatusBar.au3>
#include <IE.au3>
Global $oIE = _IECreateEmbedded()
Global $linkquangcao = "http://pasted.co/678a269f"
Global $successstring = 'Bol is working now'
Global $actived = False
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 520, 133, -1, -1)
GUICtrlCreateObj($oIE, 8, 8, 505, 97)
$Status = _GUICtrlStatusBar_Create($Form1)
_GUICtrlStatusBar_SetText($Status, 'Idle')
GUISetState(@SW_SHOW)
_IENavigate($oIE, $linkquangcao)

#EndRegion ### END Koda GUI section ###

While 1
    Sleep(100)
    
    Local $source = _IEBodyReadHTML($oIE)
    If Not $actived Then 
        If StringInStr($source, $successstring) Then
            _GUICtrlStatusBar_SetText($Status, 'Actived')
            $actived = True
        EndIf
    EndIf

    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

2. Software protection.
I have one application named A, users will use the normal one without doing anything, but the user re-enable an application called B do edit A and i dont want it. Is there a way when the opened B application, the application goes out and closes the A application B.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...