Laptop GPS World

Laptop GPS World

GPS Navigation on Laptop, PC, TabletPC, UMPC, and CarPC

 

A new hotkey to place a pushpin on the map

This is a discussion on A new hotkey to place a pushpin on the map within the Free add-ons forums, part of the Microsoft Streets and Trips category; Avez-vous essayez les paramètres d'affichage de défaut de Win XP? Je remarque que celui des photos ...


Go Back   Laptop GPS World > Software Discussions > Microsoft Streets and Trips > Free add-ons

Register All Albums FAQ Search Today's Posts Mark Forums Read

Notices

Reply
 
Thread Tools Display Modes
  #31  
Old December 13th, 2007, 12:30 AM
 
Join Date: Oct 2007
Posts: 152
Default Re: A new hotkey to place a pushpin on the map

Avez-vous essayez les paramètres d'affichage de défaut de Win XP? Je remarque que celui des photos semble différent. La boite de message est verte, il y a un icône pour l'imprimante, le texte est italique. Keys utilise la police sélectionnée pour Windows. Si le paramètre par défaut règle le problème, je verrai si je peut ajouter des paramètres dans Keys. C'est ce que j'utilise avec une résolution de 1280X800 sur un Dell Inspiron 1300.

cordialement
toyfountain
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #32  
Old December 13th, 2007, 12:50 PM
Member
 
Join Date: Dec 2007
Posts: 57
Send a message via Skype™ to nialag
Default Affichage problèmatique

Allo,

Oui, j'ai rétabi l'affichage original, mais ça ne change rien, toujours le même problème...

Je n'utilise pas les paramètres standarts (couleurs)de Windows, et les caractères que j'utilise dans les barres de titres sont un peu plus gros, mais ça n'affecte pas les caractères à l'intérieur des fenêtres.

Je n'ai pas ce problème avec les fenêtres originales de S&T et avec aucun autre programme.

L'icône d'imprimante est un petit programme "Hardcopy" qui me permet de sauvegarder mes images écran en fichier *.jpg ou autres fichiers d'image.

Merci

Alain
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #33  
Old December 13th, 2007, 06:29 PM
 
Join Date: Oct 2007
Posts: 152
Default Re: A new hotkey to place a pushpin on the map

