Pre-Script / Feature Requests / NetSetMan Support

NetSetMan Support

Search for already answered questions about NetSetMan (Pro) or ask new ones

You are not logged in.

#1 2006-01-24 19:59

daniel.hughes@usa.net
Member
Registered: 2006-01-24
Posts: 2

Pre-Script

Additional request.  Having a script that runs first as well as the one that runs last.  I would like to disable my wireless connection when I activate at work, which I can do in the script command, but there is no way to enable it when I am at home, unless I do it before running NetSetMan.

Thanks,
Dan

Offline

#2 2006-01-24 22:07

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: Pre-Script

I like the simple and clear way NetSetMan is. So I don't really like the idea of adding a second Script field to the main window. Though this already has been asked a few times.
I will think about a way to manage this.

With the script feature nearly everything is possible. So there's a work-around:

You could use two profiles to archive the result you'd like to have.
Profile1 would only contain the script to be activated before the main (ip) settings.
Profile2 contains all other network settings (with a second script file if needed).

Since version 2.2.0 NetSetMan also can be controlled by command line. So just add a line to activate profile2 in silent mode at the end of the script.
Then you only have to activate profile1; profile2 will be activated automatically afterwards.

netsetman.exe -as 0
-as # : Activates the profile in silent mode (Activating window will close automatically if no errors occured). In the example the profile with the number 0 is activated.

(In the next update I will include the possibility to use the "silent mode" with normal activations through the program. At the moment it's only available with command line.)

Offline