Sign in to follow this  
Followers 0
Michel Claveau

Latitude, Longitude & photo satellit Google

3 posts in this topic

Bonsoir ! Hi!

Un petit script de démo, avec les coordonnées de chez moi.

A little demo script, with Y X of my home.

(With AutoIt beta)

#include <GUIConstants.au3>

$BourgSaintAndeol_Latitude='44.37'   ;valeur fractionnaire
$BourgSaintAndeol_Longitude='4.65'   ;valeur fractionnaire

$Lieu_Latitude=$BourgSaintAndeol_Latitude
$Lieu_Longitude=$BourgSaintAndeol_Longitude
$zoom='0.32'   ;or '0.16' or '0.64' or etc.
$url="http://maps.google.com/maps?ll=" & $Lieu_Latitude & "," & $Lieu_Longitude & "&spn=" & $zoom &","& $zoom & "&t=k"

$oIE        = ObjCreate("Shell.Explorer.2")
$SinkObject = ObjEvent($oIE,"IEEvent_","DWebBrowserEvents")
GUICreate ( "Embedded Web control Test", 960, 680,10, 10 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$GUI_ActiveX=GUICtrlCreateObj( $oIE,         10,  10, 900, 680 )
GUISetState ()
$oIE.navigate($url)
While 1
    $msg = GUIGetMsg()
    
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
    EndSelect
    
  Wend
  GUIDelete ()
Exit

Share this post


Link to post
Share on other sites



Whoah,

just a a GUI hint

GUICreate ( "Embedded Web control Test", 920, 700,-1, -1 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)

Share this post


Link to post
Share on other sites

Fascinating! 8)


FootbaG

Share this post


Link to post
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
Sign in to follow this  
Followers 0