topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Wednesday April 24, 2024, 1:10 am
  • Proudly celebrating 15+ 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - magonicola [ switch to compact view ]

Pages: [1]
1
Ok, done.

I attached a .zip to this post, with the .ahk source file and with a compiled version.

It checks every 5 seconds for changes in the SSID, and if so, it compares the current SSID against a pre-defined list of SSIDs specified in the .ini file, and if it detects the current one is one of them, it launches the associated action.

I think the .ini file is self-explanatory, but if you have some trouble, just post here ;)

Hi,
first of all thanks for your attachment, very nice & usefull.
In particular this attachment has quite solved my problem: reconfiguring IP settings on SSID change. HOW? Your file lunch a BAT file made by netsh instruction that calls a txt files with appropriate config inside.

Now there's only a problem: sometimes your script gives me a run-time error (800a0046 code) of "cannot access to file" (privileges), the file is obviously SSID.txt, so I can't be "safe" to leave the pc alone and on being sure that it will change autometically the IP settings. (I don't know why this: your script works for minutes and only a few times at hour has got this error popup. Maybe, I think, 5 seconds of delay is not enough when CPU is stressed)
If you can fix this error you will solve not only my situation, but the problem of so many people.
THANKS!

Pages: [1]