Jump to content

Starting Deluge(Bittorrent) Client


Recommended Posts

Hello Folks,

I am trying to start Deluge(Bit torrent) through AutoIt "Run()" command, but Deluge GUI is not loaded. Although Run command returns the the pid of the process but GUI is never loaded.

Deluge is not like a regular executable, it is called with python script "deluge.cmd".

Can you guys tell me how to execute Deluge with AutoIt?

I am using Deluge version: 0.9.02

$file = "c:\Python25\deluge.cmd"
$pid = Run($file)

if $pid = 0 Then
    MsgBox(0, "Unable to start Deluge")
Else
    MsgBox(0, "Deluge Started.")
EndIf

Regards,

Jinbaba

Link to comment
Share on other sites

umm here try this :

$file = "c:\Python25
$pid = ShellExecute("deluge.cmd", "", $file)

if $pid = 0 Then
    MsgBox(0, "Unable to start Deluge")
Else
    MsgBox(0, "Deluge Started.")
EndIf

Have Questions About GUI (Graphical User Interface) ? Post Them Here :GUI Help And Support ForumHave Questions About General AutoIt ? Post Them Here : General Help And Support ForumNew To AutoIt ? Be Shure To Check Out The FaQ's (Frequently Asked Questions) Or FaQ ยน There You May Find Great Help That Will Guide You True The Wonderful Programming Language AutoItOthere Good Place To Get Some Knolage Of AutoIt Is The Example Script ForumNotice A Bug ? Please Go And Report it At Bug Report Section And Help The Devolepers Of AutoIt Update And Fix The Programming LanguageWant To Thank The People For This Great Forum And Programming Language ? Then DonateWhen You Found The Answer Your Looking For Please Add [Resolved] To The Thread's Name That Will Show Otheres That You Have Found What Your Looking For And They Whount Have To Enter The Thread.

Link to comment
Share on other sites

muttley

$file = "c:\Python25\deluge.cmd"
$pid = ShellExecute($file, "", "c:\Python25\")

if $pid = 0 Then
    MsgBox(0, "Unable to start Deluge")
Else
    MsgBox(0, "Deluge Started.")
EndIf

That trips many people up, the working directory.

Edited by Bert
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...