Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Discussions > How Do I > Field Name for "Public Trans" menu option for automation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ted Palsson  
View profile  
 More options Jul 23 2008, 2:55 pm
From: Ted Palsson <bear...@gmail.com>
Date: Wed, 23 Jul 2008 11:55:47 -0700 (PDT)
Local: Wed, Jul 23 2008 2:55 pm
Subject: Field Name for "Public Trans" menu option for automation
I'm working on an Access database application used for researching
commute information for company employees and recommends travel
routes
and distances for busing to work instead of driving.
Using VBA in Access I have automated opening up Google Maps and
populating the starting and ending addresses and clicking on the get
direction boxes.
I must then manually click on the "Public Transit" option because I
have been unable to determine they name of the "Public Transit" menu
option by viewing the Source for the Google Maps web site.
I have been searching for the <input type phrase and I am unable to
locate anything that looks like it could be this selection option.
Could anyone please give me the input type, id, and name of that
check
box so that I can finish automating my application please?

I was able to get some help from Barry Hunter on my earlier problem,
but now I could use some help with this one.

Barry helped me with the name of the Avoid Highways option which I was
able to add into my Access database using this VBA code and it works
great!

    IEapp.Document.All("ddopt_avhwy").Click
    While IEapp.Busy
        DoEvents
    Wend

Your help would be greatly appreciated!
Thank you in advance.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maps Guide Adam Google employee  
View profile  
 More options Jul 23 2008, 4:43 pm
From: Maps Guide Adam <earth-guide-a...@google.com>
Date: Wed, 23 Jul 2008 13:43:26 -0700 (PDT)
Local: Wed, Jul 23 2008 4:43 pm
Subject: Re: Field Name for "Public Trans" menu option for automation
You may wish to check out the functionality available via the Maps
API. To learn more, check out:
http://code.google.com/apis/maps/

Good luck with your project.

Maps Guide Adam

On Jul 23, 11:55 am, Ted Palsson <bear...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Barry Hunter  
View profile  
 More options Jul 23 2008, 5:56 pm
From: "Barry Hunter" <barrybhun...@googlemail.com>
Date: Wed, 23 Jul 2008 22:56:47 +0100
Local: Wed, Jul 23 2008 5:56 pm
Subject: Re: Field Name for "Public Trans" menu option for automation
As I said before you really should install Firefox and the Developer
Toolbar and/or Firebug, finding things like this takes seconds. (You
just enable Display ID and Class details - or Inspect in Firebug)

I would also really recommened doing it via url paramaters - they are
at least more likly be stable ( &dirflg=r ), and you dont have to
waste time loading the directions then changing the option.

Anyway this time its not a checkbox, but a simple link. The code looks
like this:
<a id="dmode_link_r" href="javascript:void(0)">Public Transit</a>
you can probably trigger some sort of onclick - but it probably uses
the slightly propriety event binding so I dont know the syntax to do
so.

--
Barry

- www.nearby.org.uk - www.geograph.org.uk -


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ted Palsson  
View profile  
 More options Jul 24 2008, 12:49 pm
From: Ted Palsson <bear...@gmail.com>
Date: Thu, 24 Jul 2008 09:49:29 -0700 (PDT)
Local: Thurs, Jul 24 2008 12:49 pm
Subject: Re: Field Name for "Public Trans" menu option for automation
This worked great! Thanks.

    IEapp.Document.all("dmode_link_r").Click   ' Public Transit
    While IEapp.Busy
        DoEvents
    Wend

I'll see if I can get IT to let me install Firefox, but that is a
daunting task to get approval for a non-corporate standard.

On Jul 23, 2:56 pm, "Barry Hunter" <barrybhun...@googlemail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »