Jump to content

Recommended Posts

Posted

Hi Again.

I have another question.

Is it possible to change the file association a torrent file to PORTABLE Program??

I have installed utorrent to which they are associated with torrent files, I have portable versions of flashget.

is it possible through sript ex:

#include <IE.au3>
#include <GUIConstants.au3>

$oIE = _IECreate()
_IENavigate($oIE, "http://thepiratebay.org")


$YourProgramPath = @ScriptDir ; with trailing backslash !
$YourProgramEXE = "FlashGet.exe" 
$YourExtension =".torrent"

_RegisterExtension ($YourProgramPath, $YourProgramEXE, $YourExtension)


Func _RegisterExtension($ProgramPath, $ProgramName, $FileExtension)

 RegWrite("HKCR\" & $FileExtension,"","REG_SZ", $ProgramName)
 RegWrite("HKCR\" & ProgramName & "\Shell\Run\Command","","REG_SZ", $ProgramPath & $ProgramEXE & ' "%1" %*')
 RegWrite("HKCR\" & ProgramName & "\Shell\Open\Command","","REG_SZ", $ProgramPath & $ProgramEXE & ' "%1" %*')

EndFunc

be directed to flashget torrents and, on exit the script to return to utorent??

Sorry my bad english

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...