J'ai fait une nouvelle version qui spécifie la police Trebuchet MS Bold. Il est sur mon Dell avec Win XP et c'est celui que Keys utilise sur mon ordinateur. J'imagine que cette police doit être sur le votre aussi. SVP essayez-le en espérant que cela est la solution pour votre système.
Attached Files
File Type: zip toyfountain_Keys_2_53_3_beta_added_hotkeys_english.zip (528.1 KB, 5 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #34  
Old December 13th, 2007, 11:28 PM
Member
 
Join Date: Dec 2007
Posts: 57
Send a message via Skype™ to nialag
Default Re: A new hotkey to place a pushpin on the map

Pas de changement, toujours les mêmes fenêtres avec les mêmes caractères... J'ai changé la résolution de l'écran à 1280X768 p. les caratères sont plus gros dans les fenêtres Windows, mais dans les fenêtres S&T et Keys il n'y a pas de changement...

???

J'ai également un vieux portable Fujitsu que je n'utilise plus avec S&T 2008 car il est trop lent... Je vais faire des test avec ce dernier... J'ai utilisé S&T 2007 sur ce dernier, mais pas les Keys car ça faisait geler le tout...


Merci pour les essayes.

Alain
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #35  
Old December 16th, 2007, 02:16 PM
Member
 
Join Date: Dec 2007
Posts: 57
Send a message via Skype™ to nialag
Default Affichage problèmatique

Bonjour,

Je n'ai pas de problème d'affichage avec mon vieux Fujitsu Pentium III 500 Mhz E series Lifebook Écran VGA 1024X768 ppp. La configuration de l'affichage (couleur et format des caractères) est la même sur tous mes ordis.

Avec les 2 Dell avec écran très haute définition les caractères dépassent les fenêtres... !!!

Merci pour les informations

Alain
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #36  
Old February 19th, 2008, 01:21 AM
 
Join Date: Oct 2007
Posts: 152
Default Re: A new hotkey to place a pushpin on the map

Quote:
Originally Posted by Driven1 View Post
I tossed another feature need at him and he bounced me over to you 'cause you're already working on it.

Pushpin Hot Keys. Here's an excerpt of what I wrote to Marv...

The ability to create a Pushpin from a hotkey that marks the spot that you're at while using GPS Tracking. I'd like to take it just a bit further than Neludok though and suggest Custom Pushpins with different symbols associated to different hotkeys. I'd like to also associate some sort of sound cue to each type that will sound when tracking comes near a previously created pushpin. .......


.......As Bugs Bunny once said, "Ain't I a Stinker!"

I know this one's a toughie. If it can't be done, just say so and I'll leave ya alone.

Happy Holidays!

So Toyfountain, whatcha think? Can it be done?



Thanks!
Driven1

Winter is almost over. I don't know if you still need this.

I think the new POI Scanner v1.6 will fullfil the hope of having a sound cue and more. It can read up to four different mp3 files associated with four different special pushpins. It will tell you the kind of hazard that was set up and at which distance it was set.

It took three months to develop, but I think it's now done successfully.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #37  
Old May 23rd, 2008, 12:27 PM
Member
 
Join Date: Oct 2007
Posts: 4
Default Re: A new hotkey to place a pushpin on the map

I'm doing something slightly different but easier and I'm hoping for some help.

I put in all my pushpins manually so what I'm looking for is a hotkey sequence that places a pushpin where my cursor currently is without having to mouse over to the "create pushpin" button (Button78).

So the cursor will always be in the Map Control window when I press the sequence (I hope). I'll worry about error handling later.

It looks like all I need is ControlFocus and ControlClick plus the coordinates of the mouse (maybe).

However I can't seem to get the ControlFocus and ControlClick to work. Nothing happens when I run the script. It's a stupid newbie question but maybe someone will have pity on me and enlighten me on how to get it working. Here's what I have to try and get the focus and the click:

ControlFocus, Button78, "Create Pushpin", "AfxWnd702"
Sleep 100
ControlClick, Button78, "Create Pushpin", "AfxWnd702"

******************
This will do what I want it to do but I would prefer it not be dependent on the coordinates and not move the mouse if possible (I'm using 1024x768 with S&T maximized and a taskbar that is double the normal height) (62, 695 is the X,Y of the create pushpin button).

^LButton::
BlockInput, SendAndMouse
SetTitleMatchMode, 2
SetTitleMatchMode, Slow
WinWait, Microsoft Streets & Trips,
IfWinNotActive, Microsoft Streets & Trips, , WinActivate, Microsoft Streets & Trips,
WinWaitActive, Microsoft Streets & Trips,
Sleep, 5
MouseGetPos, origx, origy
MouseClick, left, 62, 695
MouseMove, origx, origy
MouseClick, left, origx, origy


Thanks,
Curt

Last edited by crazyst; May 23rd, 2008 at 05:00 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #38  
Old May 27th, 2008, 11:43 AM
Laptop GPS World
www.laptopgpsworld.com
 
Join Date: Sep 2007
Location: ON, Canada
Posts: 1,769
Default Re: A new hotkey to place a pushpin on the map

Hi Curt,

Welcome to Laptop GPS World.

I've played with this feature long ago - I never succeeded (but toyfountain did, so he may be able to help.). If my memory serves me well, I recall also having difficulty controllong the "Create Pushpin" button on the Drawing tool bar. But it was long ago, and I may be wrong now. In any case, abandon AutoHotkey application, and switch to AutoIt. It gives you more options. Then use the included "AutoIt Window Info" application to read ControlIDs of the buttons you need to access.
__________________
Marvin Hlavac

Laptop GPS software reviews | Stores offering discounts to our members: Semsons & Co. Inc. and Deluo Electronics
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #39  
Old May 27th, 2008, 01:59 PM
Member
 
Join Date: Oct 2007
Posts: 4
Default Re: A new hotkey to place a pushpin on the map

Ok thanks. I'll give that a try.

Curt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #40  
Old May 30th, 2008, 03:48 PM
 
Join Date: Oct 2007
Posts: 152
Default Re: A new hotkey to place a pushpin on the map

Maybe looking at the section of code for the push_pin function might help you. You'll just need to substitute the code that determined the location of the GPS dark burgundy pixel with the code needed to locate the mouse location.

Func push_pin()
reset_hotkeys()
Sleep(250)
ControlClick($productname, "", $panbutton)
ControlClick($productname, "", $panbutton)
Sleep(250)
MouseMove(600, 400, 0 )
ControlClick($productname, "", $createpushpin)
Sleep(250)
$pos_AfxWnd702 = ControlGetPos($productname, "", "AfxWnd702")
$left_GPSsearch = $pos_AfxWnd702[0]
$top_GPSsearch = $pos_AfxWnd702[1]
$right_GPSsearch = $pos_AfxWnd702[0] + $pos_AfxWnd702[2]
$bottom_GPSsearch = $pos_AfxWnd702[1] + $pos_AfxWnd702[3] + $titlebarhight
$coord_GPS = PixelSearch($left_GPSsearch, $top_GPSsearch, $right_GPSsearch, $bottom_GPSsearch, 0x800000, 0, 1 )
If Not @error Then
$coord_xGPS = $coord_GPS[0] - $left_GPSsearch - 8
$coord_yGPS = $coord_GPS[1] - $top_GPSsearch - $titlebarhight + 12
ControlFocus($productname, "", "AfxWnd702")
Sleep(250)
ControlClick($productname, "", "AfxWnd702", "left", 1, $coord_xGPS, $coord_yGPS )
EndIf
ControlClick($productname, "", $selectbutton)
EndFunc

Once you modify the code of one of the modified Keys versions with the AutoIt editor, just compile it to a .exe file to run it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #41  
Old June 3rd, 2008, 11:35 PM
Member
 
Join Date: Oct 2007
Posts: 4
Default Re: A new hotkey to place a pushpin on the map

Thanks. I'll take a look at it. I need to port my AutoHotKey code to AutoIt and then I'll give it a go.

Thanks again for posting the portion I'm looking at.

Curt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #42  
Old June 19th, 2008, 03:25 PM
Member
 
Join Date: Jun 2008
Posts: 3
Default Re: A new hotkey to place a pushpin on the map

Hey guys,
I drive 18 wheeler in the US and use both of your programs and I must say they are awesome. But, this program would be invaluable to me and was wondering if you needed a beta tester? If not do you have any clue when this may be released?

Marc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #43  
Old June 22nd, 2008, 07:10 AM
Laptop GPS World
www.laptopgpsworld.com
 
Join Date: Sep 2007
Location: ON, Canada
Posts: 1,769
Default Re: A new hotkey to place a pushpin on the map

Hi Marc,

Welcome to Laptop GPS World.

toyfountain would be able to answer you better, but he hasn't posted for a while. I think this application is a part of his modified S&T Keys. There is a download link on the previous page (click), and I'm not sure if there have been any subsequent improvements.

Try that version, and let us know how you like it.
__________________
Marvin Hlavac

Laptop GPS software reviews | Stores offering discounts to our members: Semsons & Co. Inc. and Deluo Electronics
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #44  
Old June 25th, 2008, 02:30 PM
 
Join Date: Oct 2007
Posts: 152
Default Re: A new hotkey to place a pushpin on the map

Quote:
Originally Posted by mobile1@dooleyfam View Post
Hey guys,
I drive 18 wheeler in the US and use both of your programs and I must say they are awesome. But, this program would be invaluable to me and was wondering if you needed a beta tester? If not do you have any clue when this may be released?

Marc
Welcome Marc

Which function of the program do you mean? To be able to insert push pins without having to re-click on the push pin button?

It's true, I haven't posted much lately, but I try ans read the posts here every few days. I've been very busy with another project. Since gas went up so much I kinda of revolted against the refineries and decided to begin e-biking to work. It's a 30 km commute for me. I bought a new e-bike at Canadian Tire, researched about e-biking, modded it to my liking and repaired it some. It's been an adventure so far, but things are slowly getting back to normal. There are benefits too. We use the car less and I feel better.

I've also been planning a major trip for the family this year. After years of consideration, we have decided to take the kids to DisneyWorld. A 2400 km trip is ahead of us. S&T will really be useful on the trip.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #45  
Old June 26th, 2008, 10:51 AM
Member
 
Join Date: Jun 2008
Posts: 3
Default Re: A new hotkey to place a pushpin on the map

Hey again,
Ya I was thinking the One Key Pushpin program. I understand there isn't much to bata testing this type of program but the more people looking at it the better.
Marvin, thanks for pointing me at that link I must have skipped right over it.
I'm also sorry for not getting back a bit sooner. Between driving 3400 miles a week and fighting with a couple software projects of my own I have fallen behind also.
thx Marc

Last edited by mobile1@dooleyfam; June 26th, 2008 at 11:00 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pushpin links to files and folders Marvin Hlavac Microsoft Streets and Trips 1 January 4th, 2008 05:51 AM


All times are GMT -4. The time now is 02:18 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Copyright © 2007 - 2008 Laptop GPS World. All Rights Reserved.