AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Close Winzip Evaluation version NagBox

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Levin
Guest





PostPosted: Sat May 27, 2006 1:03 pm    Post subject: Close Winzip Evaluation version NagBox Reply with quote

Hi All:

AHK is a fantastic tool. I have just started off on it and wrote this script.

Purpose: Closes the Evaluation version Nagbox if you include it in your start-up script.


Notes:
Press Win-i to show the tray icon and close the script if the infinite loop works in an unpredicted manner.
You could also adjust the sleep value in the commented out line if the Winzip window is not the active one.

Comments/Improvements/Suggestions welcome.

Thanks,
Levin

Code:

#SingleInstance force
#NoTrayIcon

ContinuousLoop:
Winwait ahk_class #32770
WinGetTitle, activeTitle
WinGetText, activeText, %activeTitle%

Loop parse, activeText, `n`&`:%A_space%
{
   If A_Index = 10
      var_10=%A_LoopField%
}
IfInString, var_10, Archives
{
   Winactivate activeTitle
   ;sleep 500
   Send !v{Enter}!e{Enter}!v
}
Gosub, ContinuousLoop

#i::
Menu, Tray, Icon
return
Back to top
Levin



Joined: 27 May 2006
Posts: 1

PostPosted: Sat May 27, 2006 1:35 pm    Post subject: Reply with quote

A slightly more robust version:

[code]
#SingleInstance force
#NoTrayIcon

ContinuousLoop:
WinWait ahk_class #32770
WinGetTitle, activeTitle
WinGetText, activeText, %activeTitle%

Loop parse, activeText, `n
{
If A_Index = 4
var_4=%A_LoopField%
}
IfInString, var_4, Total Archives Opened
{
Winactivate activeTitle
;sleep 500
Send !v{Enter}!e{Enter}!v
}
Gosub, ContinuousLoop

#i::
Menu, Tray, Icon
return
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6836
Location: France (near Paris)

PostPosted: Sat May 27, 2006 7:11 pm    Post subject: Reply with quote

Instead of using a shareware that you don't want to pay, why not use a freeware which is as powerful as WinZip, but really free?
For example, 7-Zip or IZArc - the latest having an interface close of WinZip.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Sat May 27, 2006 8:41 pm    Post subject: Reply with quote

I recommend ExtractNow. It handles almost every compression format including zip, rar and iso. It's very small (<1mb), works super fast and has a clean minimalistic interface.
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Sat May 27, 2006 11:20 pm    Post subject: Reply with quote

Titan wrote:
I recommend ExtractNow. It handles almost every compression format including zip, rar and iso. It's very small (<1mb), works super fast and has a clean minimalistic interface.

Really Shocked ? Tools other than WinRAR still exist Question Exclamation ... Why? ... Razz Razz
Back to top
View user's profile Send private message Visit poster's website
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Sun May 28, 2006 12:18 am    Post subject: Reply with quote

corrupt wrote:
Really Shocked ? Tools other than WinRAR still exist Question Exclamation ... Why? ... Razz Razz

Eeew I hate WinRAR, it's hideous. I prefer zips to rars anyway.
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PhiLho



Joined: 27 Dec 2005
Posts: 6836
Location: France (near Paris)

PostPosted: Sun May 28, 2006 9:15 am    Post subject: Reply with quote

corrupt wrote:
Really Shocked ? Tools other than WinRAR still exist Question Exclamation ... Why? ... Razz Razz
Because people don't know there is a better, cheaper (free!) alternative? (I saw sharewares to rename files!) Because they prefer brand products to cheaper alternatives? Matter of habit?
Hey, maybe even they are better in some fields! Smile But for my needs, the free tools are more than enough, and their use is fully legal. Wink

@Titan: I took a look, seems interesting, but judging from the page (so partial info), it won't fit my needs. It seems it doesn't support bz2, it doesn't allow to just view a content or extract just one file, nor it allows to compress data. Well, if you just need to quickly extract compressed data, it seems good.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
lekremyelsew



Joined: 03 Jan 2006
Posts: 19

PostPosted: Thu Jul 06, 2006 3:06 am    Post subject: Reply with quote

Hi everybody
I'm just recomending a archive manager called TUGZip. It's free, small, and can read more file types than WinZip Very Happy
_________________
http://lekremyelsew.googlepages.com/
Back to top
View user's profile Send private message Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Thu Jul 06, 2006 10:32 pm    Post subject: Reply with quote

Titan wrote:
corrupt wrote:
Really Shocked ? Tools other than WinRAR still exist Question Exclamation ... Why? ... Razz Razz

Eeew I hate WinRAR, it's hideous. I prefer zips to rars anyway.
In case you weren't aware, WinRAR can read and write .zip format. I rarely use .rar format actually unless I need to split the output into smaller pieces.
Back to top
View user's profile Send private message Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Thu Jul 06, 2006 10:35 pm    Post subject: Reply with quote

lekremyelsew wrote:
Hi everybody
I'm just recomending a archive manager called TUGZip. It's free, small, and can read more file types than WinZip Very Happy

Thanks. I'll have a look Smile . TUGZip
Back to top
View user's profile Send private message Visit poster's website
d-man



Joined: 08 Jun 2006
Posts: 285

PostPosted: Thu Jul 06, 2006 11:50 pm    Post subject: Reply with quote

alzip & zipgenius r both free n really better than winzip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group