Sign in to follow this  
Followers 0
Rick

xp Compressed zip folder

6 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by peethebee

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Share this post


Link to post
Share on other sites

alas still no luck

does anyone have any other ideas??


Who needs puzzles when we have AutoIt!!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 folder

if XP, call xp's compression program, zip up, and show progress dialogue

if its not possible its ok, tho would be nice.

Thanks for any help guys

Edited by Rick

Who needs puzzles when we have AutoIt!!

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0