| View previous topic :: View next topic |
| Author |
Message |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Mon Jun 07, 2004 6:14 pm Post subject: Windows Services |
|
|
Would it be possible to add the ability to Add, Edit, Delete, Query, Start, Stop NT Services?
thanks,
beardboy |
|
| Back to top |
|
 |
Jon
Joined: 28 Apr 2004 Posts: 373
|
Posted: Mon Jun 07, 2004 6:28 pm Post subject: |
|
|
I currently use net start and net stop to start and stop services using AHK.
syntax
NET START [service]
NET STOP [service]
NET PAUSE [service]
NET CONTINUE [service]
key
[service] : The service name as shown in Control Panel, Services |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10465
|
Posted: Mon Jun 07, 2004 6:46 pm Post subject: |
|
|
| Quote: | | Would it be possible to add the ability to Add, Edit, Delete, Query, Start, Stop NT Services? |
Since I think most of those things can be done from the command line (possibly requiring a resource kit or 3rd party utility to add/edit a service?) or even by automating the GUI, it'd be a pretty low priority. Do you have any particular tasks that can't be easily accomplished by automating OS features? |
|
| Back to top |
|
 |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Sat Jun 19, 2004 12:51 am Post subject: |
|
|
I use both net start and net stop, as well as a 3rd party tool sc.exe that lets you start and stop services on Remote computers. I could always use %comspec% to do most of the AHK FileXXX commands. I could also use a 3rd party tool named reg.exe to modify the registry on local and Remote computers instead of using AHK RegXXX commands.
| Quote: | | Do you have any particular tasks that can't be easily accomplished by automating OS features? |
No, the reason why I asked for this is it is always easier to program something using AHK Functions as well as less CPU and memory than using an external application with the Run and RunWait commands.
I also figured that there might be some built-in Windows functions to hopefully implement this in AHK. If added to the To Do list, low priorty since there are of course alternate solutions.
thanks,
beardboy |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10465
|
Posted: Sat Jun 19, 2004 2:23 am Post subject: |
|
|
Of course, you're right that there are a lot of features built in that have 3rd part or OS alternatives. My previous post was inaccurate and badly written.
Anyway, I will add it to the list. For future reference, these are the criteria I use to determine the priority of feature requests:
- What percentage of users would be expected to use the feature.
- How much value the feature adds (and this considers the availability built-in OS features and/or 3rd party utilities).
- How hard it is to implement.
This feature scores low on the first two but probably not too bad on the last. Usually when a low-scoring feature is requested, I try to avoid putting it on the list at all because realistically it would be months before I got to it (unless someone else codes it).
I will try to publish the highest priority list items soon so there is visibility of what is planned. A visible list might also help justify my shameful reluctance to claim that things are going on the list  |
|
| Back to top |
|
 |
Jon
Joined: 28 Apr 2004 Posts: 373
|
Posted: Sat Jun 19, 2004 2:51 am Post subject: |
|
|
Being able to kill a process by it's file name e.g. notepad.exe would be useful. I found something called taskkill but it doesn't seem to work on XP home (http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/taskkill.mspx)
Thanks, Jon |
|
| Back to top |
|
 |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10465
|
Posted: Sat Jun 19, 2004 3:39 am Post subject: |
|
|
| Support for acting upon processes is planned, though once again it's not something commonly used. That's why things such as better auto-replace, hot strings, and snazzy progress bars take precedence. |
|
| Back to top |
|
 |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Sat Jun 19, 2004 3:46 am Post subject: |
|
|
| Quote: | I will try to publish the highest priority list items soon so there is visibility of what is planned. A visible list might also help justify my shameful reluctance to claim that things are going on the list |
For those people who don't believe in the list, everything I have ever suggested (that was reasonable), Chris has delivered.
thanks,
beardboy |
|
| Back to top |
|
 |
|