The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > GPS

Reply
 
LinkBack Thread Tools Display Modes
Old 12-25-2006, 09:15 PM   #76
Low Bitrate
 
Join Date: Dec 2006
Location: Savannah/MAcon GA
Posts: 102
Yes 07, i am getting an error from line 2 ShellExecute("Streets.exe", "", "", "", @SW_MAXIMIZE)

i will try urs

thankx
ramez75 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 12-26-2006, 05:20 AM   #77
Maximum Bitrate
 
Marvin Hlavac's Avatar
 
Join Date: May 2005
Location: Toronto, Canada
Posts: 823
Quote: Originally Posted by Jay_1.8t View Post
Just got done installing S&T '07 and tested the exe. Works as it supposed to. "Safety Warning" window is still prompting however. What needs to be added in order to "stop" the prompt?

1. I'm glad it works as designed

2. I don't have the right to remove a safety warning from someone else's product, though
Marvin Hlavac is offline   Reply With Quote
Old 12-26-2006, 05:26 AM   #78
Maximum Bitrate
 
Marvin Hlavac's Avatar
 
Join Date: May 2005
Location: Toronto, Canada
Posts: 823
Quote: Originally Posted by ramez75 View Post
Yes 07, i am getting an error from line 2 ShellExecute("Streets.exe", "", "", "", @SW_MAXIMIZE)

That should not happen if you use the .exe I created. However, it is very likely you will get that error when you create your own .au3 or .exe from my code because that function is not yet supported by the newest version of AutoIt. Download AutoIt Beta.
Marvin Hlavac is offline   Reply With Quote
Old 12-26-2006, 06:16 AM   #79
Low Bitrate
 
Join Date: Jan 2006
Location: Lexington, KY
Posts: 102
Quote: Originally Posted by Marvin Hlavac View Post
2. I don't have the right to remove a safety warning from someone else's product, though

My bad, I meant to say activate "I agree" button on the warning window. I figured it out, thanks
Jay_1.8t is offline   Reply With Quote
Old 12-26-2006, 06:20 AM   #80
Maximum Bitrate
 
Marvin Hlavac's Avatar
 
Join Date: May 2005
Location: Toronto, Canada
Posts: 823
Marvin Hlavac is offline   Reply With Quote
Old 12-26-2006, 09:55 AM   #81
Low Bitrate
 
Join Date: Dec 2006
Location: Savannah/MAcon GA
Posts: 102
Yours worked and once I downloaded the Beta version like MArvin Hlavac suggested my .exe worked too

Thanks
ramez75 is offline   Reply With Quote
Old 12-26-2006, 10:00 AM   #82
Low Bitrate
 
Join Date: Dec 2006
Location: Savannah/MAcon GA
Posts: 102
Window Size

A question i am using a 7" touch screen and i just wanted how all of you get around it, I dont get the whole MS S&T whether 2007 or 2006 window panel i only get upto configure GPS and nothing after that i cant even scroll the window down to get to the Routing section whereas on my laptop i have the whole window. I cant even use Full screen mode (F11) on my 7in screen.

Any suggestions guys
ramez75 is offline   Reply With Quote
Old 03-17-2007, 05:06 PM   #83
Low Bitrate
 
BLAXKINNED's Avatar
 
Join Date: Jan 2007
Location: OakLaHoeMah
Posts: 93
Quote: Originally Posted by eagle_ems View Post
hey guys i have been playing with this code from gameboy on the second page, here is what i am using now that works for me and microsoft streets and trips 2006.. first i decided to go a diffrent route and have the autoit program itself turn on streets click enable gps, center map, and rotate map. so there is only one click to run streets and trips with gps, and it does not run in a loop just one time and its done, if you would like to use this code just download autoit and compile this code place the exe in your streets and trips folder ( in program files) make a short cut to it, place short cut on desk top and just click the short cut to this script

Opt("WinTitleMatchMode",2)
Run("Streets.exe", "C:\Program Files\Microsoft Streets & Trips")


WinWait("Microsoft Streets & Trips","")
Sleep(5000)
if Not ControlCommand("Microsoft Streets & Trips","","Button39","IsChecked","") Then
ControlCommand("Microsoft Streets & Trips","","Button39","Check","")
EndIf
Sleep(3000)
if Not ControlCommand("Microsoft Streets & Trips","","Button41","IsChecked","") Then
ControlCommand("Microsoft Streets & Trips","","Button41","Check","")
EndIf
Sleep(1000)
if Not ControlCommand("Microsoft Streets & Trips","","Button44","IsChecked","") Then
ControlCommand("Microsoft Streets & Trips","","Button44","Check","")
EndIf


and thats it.. good luck
eagle_ems

