Navigation

Search

Categories

On this page

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 120
This Year: 1
This Month: 0
This Week: 0
Comments: 40

Sign In
Pick a theme:

# Monday, October 29, 2007
Monday, October 29, 2007 10:42:12 AM (Mountain Standard Time, UTC-07:00) ( )

Most of the largish companies I've worked at have a online phone-book for employees.

There's always some kind of a web-interface, with a search form on or near the front page of the intranet. It's wasteful of my time to open a browser, wait for it to load the home page, click into the form, type my query, and hit enter or click the search button.

It's much faster to START+R, type "p jones" and hit enter, and let the magic happen.

Open your user profile (START+R, %USERPROFILE% or just "." (quotes aren't necessary, they're for just for emphasis in this blog)), and enter.

Create a new batch script named p.cmd. I find the easiest way to do this is to Select New Text Document from the file menu, and rename it. This obviously only works if you have the 'Hide extensions for known file types' option turned off in your Windows Explorer preferences. (Tools, Options, View tab)

my batch file currently looks like this

start "phonebook" "c:\program files\internet explorer\iexplore.exe" http://<intranet>/<application>?sortField=FullName^&sortOrder=ASC^&searchAnywhere=OFF^&searchName=%1

You'll obviously need to be URI savvy enough to get your own URI from the application (assuming that it uses the GET verb)

Important things to note are that the ampersand character (&) must be escaped with the caret (^) because this command will be processed at the Windows NT Command line, and ampersand is the way that two commands are chained together. (i.e. DO THIS & DO THAT.) and finally the %1 which is the first command line parameter in the script I execute.

Watch for a follow up entry where I describe how to do this when you have a web-form that uses the POST method in the form (this makes me cry, your corporate web-developers should not be using POST to retrieve information)

 

