ZIP / UnZip in v10.2
Mike Matthews - Omnis
omnis at lineal.co.uk
Sun Jan 29 22:07:32 UTC 2023
Thanks Werner.
Mike Matthews
Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>
www.lineal.co.uk<http://www.lineal.co.uk/>
www.sqlworks.co.uk<http://www.sqlworks.co/>
On 29 Jan 2023, at 21:52, Werner Dirix <werner at smartsystems.be<mailto:werner at smartsystems.be>> wrote:
Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.
Hello Mike,
I use an ActiveX DLL from Chilkat Software (https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.chilkatsoft.com&c=E,1,qTeBeGaz1ZaDRU4TeOTmPTwmrwhCfbk-CShO7s1Z0uLino4B2-wVqhL_RUUvzV2IdxZIbv_YbxvhsyOgOXVZudwbxBmr_wkoThnpkBP3&typo=1)
It is easy to use in Studio as an automation object.
It can do a lot more than Zip/Unzip but that is the only function I use it for.
HTH,
Werner
-----Oorspronkelijk bericht-----
Van: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com<mailto:omnisdev-en-bounces at lists.omnis-dev.com>> Namens Mike Matthews - Omnis via omnisdev-en
Verzonden: zondag 29 januari 2023 14:13
Aan: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com<mailto:omnisdev-en at lists.omnis-dev.com>>
CC: Mike Matthews - Omnis <omnis at lineal.co.uk<mailto:omnis at lineal.co.uk>>
Onderwerp: ZIP / UnZip in v10.2
Hello All,
We have written AppleScripts to zip and unzip files on OSX, all fine.
For Windows, to unzip, we have used Powershell recently. To Zip on Windows we still use 7Zip.exe which I want to avoid. I suspect we will use Powershell to Zip, as well as unZip, going forward.
Omnis has compress() and uncompress() functions, but you need to know the original file length to uncompress() which is odd, and nasty.
How do others Zip files on Windows currently?
Thanks
Mike Matthews
Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
omnis at lineal.co.uk<mailto:omnis at lineal.co.uk><mailto:mike.matthews at lineal.co.uk>
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.lineal.co.uk&c=E,1,iAY1rqK2Yp6SCsQ--sjdb0nM6uF08emyDygiO9fhyle0jkthrsVU3FslDOSvG70iB_ArTZpltbW1hA7yySjPd10woeX9xB6e5TvD6TtKBWc9Bvnm3zLOAAhQwfO0&typo=1<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.lineal.co.uk%2f&c=E,1,3rpnCGfRAAl8YXpRP_5rvIv9_Ies3PYg-2Pi-cYekXFMwbw8SzBe6t_IIoVTQY4CaxSBdyg3TV2aUThA8Lo5WkC08ZIMakDLBRVR4Z4n5ggfYsRsoj2aAA,,&typo=1>
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.sqlworks.co.uk&c=E,1,5BLJ6rqMtme7mokvQ6BCaCW4MOufHCsB9Iqn2cpbf6bf6A1tH1t6v9Bwmv14Hwnum3hEzgvoGySW8Z8pzIr_uCz_IXNE0JCwyb6gw3iC1S38T3HMBYSY_Q,,&typo=1<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.sqlworks.co%2f&c=E,1,iX0PUJKgTPmeWhdz6LkNsU8mcCE9zTdM_6r8lMbBd6cMzI57wkXj9DEAQ5v0Lwq-Sx3OXLmDyR7ySkUVv6sjAVQhX9N0wtj4kEo6R0VZgW8EOM2l_g,,&typo=1>
_____________________________________________________________
Manage your list subscriptions at https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,AJ0t7siQSDJ8cA3avuEC8jmSB6YF1mz3e_Zj2Zeb-G-gU41PByB_B3U2USwjBTfJjFz6Fyy7_ycpUGX8wl_NYkH66OhUDkHVGjQ1RGYv6g,,&typo=1 Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,Mv9ytETkyzmJhJOwur-10dLreEc1wrrH-yQQMdB5I1KIMknrmgak5RyFHSGETftV7vJkanTKlQz8YZbKcHdH2KbNsNcjsLF-ZEp38OYu&typo=1
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list