Jump to content

Recommended Posts

Posted

HOW CAN i write a script that I can right click a file in windows explorer, and say send it to a ftp server.

I can do the ftp bit, but dont know how to do the right click part

Posted (edited)
Posted

got it

this works fine

compile this, put in sendto folder, and all is well

thanks for your help

For $track = 1 To $CMDLINE[0]

MsgBox(1,"Name of file dropped",$CMDLINE[$track],2)

Next

Posted

Hi,

There is an updated version. Good job on fixing it, I completely forgot about Send To....

Hah,

For those wondering, here is the code for adding a program into registry send to.

GLOBAL $PATH = @UserProfileDir & "\SendTo";Don't Change
GLOBAL $INPUT = "D:\My Documents\Reg2Au3.exe"; Full path to program you want.
GLOBAL $NAME = "New Program"
Global $ARGS = ""; Any extra arguments for the file.  Leave as-is for no args.
Global $ICON = ""; Leave as-is to keep icon default.
Global $ICON_N = 0; Icon instance.

Global $HOTKEY = ""; Probably just leave blank
Global $STATE = ""; State to launch program in.
FileCreateShortcut ($INPUT, $PATH & "\" & $NAME, "", $ARGS, "", $ICON, $HOTKEY, $ICON_N, $STATE)

and this is the link for the updated FTP.au3.

http://www.autoitscript.com/forum/index.php?showtopic=78378

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
×
×
  • Create New...