HomeMicrosoft Streets and TripsFree add-ons for Microsoft Streets and Trips › POI Scanner for Microsoft Streets & Trips

POI Scanner for Microsoft Streets & Trips

Reply to Thread
Page 3 of 5
toyfountain
Senior Member
Quote:
Originally Posted by Marvin Hlavac
toyfountain, would you please test the following:

* Open new map (w/out any pushpins)
* Don't add any pushpins
* In Streets & Trips, go to Find Nearby Places => Add/Remove Places, and then select all possible POIs
* Set POI Scanner to its default settings
* Set your destination, and drive with your usual settings
* Observe for any false warnings (I get them in both full-screen mode, and windowed mode)
Marvin, try this one to see if it fixes it.
This new 1.4.13 has the red removed and replaced by a new purple. I renamed the old purple to blue. Disregard the new Sound Play tab in the settings. It's not functional yet. I only included the flags in this version for now since all the red bmp files will have to be modified.
Marvin Hlavac
Laptop GPS World
www.laptopgpsworld.com
Cool, I'll test it on Monday.
Marvin Hlavac
Laptop GPS World
www.laptopgpsworld.com
I drove with POI Scanner for a few hours today. I didn't set any pushpins, because I was only interested in testing for false warnings. Today was the very first time I received not a single false warning. It may still not be perfect, and I will still keep on testing this. But so far so good. I'm impressed. Good job, toyfountain! I'll let you know the minute I get a single false warning .
toyfountain
Senior Member
I did notice that as the S&T window is minimized , I sometimes get a warning for two colors. I'm guessing it's still searching until it detects the window is not active anymore. I have a pic on my destop and it must contain two of these colors.

Have you noticed this on your set up Marvin?
Marvin Hlavac
Laptop GPS World
www.laptopgpsworld.com
I noticed this a few times, but not today with the newest version. However, this may still be present, and there may likely be nothing that can be done about it. And I wouldn't worry too much about it either.
toyfountain
Senior Member
I can confirm it still happens with this version too. I just made it happen. It also keeps on going. Since it is only when the program closes it won't be the highest priority. I figure adding a line to bypass the scan when S&T is minimized will do it.
toyfountain
Senior Member
Ok, I taught about it and decided to fix that alert when S&T gets minimized. I have a fix for it with this new version 1.4.14
toyfountain
Senior Member
The new version with voice messages instead of dings and chimes sounds is done. Please see the read me first text message in the file first.

POI Scanner Version 1.5.00 now with voice prompts.
Download zip file below

Select custom sound prompts from over 500 mp3 files at this thread Custom MP3 files for GPS POIs

You can download the english_francais_mp3.zip file if you wish to switch the default voice prompts from english to french.
Attached Files
File Type: zip toyfountain_POI_Scanner_1_5_00_2006-2008.zip (639.5 KB, 155 views)
File Type: zip english_francais_mp3.zip (974.4 KB, 131 views)
toyfountain
Senior Member
POI Scanner Version 1.6.0 now with volume control.
Download zip file below
Attached Files
File Type: zip toyfountain_POI_Scanner_1_6_00_2006-2008.zip (628.5 KB, 144 views)
toyfountain
Senior Member
POI Scanner Version 1.7.0
Works with Windows XP only, For Windows Vista please use version 1.8.0

Fixes bug with volume control on english versions of Windows.
Fixes recognition bug with AutoRoute.
Adds compatibility with MapPoint 2006.
Download zip file below
Attached Files
File Type: zip toyfountain_POI_Scanner_1_7_00_2006-2008.zip (628.6 KB, 213 views)
Marvin Hlavac
Laptop GPS World
www.laptopgpsworld.com
Nice! I will download it tomorrow on my mobile pc. I no longer have MS MapPoint installed, but I will test the new version of your POI Scanner at least on MS Streets & Trips 2008.
toyfountain
Senior Member
From a post from jol on gpspassion I found two important bugs. I had written AutoRoute without the capital R in the code. It is case sensitive. This completely prevented it from working in AutoRoute. In a few weeks I'll be able to test it myself once I get my copy of the french AUtoRoute.

