Jump to content

UDF to control Fox!Box (FireFox-AddOn) with FF.au3


Stilgar
 Share

Recommended Posts

Here's an UDF for the FireFox-Addon Fox!Box:

_FF_FoxBox.au3

Current functions:

; _FF_FoxBox_GetIP

; _FF_FoxBox_GetStatus

; _FF_FoxBox_Reconnect

; _FF_FoxBox_ToggleStatus

Requirement(s).: FF.au3 >= 0.5.3.0 / MozRepl / Fox!Box

Example script:

#region Includes
#include <FF.au3>
#include "_FF_FoxBox.au3"
#endregion Includes

If _FFConnect() Then
    $sIP = _FF_FoxBox_GetIP()
    MsgBox(64, "External IP", $sIP)
    $sIP2 = _FF_FoxBox_Reconnect()
    MsgBox(64, "Your new external IP", "New: " & $sIP2 & @crlf & "Old: " & $sIP)
    MsgBox(64, "", "Toggling Fox!Box status ...")
    _FF_FoxBox_ToggleStatus()
    MsgBox(64, "", "Fox!Box status is now: " & @crlf & _FF_FoxBox_GetStatus())
    _FF_FoxBox_ToggleStatus()
EndIf

Exit
Edited by Stilgar
Link to comment
Share on other sites

  • 1 month later...

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...