Guest NewKlNGjames Posted May 20, 2009 Report Posted May 20, 2009 After many changes, I have gone back to using throttlelauncher with the iphone today plugin. Overall I think that it is great. the only problem that I have is that it's weather icon pulls it's information from accuweather. there is no accuweather location code within 200 miles of where I live. What I would like to do is change it so that it pulls the info from either google or from pocket weather (which S2U2 uses on my Omnia). I am pretty good with computers, but by no stretch of the imagination do I think of my self as a computer programmer. there are two files that reference weather, so I assume that one of them just needs to be tweaked. This is the config.xml <?xml version="1.0" encoding="utf-8" ?> - <root> - <configuration name="Iphone" recomendedHeight="*" hideBottomBar="true" description="Iphone theme for ThrottleLauncher 1.0" minthrottleversion="1.0" comments="Ensure to config your weather from with Accuweather location" createdby="Alfonso Presa"> <param name="skin" value="#$THEME_BASE#\skins\iphone" /> <param name="VGACompatibility" value="true" /> <param name="FullScreen" value="#@FullScreen#" /> <param name="gsensor" value="#@gsensor#" /> <param name="truetransparency" value="#@truetransparency#" /> <param name="faketransparency" value="true" /> - <variables> <var name="general_conf" description="#L:General#" default="" type="separator" /> <var name="enabledtabs" description="#L:First page icons#" default="Photo,Clock,Sep1,Sep2,Mail,Settings,SMS,Sep3,Calculator,Calendar,Camera,Sep ,Notes,Weather" type="orderlist(Photo,Clock,Mail,Settings,SMS,Calculator,Calendar,Camera,Notes,We ther,Sep1,Sep2,Sep3,Sep4,Sep5,Sep6)" /> <var name="weather_conf" description="#L:Weather#" default="" type="separator" /> <var name="WeatherCity" description="#L:Location (Accuweather)#" default="NAM|US|OR|BEND" type="string" /> <var name="WeatherUnits" description="#L:Units (c/f)#" default="c" type="combo(c,f)" /> <var name="app_conf" description="#L:Applications#" default="" type="separator" /> <var name="calculator_exe" description="#L:Calculator#" default="calc.exe" type="path(*.lnk,*.exe)" /> <var name="photos_exe" description="#L:Photos#" default="pimg.exe" type="path(*.lnk,*.exe)" /> <var name="clock_exe" description="#L:Clock#" default="clock.exe" type="path(*.lnk,*.exe)" /> <var name="calendar_exe" description="#L:Calendar#" default="calendar.exe" type="path(*.lnk,*.exe)" /> <var name="phone_exe" description="#L:Phone#" default="cprog.exe" type="path(*.lnk,*.exe)" /> <var name="music_exe" description="#L:Music#" default="wmplayer.exe" type="path(*.lnk,*.exe)" /> <var name="inet_exe" description="#L:Internet#" default="IExplore.exe" type="path(*.lnk,*.exe)" /> <var name="contacts_exe" description="#L:Contacts#" default="poutlook" type="path(*.lnk,*.exe)" /> <var name="sep4" description="#L:UI Tweaks#" default="" type="separator" /> <var name="FullScreen" description="#L:Fullscreen#" default="true" type="boolean" /> <var name="truetransparency" description="#L:true transp.#" default="false" type="boolean" /> </variables> - <!-- <param name="imagecontactnophoto" value="#$THEME_BASE#\icons\cont.png"/> --> </configuration> - <if name="#@FullScreen#" value="true"> - <header> - <row name="TASKBAR" height="18" width="240" layout="Free"> - <!-- skin="#$THEME_BASE#\skins\taskbar" --> - <icon X="2" Y="4" height="10" path="#$THEME_BASE#\Signal\sig#$SystemState,PhoneSignalStrength,intervals,25#.png"> - <event type="Click"> <action execute=":SendKey" parameters="91" /> </event> </icon> - <icon X="210" Y="4" height="10" path="#$THEME_BASE#\battery\batL#$SystemState,PowerBatteryStrength,intervals,25#.png"> - <event type="Click"> <action execute=":SendKey" parameters="1000" /> </event> </icon> <text X="30" Y="2" text="#$reg,HKEY_LOCAL_MACHINE\System\State\Phone\Current Operator Name#" fonttype="8,false" fontcolor="250,250,250" width="200" /> <text X="80" Y="2" text="#$Date,hh:mm tt#" fonttype="8,false" fontcolor="250,250,250" alignment="Center" width="80" /> </row> </header> </if> <page name="Home" import="home.xml" /> - <footer scrollenabled="false" height="70" name="footer" marginX="0" marginY="5" mincolwidth="60" rows="1" skin="#$THEME_BASE#\Skins\iphonefooter"> - <panel display="Block"> - <event type="Click"> <action execute="#$SystemState,PhoneMissedCalls,map,[-#@phone_exe#|0-#@phone_exe#|default-:CallHistory]#" /> </event> <icon name="Phone" path="#$THEME_BASE#\icons\phone.png" height="50" width="50" showtext="true" /> <icon X="30" Y="0" name="Missed Calls" height="19" width="25" path="#$THEME_BASE#\icons\#$SystemState,PhoneMissedCalls,map,[0-dot|-dot|default-msg]#.png" /> <text X="30" Y="0" name="Missed Calls" height="10" width="25" alignment="Center" topmargin="1" text="#$SystemState,PhoneMissedCalls,map,[-|0-]#" fontcolor="255,255,255" fonttype="10,false" /> </panel> <icon name="Contacts" exec="#@contacts_exe#" params="contacts" path="#$THEME_BASE#\icons\contacts.png" height="50" width="50" showtext="true" /> <icon name="IExplorer" exec="#@inet_exe#" path="#$THEME_BASE#\icons\browser.png" height="50" width="50" showtext="true" /> <icon name="iPod" exec="#@music_exe#" path="#$THEME_BASE#\icons\ipod.png" height="50" width="50" showtext="true" /> </footer> </root>[/codebox] This is the Home.xml [codebox]<?xml version="1.0" encoding="utf-8"?> <page> <row name="Programs" marginX="0" marginY="8" rows="#$Value,#@Screen.Height#,map,[400-4|800-4|default-3]#" scrollingmode="Paged" transparency="Auto" mincolwidth="60"> <!-- FIRST PAGE--> <order orderlist="#@enabledtabs#"> <icon name="Photo" exec="#@photos_exe#" path="#$THEME_BASE#\icons\wallpaper.png" height="50" width="50" showtext="true" /> <clock name="Clock" showtext="true" path="#$THEME_BASE#\Clock\clock.png" height="50" width="50" exec="#@clock_exe#"> <hours path="#$THEME_BASE#\Clock\hours.png" center="6,22"/> <minutes path="#$THEME_BASE#\Clock\minutes.png" center="7,29"/> </clock> <icon name="Sep1"/> <icon name="Sep5"/> <icon name="Sep6"/> <if name="#$Value,#@Screen.Height#,map,[400-true|800-true|default-false]#" value="true"><icon name="Sep2"/></if> <panel name="Mail" display="Block"> <event type="Click"><action execute="tmail.exe" parameters="-service "#$SystemState,MessagingLastEmailAccountName#""/></event> <icon name="Mail" path="#$THEME_BASE#\icons\mail.png" height="50" width="50" showtext="true" /> <icon X="30" Y="0" name="Unread Mail" height="19" width="25" path="#$THEME_BASE#\icons\#$SystemState,MessagingTotalEmailUnread,map,[0-dot|-dot|default-msg]#.png"/> <text X="30" Y="0" name="Unread Mail" height="10" width="25" alignment="Center" topmargin="1" text="#$SystemState,MessagingTotalEmailUnread,map,[-|0-]#" fontcolor="255,255,255" fonttype="10,false"/> </panel> <icon name="Settings" exec=":configsetup" params="Settings" path="#$THEME_BASE#\icons\settings.png" height="50" width="50" showtext="true" /> <panel name="SMS" display="Block"> <event type="Click"><action execute="tmail.exe" parameters="-service "#$SystemState,MessagingSmsAccountName#""/></event> <icon name="SMS" path="#$THEME_BASE#\icons\sms.png" height="50" width="50" showtext="true" /> <icon X="30" Y="0" name="Unread SMS" height="19" width="25" path="#$THEME_BASE#\icons\#$SystemState,MessagingSmsUnread ,map,[0-dot|-dot|default-msg]#.png"/> <text X="30" Y="0" name="Unread SMS" height="10" width="25" alignment="Center" topmargin="1" text="#$SystemState,MessagingSmsUnread,map,[-|0-]#" fontcolor="255,255,255" fonttype="10,false"/> </panel> <if name="#$Value,#@Screen.Height#,map,[400-true|800-true|default-false]#" value="true"><icon name="Sep3"/></if> <icon name="Calculator" exec="#@calculator_exe#" path="#$THEME_BASE#\icons\calc.png" height="50" width="50" showtext="true" /> <panel name="Calendar" display="Block"> <event type="Click"><action execute="#@calendar_exe#"/></event> <icon name="Calendar" path="#$THEME_BASE#\icons\cal.png" height="50" width="50" showtext="true" /> <text text="#$date,ddd#" width="50" height="10" alignment="Center" fonttype="7,false" fontcolor="250,250,250"/> <text text="#$date,dd#" X="0" Y="10" width="50" height="25" alignment="Center" fonttype="23,true" fontcolor="1,1,1"/> </panel> <icon name="Camera" exec="camera.exe" path="#$THEME_BASE#\icons\photo.png" height="50" width="50" showtext="true" /> <if name="#$Value,#@Screen.Height#,map,[400-true|800-true|default-false]#" value="true"><icon name="Sep4"/></if> <icon name="Notes" exec="notes.exe" path="#$THEME_BASE#\icons\notes.png" height="50" width="50" showtext="true" /> <panel display="Block" name="Weather"> <event type="Click"><action execute="#$THROTTLE#\Util\Weather2Reg.exe" parameters=""#@WeatherCity#" "en" "#@WeatherUnits#" "dd/MM/yyyy HH:mm:ss" AccuWeather"/></event> <icon name="Weather" path="#$THEME_BASE#\icons\back0.png" height="50" width="50" showtext="true" /> <icon name="WeatherIcon" X="5" Y="7" width="40" height="25" path="#$THEME_BASE#\icons\large\#$Registry,HKEY_LOCAL_MACHINE\Software\ThrottleLauncher\GoogleWeather\curIcon,map,[-NA]#.png" /> <text X="0" Y="30" width="50" height="20" alignment="Center" text="#$Registry,HKEY_LOCAL_MACHINE\Software\ThrottleLauncher\GoogleWeather\curTemp#º" fontcolor="128,128,128" fonttype="10,false"/> <text X="-1" Y="31" width="50" height="20" alignment="Center" text="#$Registry,HKEY_LOCAL_MACHINE\Software\ThrottleLauncher\GoogleWeather\curTemp#º" fontcolor="255,255,255" fonttype="10,false"/> </panel> </order> <!-- // FIRST PAGE--> <pagebreak/> <icon name="App" exec=":apps2cat" height="50" width="50" showtext="true" params="Favorites" path="#$THEME_BASE#\icons\add.png" /> <applications category="Favorites" showsubcategories="false"> <panel display="Block"> <icon path="#$THEME_BASE#\icons\back#$Value,#@Index#,mod,10#.png" height="50" width="50"/> <icon path="#@Icon#" exec="#@Execute#" params="#@Parameters#" name="#@Name#" width="50" height="50"/> <text X="0" Y="50" text="#@Name#" width="50" height="12" alignment="Center" fontcolor="255,255,255"/> </panel> </applications> <pagebreak/> <allcontactswithphoto height="40" width="40" max="100" showcategories="false" X="5" Y="5" showtext="false"> <items> <panel display="Block"> <icon path="#$THEME_BASE#\icons\back#$Value,#@Index#,mod,10#.png" height="50" width="50"/> <text X="0" Y="50" text="#@Name#" width="50" height="12" alignment="Center" fontcolor="255,255,255"/> </panel> </items> <icon name="Contact" exec=":addcontact" rowspan="1" height="50" width="50" path="#$THEME_BASE#\icons\add.png" showtext="true"/> <icon name="Contact" exec=":removecontact" rowspan="1" height="50" width="50" path="#$THEME_BASE#\icons\del.png" showtext="true"/> </allcontactswithphoto> </row> </page> I would have the perfect setup on my phone (good iphone interface with WinMo functionality) if I could get this to work. Thanks for the help!!
Guest NewKlNGjames Posted May 21, 2009 Report Posted May 21, 2009 Surely someone must have some sort of idea... maybe even a place to start? I don't mind doing some legwork, I just don't know where to start.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now