There's also a difference with the french windows and the english windows volume control window. In english it is written with a capital V, not so in french, small v. I replaced Volume and volume with "olume" instead. It should work the same way in both french and english. I can confirm it works in french, but I can't test it on an english windows. I expect it will work the same as in the french version.

Thanks again, Marvin. I asked on MapForums and Eric Frost offered to test it on MapPoint. I could only test it on the trial version myself.
Marvin Hlavac
Laptop GPS World
www.laptopgpsworld.com
Sounds good. Your MS AutoRoute should come with an airline ticket to Europe, so you can test it better ! By the way, I'm not sure how you control the sound volume, but AutoIt has SoundSetWaveVolume() and I think there may be another function for Windows master volume.
toyfountain
Senior Member
I use SoundSetWaveVolume() to raise before the alert and then lower the wave volume after the alert is played, but haven't found a control for the master volume. If you see it, please post it. I'd like to add it to the scanner. So far, I usually leave my master volume at maximum. I play the alerts at the maximum wave volume too. I find anything lower is too low to hear over the engine noise. Next car radio, I'll have an aux input. This will take care of this low volume problem.

Here's the code part for the volume
Opt("WinTitleMatchMode", 2)
ShellExecute("C:\Windows\system32\sndvol32.exe","","","", @SW_MINIMIZE )
sleep(300)
$sound_slider = ControlGetHandle("olume", "", "msctls_trackbar324")
sleep(100)
$volume = (_GUICtrlSliderGetPos($sound_slider)/5)
;MsgBox(4096,"1365", _GUICtrlSliderGetPos($sound_slider))
if $volume = -1 Then
ShellExecute("C:\Windows\system32\sndvol32.exe","","","", @SW_MINIMIZE )
sleep(300)
$sound_slider = ControlGetHandle("olume", "", "msctls_trackbar324")
sleep(100)
$volume = (_GUICtrlSliderGetPos($sound_slider)/5)
;MsgBox(4096,"1370", _GUICtrlSliderGetPos($sound_slider))
endif
$volume_int = Int($volume)
$volume_prior = 100 - $volume_int
sleep(100)
;MsgBox(4096,"", $volume_prior)

SoundSetWaveVolume($input_5)
Sleep(100)
$file_sound = IniRead(@UserProfileDir & "\POI_Scanner.ini", "Section1", "sound_file", "")
SoundPlay($file_sound, 1)
Select
case IniRead(@UserProfileDir & "\POI_Scanner.ini", "Section1", "Scanner_1", 0) = 1
SoundPlay(@ScriptDir & "\distance_250.mp3", 1)

case IniRead(@UserProfileDir & "\POI_Scanner.ini", "Section1", "Scanner_1", 0) = 2
SoundPlay(@ScriptDir & "\distance_500.mp3", 1)

case IniRead(@UserProfileDir & "\POI_Scanner.ini", "Section1", "Scanner_1", 0) = 3
SoundPlay(@ScriptDir & "\distance_1000.mp3", 1)

case IniRead(@UserProfileDir & "\POI_Scanner.ini", "Section1", "Scanner_1", 0) = 4
SoundPlay(@ScriptDir & "\distance_1500.mp3", 1)

case IniRead(@UserProfileDir & "\POI_Scanner.ini", "Section1", "Scanner_1", 0) = 5
SoundPlay(@ScriptDir & "\distance_2000.mp3", 1)

EndSelect

SoundSetWaveVolume($volume_prior)
sleep(100)
WinClose("olume")


BTW: Some day you'll have to tell me how you post code and maintain the original colors of the script editor.
toyfountain
Senior Member
Working on version 1.8 to add support for S&T 2009 and correct the sound volume set for Vista (different than with WinXP, presently results in an error with Vista).
© Laptop GPS WorldContact Resources Site Map