﻿// Enter your Google API key here
Set   V[apikey]   "myAPIkey"
 
// Define an InputScript to run after seleting an address
Set   V[inputscript]   "UpdateAddress.txt"
 
// Generate the HTML file from the template
CopyText  _ 
   fromTemplate="C:\guixtscripts\html\autocomplete_template.html"  _     
   toText= "temp"
 
CopyText  _ 
   fromText="temp"  _ 
   toFile="C:\guixtscripts\html\autocomplete.html"
 
// Embed the Google Control
Control     (21.6,2.8)     (26.8,77)  _
   progid="file://C:\guixtscripts\html\autocomplete.html"  _
   -closeonhide      name="googleaddress"     -silent
 
// Connect it to GuiXT
connecthtml   name="googleaddress"