COM unzip in Windows 7

Get help with using AutoHotkey and its commands and hotkeys
danotto94
Posts: 14
Joined: 11 Aug 2015, 10:32

COM unzip in Windows 7

25 Sep 2015, 12:39

I tried http://www.autohotkey.com/board/topic/6 ... ta7-ahk-l/ and another script. Both produce a new folder with a direct access to My Computer (if that's the correct translation). Any ideas?
User avatar
tank
Posts: 2855
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Irving TX
Contact:

Re: COM unzip in Windows 7

25 Sep 2015, 14:53

Code: Select all

unzip( source, outdir )
	{
	objShell := ComObjCreate( "Shell.Application" )
	objSource := objShell.NameSpace( source ).Items()
	objTarget := objShell.NameSpace( outdir )
    ;~ https://msdn.microsoft.com/en-us/library/windows/desktop/bb787866(v=vs.85).aspx
	intOptions = 256 + 128
	objTarget.CopyHere(objSource, intOptions)
	ObjRelease( objShell )
	}
I dunno what your issue is since you wont tell us
here is a stripepd and dumbed down version
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
Check Out WebWriter
Thanks Tank :thumbup:

Return to “Ask For Help”

Who is online

Users browsing this forum: milkygirl90 and 29 guests