Rick Posted October 16, 2005 Posted October 16, 2005 just a thought, but is it poosible for AutoIt to access this feature and "Send To" say a folder or files to this function so as a progress screen and resulting zip is created?? this would be a better option to use instead of a freebie zip program if the user already has XP. any ideas?? Who needs puzzles when we have AutoIt!!
peethebee Posted October 16, 2005 Posted October 16, 2005 (edited) Hi! That's one of the casew AutoIt was made for. You rightclick on the files and press a hotkey. This function has to Send the underlined char of the "Send to" menu entry and move to the "zip comprimined folder". It has to press Enter and use ControlClick or Send("{ENTER}") for navigation through the dialogs. Other idea: look where the respective link in the Folder "SendTo" is referred to. Than call this program with your files as params. Not sure if it works, but you could give it a try. peethebee Edited October 16, 2005 by peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Rick Posted October 18, 2005 Author Posted October 18, 2005 alas still no luck does anyone have any other ideas?? Who needs puzzles when we have AutoIt!!
CrewXp Posted October 18, 2005 Posted October 18, 2005 This works for me: Instructions: 1.) Highlight your multiple files or click on the file you want to zip 2.) Move the Mouse Cursor over any of the selected files 3.) Press F2 HotkeySet("{F2}","Zip") Func Zip() $pos = MouseGetPos() MouseClick("right", $pos[0], $pos[1], 1) Send("n") Send("c") Send("{ENTER}") EndFunc While 1 WEnd
LxP Posted October 18, 2005 Posted October 18, 2005 You can also use the keyboard to display the context menu (which may be somewhat more reliable): HotkeySet("{F2}", "Zip") Func Zip() Send("+{F10}nc{ENTER}") EndFunc While 1 Sleep(0x7FFFFFFF) WEnd
Rick Posted October 18, 2005 Author Posted October 18, 2005 (edited) You can also use the keyboard to display the context menu (which may be somewhat more reliable):HotkeySet("{F2}", "Zip") Func Zip() Send("+{F10}nc{ENTER}") EndFunc While 1 Sleep(0x7FFFFFFF) WEnd A nice idea but i wont be in Explorer, i know the files i want compress, i just want to access the progress dialog while files are being zipped up while still within my own program if XP.for example: if not xp, use hidden zip program and zip up folderif XP, call xp's compression program, zip up, and show progress dialogueif its not possible its ok, tho would be nice.Thanks for any help guys Edited October 19, 2005 by Rick Who needs puzzles when we have AutoIt!!
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