|
 |
|
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
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
12-26-2006, 05:20 AM
|
#77
|
|
Maximum Bitrate
Join Date: May 2005
Location: Toronto, Canada
Posts: 823
|
Quote: Originally Posted by Jay_1.8t 
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
|
|
|
12-26-2006, 05:26 AM
|
#78
|
|
Maximum Bitrate
Join Date: May 2005
Location: Toronto, Canada
Posts: 823
|
Quote: Originally Posted by ramez75 
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.
|
|
|
12-26-2006, 06:16 AM
|
#79
|
|
Low Bitrate
Join Date: Jan 2006
Location: Lexington, KY
Posts: 102
|
Quote: Originally Posted by Marvin Hlavac 
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
|
|
|
12-26-2006, 06:20 AM
|
#80
|
|
Maximum Bitrate
Join Date: May 2005
Location: Toronto, Canada
Posts: 823
|
|
|
|
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
|
|
|
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
|
|
|
03-17-2007, 05:06 PM
|
#83
|
|
Low Bitrate
Join Date: Jan 2007
Location: OakLaHoeMah
Posts: 93
|
Quote: Originally Posted by eagle_ems 
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..
|
|
|
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.
|
|
|
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
|
|
|
08-05-2008, 02:17 AM
|
#86
|
|
FLAC
Join Date: Jul 2005
Location: Motorcity
Posts: 1,601
|
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
|
|
|
08-05-2008, 04:20 AM
|
#87
|
|
Maximum Bitrate
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.
|
|
|
|
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 10:20 PM.
| |