Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 06, 2016, 04:21:03 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: alias for toggle internet proxy  (Read 2534 times)

wjamoe

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 74
    • View Profile
    • Donate to Member
alias for toggle internet proxy
« on: July 29, 2012, 03:51:24 AM »
You might like this, it is a simple alias for toggling the internet proxy on/off

Quote
"%FARRDIR%\Scripts\Control Panel (cpanel)\Internet Options (cpanel).lnk";;;sendkeys {sleep 1500}+{TAB}{HOME}{RIGHT}{RIGHT}{RIGHT}{RIGHT}%l%x

it will show the new state .

if you want to reverse the state press {SPACE}

you now have to to press {ENTER} twice to commit the setting

assumptions:
  • this version only  works for english version of windows (Lan settings, proXy)
  • it only works if your system administrator did not disable the communication dialog (5th TAB)
  • there are no built in checks, to verify the above!

maybe you can modify it and upload a version for your language.

wiem
« Last Edit: July 30, 2012, 02:02:29 PM by wjamoe, Reason: (previous version contrained error!) »

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 6,137
  • Slartibartfarst
    • View Profile
    • Donate to Member
Re: alias for toggle internet proxy
« Reply #1 on: July 29, 2012, 08:11:55 AM »
@wjamoe: Thanks for that post. I don't need the alias (not yet, anyway), but it just taught me something about the simplicity of an alias in FARR.

Filipe Meira Castro

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 72
    • View Profile
    • Donate to Member
Re: alias for toggle internet proxy
« Reply #2 on: July 29, 2012, 03:19:43 PM »
Seems really nice, thanks for sharing :)

Unfortunatly it does not work in my computer (W7 32b, latest FARR), after troubleshooting found the window gets out of focus with the sleep command {sleep 1500}

Tried, offcourse, taking it out or increasing but it does not help..

If I just lauch the command and do the keys by myself then it works...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: alias for toggle internet proxy
« Reply #3 on: July 29, 2012, 04:46:47 PM »
Filipe, it may be that you have an option set for FARR to grab focus. now whether you want to keep that or not i dont know.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,664
    • View Profile
    • Donate to Member
Re: alias for toggle internet proxy
« Reply #4 on: July 29, 2012, 05:42:00 PM »
I just added a commandline mode to my IE Proxy Toggle application so that your alias can work more reliably across all languages.  Download the application, unpack it to a folder and you can call it in your alias like these examples:

c:\path\to\ieproxytoggle.exe -on
c:\path\to\ieproxytoggle.exe -off
c:\path\to\ieproxytoggle.exe -toggle


wjamoe

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 74
    • View Profile
    • Donate to Member
Re: alias for toggle internet proxy
« Reply #5 on: July 30, 2012, 02:02:00 PM »
Skwire, I was looking for a small proxy toggle tool, but I couldn't find it. Thanks, I'm certainly going to use your program. :Thmbsup:

There is only a very small advantage of my alias over your exe, it will work out of the box.  ;) (most of the time)