Excellent code..eases my stress..
BLAXKINNED is offline   Reply With Quote
Old 07-29-2007, 01:37 PM   #84
Newbie
 
Join Date: Feb 2007
Location: Richmond Virginia
Posts: 35
i have tried this in rr config to start this exe but it will not work. it works fine outside of rr. what am i doing wrong.
YellowMater is offline   Reply With Quote
Old 08-09-2007, 12:58 AM   #85
Newbie
 
Join Date: Aug 2007
Posts: 3
I've been working on getting S&T 2006 working and this was just the ticket! I don't really need anything except GPS location and moving map in the full window. If I need directions or a location, I'll pull over and get out the mouse and keyboard and manipulate the program.

Here's the AutoIT3 code I'm using with the RoadRunner MediaCar skin:

Opt("WinTitleMatchMode",2)
if Not ProcessExists("Streets.exe") Then
Run("Streets.exe", "C:\Program Files\Microsoft Streets & Trips")
Else
WinActivate("Microsoft Streets & Trips")
EndIf
WinWait("Microsoft Streets & Trips","")
Sleep(2000)
Send("^a")
Sleep(1000)
if Not ControlCommand("Microsoft Streets & Trips","","Button39","IsChecked","") Then
ControlCommand("Microsoft Streets & Trips","Configure GPS...","Button39","Check","")
EndIf
Sleep(7000)
if Not ControlCommand("Microsoft Streets & Trips","","Button41","IsChecked","") Then
ControlCommand("Microsoft Streets & Trips","","Button41","Check","")
EndIf
Sleep(3000)
if Not ControlCommand("Microsoft Streets & Trips","","Button42","IsChecked","") Then
ControlCommand("Microsoft Streets & Trips","","Button42","Check","")
EndIf
Sleep(1000)
ControlCommand("Microsoft Streets & Trips","","Button8","Check","")
WinClose("GPS Sensor")

/END CODE

This checks to see if S&T is running and opens up it if it isn't. If it is already running, it moves it on top. It then opens the GPS tracking window, checks the boxes (with time delays to allow the GPS to initiate and sync), closes the GPS tab and the GPS Sensor window. It works REALLY well and allows the GPS to run in the background so it comes up instantly once loaded.

Here's a zip of the compiled .exe
Attached Files
File Type: zip gpsstart.zip (196.9 KB, 12 views)
Fenris_Ulf is offline   Reply With Quote
Old 08-05-2008, 02:17 AM   #86
FLAC
 
blk02si's Avatar
 
Join Date: Jul 2005
Location: Motorcity
Posts: 1,600
Well I could not get any of the mappoint code in this thread to work, So I coded my own simple script which works great. Just click on it, it starts mappoint 06, launches GPS task pane, checks: track, center, rotate, then closes the GPS pane and leaves only the map, tracking your location. Enjoy!

Code:
Opt("WinTitleMatchMode",2) Run("C:\Program Files\Microsoft MapPoint\MapPoint.exe") WinWaitActive("Map - Microsoft MapPoint North America","") Sleep(300) Send("^a") ControlCommand("Map - Microsoft MapPoint North America","","Button39","Check","") Sleep(5000) ControlCommand("Map - Microsoft MapPoint North America","","Button41","Check","") Sleep(500) ControlCommand("Map - Microsoft MapPoint North America","","Button44","Check","") Sleep(300) ControlCommand("Map - Microsoft MapPoint North America","","Button8","Check","")

And here is the EXE compiled
Attached Files
File Type: zip AutoMap.zip (240.3 KB, 1 views)
__________________
Build Things, it keeps your brain busy.

My carPC - www.shocknet.us
blk02si is online now   Reply With Quote
Old 08-05-2008, 04:20 AM   #87
Maximum Bitrate
 
Marvin Hlavac's Avatar
 
Join Date: May 2005
Location: Toronto, Canada
Posts: 823
Nicely done!

This actually should no longer be an issue in the upcoming Microsoft Streets & Trips 2009, which is expected to be in stores in a few weeks (September 2008).



The above picture shows a new option that I now see in Microsoft MapPoint 2009. The same we should see in S&T 2009.
Marvin Hlavac is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CoPilot the only way to go for GPS! lbk GPS 17 02-19-2007 04:21 PM
Getting Started with GPS grepzen The FAQ Emporium 12 09-26-2006 05:54 AM
Newbie's guide EBFoxbat Newbie 6 02-08-2005 10:06 AM
Mediacar V1.8.5 coyote MediaCar 47 02-16-2004 01:16 PM
Making Winamp LCD plugin start automatically RobRoy General Hardware Discussion 1 11-06-1999 12:50 AM


All times are GMT -5. The time now is 07:21 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics