trademaid Posted October 14, 2008 Share Posted October 14, 2008 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 Link to comment Share on other sites More sharing options...
BrettF Posted October 15, 2008 Share Posted October 15, 2008 (edited) Take a look at shell extentions. Let me dig up and example for you. EDIT: Can't Find it... I know its here somewhere. Edited October 15, 2008 by BrettF Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
trademaid Posted October 15, 2008 Author Share Posted October 15, 2008 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 Link to comment Share on other sites More sharing options...
trademaid Posted October 15, 2008 Author Share Posted October 15, 2008 (edited) i now cant get ftp goingthis is a 2005 post, and comment says something about script wont work.http://www.autoitscript.com/forum/index.php?showtopic=12473help Edited October 15, 2008 by trademaid Link to comment Share on other sites More sharing options...
BrettF Posted October 15, 2008 Share Posted October 15, 2008 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 Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now