|
 |
|
12-23-2006, 07:07 PM
|
#61
|
|
Maximum Bitrate
Join Date: May 2005
Location: Toronto, Canada
Posts: 842
|
If you want I can put together a quick exe file that will start Streets & Trips 2007 for you with some of the GPS functions enabled. Which functions exactly do you want to have enabled?
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
12-23-2006, 07:17 PM
|
#62
|
|
Low Bitrate
Join Date: Dec 2006
Location: Savannah/MAcon GA
Posts: 102
|
Thanks that would be great. I want it to start GPS tracking, Provide driving guidance, Arrange map view (rotate map view to follow travel direction). I usually have to check these each time I use S&T 2007.
Another question, I am using a 7inch screen and for some reason when i click the S&T2007 i cant use the Full screen view and i cant see the end of the screen like the routing option, etccc. I played with the Windows setting and made it smaller but still the screen seems too small.
Any suggestion or input with that. I just got RR downloaded on my laptop will fool with it before i migrate it into my Car PC..
Thanks again for the support
Ramez
|
|
|
12-24-2006, 08:11 PM
|
#63
|
|
Maximum Bitrate
Join Date: May 2005
Location: Toronto, Canada
Posts: 842
|
The following was designed for Streets & Trips 2007 (It will likely not work with other versions)
Here's the code:
Code:
Opt("WinTitleMatchMode", 2)
ShellExecute("Streets.exe", "", "", "", @SW_MAXIMIZE)
WinWaitActive("- Microsoft Streets & Trips", "", 30)
Sleep(1000)
If Not WinExists("- Microsoft Streets & Trips", "Configure GPS...") Then send("!tp")
WinWaitActive("- Microsoft Streets & Trips", "Configure GPS...", 10)
ControlCommand("- Microsoft Streets & Trips","Configure GPS...","Button48","UnCheck","")
ControlCommand("- Microsoft Streets & Trips","Configure GPS...","Button47","Check","")
ControlCommand("- Microsoft Streets & Trips","Configure GPS...","Button49","Check","")
ControlCommand("- Microsoft Streets & Trips","Configure GPS...","Button50","Check","")
ControlCommand("- Microsoft Streets & Trips","Configure GPS...","Button52","Check","")
ControlCommand("- Microsoft Streets & Trips","Configure GPS...","Button48","Check","")
And the compiled STstart.exe can be downloaded here »
Enjoy!
|
|
|
12-24-2006, 08:27 PM
|
#64
|
|
Low Bitrate
Join Date: Dec 2006
Location: Savannah/MAcon GA
Posts: 102
|
Thanx Marvin Hlavac, i will try it tomorrow. Appreciate it
Ramez
|
|
|
12-25-2006, 05:07 PM
|
#65
|
|
Low Bitrate
Join Date: Jan 2006
Location: Lexington, KY
Posts: 102
|
Quote: Originally Posted by Marvin Hlavac 
The following was designed for Streets & Trips 2007 (It will likely not work with other versions)
And the compiled STstart.exe can be downloaded here »
Enjoy!
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?
|
|
|
12-25-2006, 05:16 PM
|
#66
|
|
Low Bitrate
Join Date: Dec 2006
Location: Savannah/MAcon GA
Posts: 102
|
Jay_1.8t how did u get it to work, I put the .exe in my startup folder but I got an error once i clicked on it how did u get around it to make it work.
Thankx
|
|
|
12-25-2006, 05:19 PM
|
#67
|
|
Low Bitrate
Join Date: Jan 2006
Location: Lexington, KY
Posts: 102
|
Quote: Originally Posted by ramez75 
Jay_1.8t how did u get it to work, I put the .exe in my startup folder but I got an error once i clicked on it how did u get around it to make it work.
Thankx
I didn't have to do anything, it just works. Sorry I can't be more helpful
|
|
|
12-25-2006, 05:20 PM
|
#68
|
|
Low Bitrate
Join Date: Dec 2006
Location: Savannah/MAcon GA
Posts: 102
|
 where did u put the .exe file
|
|
|
12-25-2006, 06:28 PM
|
#69
|
|
Low Bitrate
Join Date: Jan 2006
Location: Lexington, KY
Posts: 102
|
It shouldn't matter where you run it from. Mine was sitting on the desktop.
|
|
|
12-25-2006, 06:56 PM
|
#70
|
|
Low Bitrate
Join Date: Dec 2006
Location: Savannah/MAcon GA
Posts: 102
|
yes it worked i put it on the desktop and when i restarted the PC i ran it and it worked. But if I click on the S&T icon on my desktop then i have to configure it. What front end are u running. I guess the Startup.exe is gonna be the GPS PAth in RR.
@ Marvin Hlavac is there a way you can add the Safety Warning to be taken care off too.
I looked at the code and was wondering is the Safety Warning still Button 39 in S&T 2007 if not how can i know just for future.
So will something like that work, am I understanding the logic correctly. I use Fortran to program so I am presuming same if logic statement
if Not ControlCommand("- Microsoft Streets & Trips","Configure GPS...","Button39","UnCheck","") Then
ControlCommand("- Microsoft Streets & Trips","Configure GPS...","Button39","Check","")
EndIf
Thank you for your help
Ramez
|
|
|
12-25-2006, 07:09 PM
|
#71
|
|
Low Bitrate
Join Date: Jan 2006
Location: Lexington, KY
Posts: 102
|
I'm on the latest release of RR. I played around with it a little and here's how I got rid of the warning window:
Just add this to the bottom of the code posted above
Code:
if WinWait("Safety Warning","") Then ControlClick("Safety Warning","",5912)
|
|
|
12-25-2006, 07:24 PM
|
#72
|
|
Newbie
Join Date: Dec 2006
Posts: 2
|
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
|
|
|
12-25-2006, 07:54 PM
|
#73
|
|
Low Bitrate
Join Date: Dec 2006
Location: Savannah/MAcon GA
Posts: 102
|
LEt me test this
|
|
|
12-25-2006, 08:33 PM
|
#74
|
|
Low Bitrate
Join Date: Dec 2006
Location: Savannah/MAcon GA
Posts: 102
|
Jay 1.8T, I added the line to the above code and for some reason i got an error. Can u please send me the .exe u r using. I just wanna see what the hell is wrong with the one i am using Weird
ramez75@hotmail.com
Thanks
|
|
|
12-25-2006, 10:13 PM
|
#75
|
|
Low Bitrate
Join Date: Jan 2006
Location: Lexington, KY
Posts: 102
|
What error do you get and we are still talking about S&T '07 right?
Here's the file I'm using STstart.exe
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:21 AM.
| |