Jump to content

Recommended Posts

Posted
42 minutes ago, Moonscarlet said:

That's what I mean, since it's different every time, why are you using $CmdLine and not Run() with utorrent path & filepath directly?

The filepath is not the same every time. The browser saves it in a temp folder.

Posted
3 minutes ago, ViciousXUSMC said:

@Steinland

I think your issue is not placing parameter where it needs to be for ShellExecute.

You can/should verify your $CmdLine[1] as part of your script to make sure you get what you expect.

If $CmdLine[0] > 0 Then MsgBox(0, "", $CmdLine[1])

 

$CmdLine[1] works with ShowMessage, MsgBox etc but not in ShellExecute

Posted
33 minutes ago, ViciousXUSMC said:

@Steinland

I think your issue is not placing parameter where it needs to be for ShellExecute.

You can/should verify your $CmdLine[1] as part of your script to make sure you get what you expect.

If $CmdLine[0] > 0 Then MsgBox(0, "", $CmdLine[1])

 

It was't supposed to be bold. I just showed how Firefox executes the .exe with the filename as a parameter.

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
  • Recently Browsing   0 members

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