Comments [1] | | # 
Tracked by:
http://morningside.edu/mics/_notes/pages/hoodia/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/effexor/index.html [Pingback]
http://blastpr.com/wiki/js/pages/lexapro/index.html [Pingback]
http://blastpr.com/wiki/js/pages/melatonin/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/synthroid/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/celebrex/index.html [Pingback]
http://blastpr.com/wiki/js/pages/prilosec/index.html [Pingback]
http://blastpr.com/wiki/js/pages/synthroid/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/cialis/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/ultram/index.html [Pingback]
http://blastpr.com/wiki/js/pages/rainbow-brite/index.html [Pingback]
http://blastpr.com/wiki/js/pages/viagra/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/cymbalta/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/celexa/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/tramadol/index.html [Pingback]
http://blastpr.com/wiki/js/pages/prozac/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/clomid/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/soma/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/rainbow-brite/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/claritin/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/prozac/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/prilosec/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/lipitor/index.html [Pingback]
http://blastpr.com/wiki/js/pages/wellbutrin/index.html [Pingback]
http://blastpr.com/wiki/js/pages/cymbalta/index.html [Pingback]
http://blastpr.com/wiki/js/pages/celexa/index.html [Pingback]
http://morningside.edu/mics/_notes/pages/viagra/index.html [Pingback]
http://blastpr.com/wiki/js/pages/celebrex/index.html [Pingback]
http://blastpr.com/wiki/js/pages/cialis/index.html [Pingback]
http://temerav.com/images/menu/20420171/index.html [Pingback]
http://plantmol.com/docs/60217277/index.html [Pingback]
http://pddownloads.com/docs/94929363/index.html [Pingback]
http://pddownloads.com/docs/15972574/index.html [Pingback]
http://islands-croatia.comislands-croatia.com/includes/js/docs/68291686/index.ht... [Pingback]
http://realestate.hr/templates/css/docs/71546796/index.html [Pingback]
http://discussgod.com/cpstyles/docs/25383456/index.html [Pingback]
http://vladan.strigo.net/wp-includes/js/docs/09763218/index.html [Pingback]
http://split-dalmatia.com/split-dalmatia.com/images/docs/73811526/index.html [Pingback]
http://discussgod.com/cpstyles/docs/73291253/index.html [Pingback]
http://plantmol.com/docs/80639343/index.html [Pingback]
http://promocija.com.hr/promocija.com.hr/includes/js/docs/70471394/index.html [Pingback]
http://split-dalmatia.com/split-dalmatia.com/images/docs/84431573/index.html [Pingback]
http://split-dalmatia.com/split-dalmatia.com/images/docs/34320152/index.html [Pingback]
http://discussgod.com/cpstyles/docs/90092602/index.html [Pingback]
http://islands-croatia.comislands-croatia.com/includes/js/docs/87090382/index.ht... [Pingback]
http://allfreefilms.com/wp-includes/js/46226552/index.html [Pingback]
http://add2rss.com/img/design/docs/45658867/index.html [Pingback]
http://martinrozon.com/images/photos/docs/43274485/index.html [Pingback]
http://islands-croatia.comislands-croatia.com/includes/js/docs/54089144/index.ht... [Pingback]
http://islands-croatia.comislands-croatia.com/includes/js/docs/82710340/index.ht... [Pingback]
http://coolioness.com/attachments/docs/76375390/index.html [Pingback]
http://swellhead.netswellhead.net/docs/79619129/index.html [Pingback]
http://ipsilon.hr/ipsilon.hr/cms/4/lib/docs/24066563/index.html [Pingback]
http://thebix.com/includes/compat/docs/15132509/index.html [Pingback]
http://add2rss.com/img/design/docs/90861918/index.html [Pingback]
http://entartistes.ca/images/images/docs/28212733/index.html [Pingback]
http://allfreefilms.com/wp-includes/js/25891222/index.html [Pingback]
http://hrvatska.biz/wp-includes/js/docs/80692203/index.html [Pingback]
http://martinrozon.com/images/photos/docs/56637999/index.html [Pingback]
http://split-dalmatia.com/split-dalmatia.com/images/docs/16705258/index.html [Pingback]
http://thebix.com/includes/compat/docs/15870923/index.html [Pingback]
http://blog.netmedia.hr/wp-includes/js/docs/08493171/index.html [Pingback]
http://swellhead.netswellhead.net/docs/42306518/index.html [Pingback]
http://thebix.com/includes/compat/docs/29852280/index.html [Pingback]
http://thejohnslater.com/pix/img/docs/73486930/index.html [Pingback]
http://temerav.com/images/menu/05559064/index.html [Pingback]
http://lecouac.org/ecrire/lang/docs/20007231/index.html [Pingback]
http://slaterjohn.com/downloads/2col/28436634/index.html [Pingback]
http://thejohnslater.com/pix/img/docs/42082955/index.html [Pingback]
http://lecouac.org/ecrire/lang/docs/49649526/index.html [Pingback]
http://martinrozon.com/images/photos/docs/75270452/index.html [Pingback]
http://promocija.com.hr/promocija.com.hr/includes/js/docs/63224938/index.html [Pingback]
http://coolioness.com/attachments/docs/58150246/index.html [Pingback]
http://easymexico.info/images/img/cialis/ [Pingback]
http://sevainc.com/bad_denise/img/7/nexium/ [Pingback]
http://adventure-traveling.com/images/img/viagra/ [Pingback]
http://inatelevizia.sk/ad/img/cialis/ [Pingback]
http://sevainc.com/bad_denise/img/12/viagra/ [Pingback]
http://abaffydesign.com/la/img/viagra/ [Pingback]
http://simpletravelcanada.info/js/pages/27277365/ [Pingback]
http://sevainc.com/bad_denise/img/9/rainbow-brite/ [Pingback]
http://easytravelcanada.info/js/pages/7/melatonin/ [Pingback]
http://sevainc.com/bad_denise/img/2/celexa/ [Pingback]
http://sevainc.com/bad_denise/img/6/lexapro/ [Pingback]
http://sevainc.com/bad_denise/img/10/synthroid/ [Pingback]
http://easytravelcanada.info/js/pages/7/nexium/ [Pingback]
http://sevainc.com/bad_denise/img/7/melatonin/ [Pingback]
http://easytravelcanada.info/js/pages/5/hoodia/ [Pingback]
http://sevainc.com/bad_denise/img/4/cymbalta/ [Pingback]
http://easytravelcanada.info/js/pages/11/tramadol/ [Pingback]
http://sevainc.com/bad_denise/img/5/effexor/ [Pingback]
http://sevainc.com/bad_denise/img/5/hoodia/ [Pingback]
http://easytravelcanada.info/js/pages/6/lexapro/ [Pingback]
http://adventure-traveling.com/images/img/cialis/ [Pingback]
http://easytravelcanada.info/js/pages/12/wellbutrin/ [Pingback]
http://easytravelcanada.info/js/pages/4/cymbalta/ [Pingback]
http://sevainc.com/bad_denise/img/1/accutane/ [Pingback]
http://sevainc.com/bad_denise/img/11/tramadol/ [Pingback]
http://sevainc.com/bad_denise/img/4/coumadin/ [Pingback]
http://easycanada.info/js/pages/cialis/ [Pingback]
http://easytravelcanada.info/js/pages/2/celexa/ [Pingback]
http://easytravelcanada.info/js/pages/6/lipitor/ [Pingback]
http://easytravelcanada.info/js/pages/4/coumadin/ [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/sexual-xxx-stories.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/teen-trends-courtney-doll.h... [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/35807953/nude-sleeping-sex-xxx.html [Pingback]
http://odin.net/images/pages/35694472/council-of-adult-education-australia.html [Pingback]
http://odin.net/images/pages/52807681/herrin-il-xxx.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/99493954/oops-babes.html [Pingback]
http://odin.net/images/pages/52807681/are-baby-walkers-bad.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/sex-pussy-dick.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/99493954/adult-free-gay-porn.html [Pingback]
http://odin.net/images/pages/52807681/index.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/a1-thumbnails-posts.html [Pingback]
http://odin.net/images/pages/35694472/small-tit-teens-tgp.html [Pingback]
http://odin.net/images/pages/52807681/neosporin-for-anal-fissures.html [Pingback]
http://odin.net/images/pages/52807681/aurora-snow-xxx.html [Pingback]
http://odin.net/images/pages/35694472/blondes-and-blacks-xxx.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/collin-farrell-sex-tape.htm... [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/53348735/la-blue-girl-free-download... [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/53348735/nude-cassie.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/teen-young-bbw.html [Pingback]
http://odin.net/images/pages/52807681/sex-as-a-suspect-classification.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/99493954/marriage-sex-life.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/caught-masturbating.html [Pingback]
http://odin.net/images/pages/35694472/fosters-home-for-imagine-friends-cartoon-p... [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/53348735/bikini-dare-pics.html [Pingback]
http://odin.net/images/pages/35694472/jenny-maccarthy-nude.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/99493954/baby-pool.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/hentai-spider-man.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/indian-erotic-sex.html [Pingback]
http://odin.net/images/pages/52807681/hot-sexy-horny-slut-fucking.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/xpress-train-hentai-movie.h... [Pingback]
http://odin.net/images/pages/52807681/drug-test-shop-penis.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/99493954/chyna-porn-movie.html [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/53348735/free-sex-positions-clips.h... [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/35807953/porn-pictures-of-girls.htm... [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/35807953/baby-shower-graphics.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/99493954/foot-fetish-video-s.html [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/35807953/asian-couples.html [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/53348735/porn-vagina-sex.html [Pingback]
http://cidesi.com/images/metro/metro2/pages/99493954/sexual-world-records.html [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/35807953/gay-porn-websites.html [Pingback]
http://odin.net/images/pages/35694472/mature-and-teen-sex-clips.html [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/53348735/asian-massage-ct.html [Pingback]
http://gatewayplayhouse.com/photos/cai/pages/53348735/oral-sex-instruction-pictu... [Pingback]
http://cidesi.com/images/metro/metro2/pages/32162341/girls-that-lick-ass.html [Pingback]
http://odin.net/images/pages/35694472/celeb-up-skirts.html [Pingback]
http://odin.net/images/pages/52807681/rainbow-coalition-gay.html [Pingback]
http://odin.net/images/pages/35694472/lightspeed-teens.html [Pingback]
http://odin.net/images/pages/52807681/black-teen-dare-dance.html [Pingback]
http://www.signalprocessingsociety.org/community/forum/buy-cialis-online.html [Pingback]
http://www.signalprocessingsociety.org/community/forum/buy-phentermine-online.ht... [Pingback]
http://www.signalprocessingsociety.org/community/forum/buy-ambien-online.html [Pingback]
http://www.signalprocessingsociety.org/community/forum/buy-soma-online.html [Pingback]
http://www.signalprocessingsociety.org/community/forum/buy-viagra-online.html [Pingback]
http://www.signalprocessingsociety.org/community/forum/buy-tramadol-online.html [Pingback]
http://www.signalprocessingsociety.org/community/forum/buy-hydrocodone-online.ht... [Pingback]
Tuesday, November 27, 2007 6:54:47 PM (Mountain Standard Time, UTC-07:00)
This is great! One question: Is there any way around the authentication issue? I have a portal which requires a login/password. Am I out of luck? --thanks
Comments are closed.