Results 1 to 5 of 5

Thread: set dl/ul speed from commandline

  1. #1
    Join Date
    Apr 2010
    Posts
    90

    set dl/ul speed from commandline

    Capable to configure download and upload speed from the command line would actually be helpful to us who is running with the VOIP telephony. So that when I get a call and reply , different program would sense the status being configured for the phone adapter to 'connected', and issue a command, or let's say a batch file (that can fire so many commands), that changes the the upload speed for µTorrent. That method, we can make sure that the call will get fine sound quality.

    I have a router with better QoS functionality which is built in, so a better fix then is to cap the machine running any P2P applications. It can also be finished with some bandwidth limiting/traffic shaping software on the machine running the P2P application but they tend to be quite unstable for me. I would rather get that I can just issue a command line option...

  2. #2
    Join Date
    Jan 2008
    Posts
    3,388

    Re: set dl/ul speed from commandline

    Yes, that would be the better idea according to me and I have one more idea also in this series : A hotkey allocated to "scheduler on", and an on more to "scheduler off".

    I need to create a program, which can be able to ping my neighbour (shared adsl with that user) and if his machine is turned on , then limit my connection. using such command line options or the hotkeys, I can complete this program.

  3. #3
    Join Date
    Apr 2010
    Posts
    90

    Re: set dl/ul speed from commandline

    This can be done in different way with the help of powerful script language and you know I have fixed my issues in the same way with the help of VBscript with the sendkeys command. So the script manages µTorrent via the GUI. There is no any requirement for command line options or hotkeys in this situation . If this can be performed in the GUI, then you can perform it through the suggested script for you. According to me, this will be very useful for you also !

  4. #4
    Join Date
    May 2008
    Posts
    4,085

    Re: set dl/ul speed from commandline

    I also have some idea about the same and may be very helpful for you to get the prior information . It will configure the upload to 500 kB/s:

    Code:
    Dim objectShell
    Set objectShell = CreateObject("WScript.Shell")
    objectShell.Run Chr(34) & "C:\Program Files\utorrent.exe" & Chr(34),,False
    
    WScript.Sleep 1000
    
    objectShell.AppActivate "µTorrent 1.5"
    
    WScript.Sleep 5
    
    objectShell.SendKeys "%{o}"
    WScript.Sleep 5
    objectShell.SendKeys "{ENTER}"
    WScript.Sleep 5
    
    objectShell.SendKeys "+{TAB}"
    WScript.Sleep 5
    objectShell.SendKeys "+{TAB}"
    WScript.Sleep 5
    objectShell.SendKeys "+{TAB}"
    WScript.Sleep 5
    objectShell.SendKeys "{DOWN}{DOWN}{DOWN}"
    WScript.Sleep 5
    
    objectShell.SendKeys "{TAB}"
    WScript.Sleep 5
    objectShell.SendKeys "{TAB}"
    WScript.Sleep 5
    objectShell.SendKeys "{TAB}"
    WScript.Sleep 5
    objectShell.SendKeys "{TAB}"
    WScript.Sleep 5
    objectShell.SendKeys "{TAB}"
    WScript.Sleep 5
    objectShell.SendKeys "{TAB}"
    WScript.Sleep 5
    objectShell.SendKeys "{TAB}"
    WScript.Sleep 5
    objectShell.SendKeys "{TAB}"
    WScript.Sleep 5

  5. #5
    Join Date
    Jan 2008
    Posts
    3,388

    Re: set dl/ul speed from commandline

    Thanks for the suggested code above, but I am sure that only a little c++. I would go to convert this into c. I fixed my issue with macro express and a tiny c++ application. The c application, "press" a hot-key and then after the rest is committed by the macro. Configures the limits with mouse movements and the keypresses, in the GUI. But this would be fine , if we can manage uTorrent just as the winamp does. With SendMessage.

Similar Threads

  1. Replies: 6
    Last Post: 29-05-2012, 02:14 PM
  2. e960 sim card based wifi router with high speed 72mbps speed
    By leoxsys11 in forum India BroadBand
    Replies: 1
    Last Post: 23-05-2011, 12:52 AM
  3. Replies: 2
    Last Post: 26-01-2010, 07:50 PM
  4. Need some FFMPEG commandline reference
    By Relish in forum Windows Software
    Replies: 4
    Last Post: 21-01-2010, 05:37 AM
  5. Adding a printer/port Commandline - Auto installing printers/portd
    By Fiji Smithy in forum Windows XP Support
    Replies: 5
    Last Post: 31-01-2006, 12:07 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,495,416.02055 seconds with 16 queries