| View previous topic :: View next topic |
| Author |
Message |
Levin Guest
|
Posted: Sat May 27, 2006 1:03 pm Post subject: Close Winzip Evaluation version NagBox |
|
|
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
|
Posted: Sat May 27, 2006 1:35 pm Post subject: |
|
|
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 |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6836 Location: France (near Paris)
|
Posted: Sat May 27, 2006 7:11 pm Post subject: |
|
|
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 |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Sat May 27, 2006 8:41 pm Post subject: |
|
|
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. _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2485
|
Posted: Sat May 27, 2006 11:20 pm Post subject: |
|
|
| 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 ? Tools other than WinRAR still exist ... Why? ...  |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Sun May 28, 2006 12:18 am Post subject: |
|
|
| corrupt wrote: | Really ? Tools other than WinRAR still exist ... Why? ...  |
Eeew I hate WinRAR, it's hideous. I prefer zips to rars anyway. _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6836 Location: France (near Paris)
|
Posted: Sun May 28, 2006 9:15 am Post subject: |
|
|
| corrupt wrote: | Really ? Tools other than WinRAR still exist ... Why? ...  | 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! But for my needs, the free tools are more than enough, and their use is fully legal.
@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 |
|
 |
lekremyelsew
Joined: 03 Jan 2006 Posts: 19
|
Posted: Thu Jul 06, 2006 3:06 am Post subject: |
|
|
Hi everybody
I'm just recomending a archive manager called TUGZip. It's free, small, and can read more file types than WinZip  _________________ http://lekremyelsew.googlepages.com/ |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2485
|
Posted: Thu Jul 06, 2006 10:32 pm Post subject: |
|
|
| Titan wrote: | | corrupt wrote: | Really ? Tools other than WinRAR still exist ... Why? ...  |
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 |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2485
|
Posted: Thu Jul 06, 2006 10:35 pm Post subject: |
|
|
| 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  |
Thanks. I'll have a look . TUGZip |
|
| Back to top |
|
 |
d-man
Joined: 08 Jun 2006 Posts: 285
|
Posted: Thu Jul 06, 2006 11:50 pm Post subject: |
|
|
| alzip & zipgenius r both free n really better than winzip |
|
| Back to top |
|
 |
|