topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday November 11, 2025, 6:27 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 6 7 8 9 10 [11] 12 13 14 15next
251
General Software Discussion / Re: My favorite software! What's yours?
« Last post by wr975 on September 21, 2006, 01:35 AM »
Software I can't live without...

- StrokeIt
- Autohotkey
- SlimBrowser
- Find And Run Robot
252

I wrote a AHK script for myself once + integrated it in 2xplorer. So I just click a button and all archives in the folder get unpacked. Perhaps it's of use for you? It unpacks all archives in a folder in a subfolder (archive-name).

Installation: paste code in notepad, edit the second line pointing to winrar.exe, save as whatever.ahk, install authotkey (autohotkey.com)

Usage: Copy sourcefolder in clipboard and launch the script, or pass the sourcefolder as first parameter. An optional second parameter would be a targetfolder (where to place unpacked files).

Limitation: Some (rare) RAR names makes it to mess up. Didn't figure that out yet.


AHK Code:
Spoiler
#SingleInstance force
winrar = C:\progs\system\winrar\winrar.exe

eins = %1%
zwei = %2%

If 1 =
   Target = %Clipboard%
else
   Target = %1%

IfNotExist,%Target%
   {
   MsgBox,No parameters given:`n`n#1 = Sourcefolder`n#2 = Targetfolder (optional, else it'll unpack in SourceFolder)
   ExitApp
   }


Loop,%target%\*.*
   {
   SplitPath,A_LoopFileFullPath,UnpackFileName,UnpackPath,UnpackExtension,Unpackname

   If UnpackExtension = zip
      {
      StringLen,UnpackLaenge,UnpackName
      UnpackLaengeMinus := UnpackLaenge - 2
      StringMid,UnpackDatei,UnpackName,1,%UnpackLaengeMinus%
      Unpack(A_LoopFileLongPath,UnpackPath,UnpackDatei,eins,zwei)
      Continue
      }

   If UnpackExtension = 001
      {
      Unpack(A_LoopFileLongPath,UnpackPath,UnpackName,eins,zwei)
      Continue
      }

   If UnpackExtension = rar
      {
      If Unpackname contains .part
         {
         StringLen,UnpackLaenge,UnpackName
         if UnpackFileName contains .part1.
            {
            UnpackLaengeMinus := UnpackLaenge - 5
            StringMid,UnpackDatei,UnpackName,1,%UnpackLaengeMinus%
            Unpack(A_LoopFileLongPath,UnpackPath,UnpackDatei,eins,zwei)
            }

         if UnpackFileName contains .part01.
            {
            UnpackLaengeMinus := UnpackLaenge - 6
            StringMid,UnpackDatei,UnpackName,1,%UnpackLaengeMinus%
            Unpack(A_LoopFileLongPath,UnpackPath,UnpackDatei,eins,zwei)
            }

         if UnpackFileName contains .part001.
            {
            UnpackLaengeMinus := UnpackLaenge - 7
            StringMid,UnpackDatei,UnpackName,1,%UnpackLaengeMinus%
            Unpack(A_LoopFileLongPath,UnpackPath,UnpackDatei,eins,zwei)
            }

         if UnpackFileName contains .part0001.
            {
            StringLen,UnpackLaenge,UnpackName
            UnpackLaengeMinus := UnpackLaenge - 8
            StringMid,UnpackDatei,UnpackName,1,%UnpackLaengeMinus%
            Unpack(A_LoopFileLongPath,UnpackPath,UnpackDatei,eins,zwei)
            }
         Continue
         }         
      Unpack(A_LoopFileLongPath,UnpackPath,Unpackname,eins,zwei)
      Continue
      }
   }

ExitApp


Unpack(source,target,name,eins,zwei)
{
if zwei =
      RunWait,%winrar% x -o+ "%source%" "%target%\%name%\"
else
      RunWait,%winrar% x -o+ "%source%" "%zwei%\%name%\"
}

253
Living Room / Re: What slows Windows down? See for yourself....
« Last post by wr975 on September 16, 2006, 05:49 PM »
Shell extension is true, but that's just some few more registry entries to read, not an own process. This can't be measurable. (At least, I think so.)

I've no problems with VMware. Starting a VMware with processes closed, like doube-clicking a vmx file instead of using the script, is of course not the best idea. :D
254
Living Room / Re: What slows Windows down? See for yourself....
« Last post by wr975 on September 16, 2006, 05:31 PM »
I wonder if the test results have much meaning. As an example, I don't get why an installation of WinRar should slow down the boot time of a system. It adds no processes or auto start entry.


Yes I know - I have VMWare workstation installed and a heck of a lot of stuff is running constantly even when you aren't using VMWare at all. Trouble is it is not at all obvious how to disable a lot of it (like networking stuff) without screwing up the installation or the rest of my system. It would be nice if you could just set serices etc. to manual and only start them when you need them. Anyone any ideas?

I rarely need VMware, so I stopped all VMware services + set them to manually and start VMware using following AHK script. I've no idea if I get any performance gain, but I feel better.  ;)

services = Authorization Service,DHCP Service,NAT Service,Virtual Mount Manager Extended

Loop, parse, services, `,
runwait, net start "VMware %A_LoopField%",,hide

runwait,C:\PROGRA~1\VMware\VMWARE~1\vmware.exe

Loop, parse, services, `,
runwait, net stop "VMware %A_LoopField%",,hide

255
Screenshot Captor / Comments on ScreenshotCaptor - Beta Version - 2.12.01 to 2.24.01
« Last post by wr975 on September 16, 2006, 05:37 AM »
I really like the new "Popup Choice" feature. Big thumbs up! :Thmbsup: But if I capture something and select "Save Image As", the program isn't applying any "On Capture - Effects" like 'Add Border To Image'.

Perhaps there can be an option to apply "On Capture - Effects" before the Popup Choice appears?
256
Living Room / Re: How to turn F lock on the keyboard ON by default?
« Last post by wr975 on September 09, 2006, 04:28 AM »
I have a Microsoft keyboard which has a 'F lock' (Function lock) which is OFF by default when the computer is turned on. Unless that key is turned ON, pressing function keys like say F5 doesn't work.

It's not a problem as such, but a minor annoyance.

Is it possible to have this key turned ON by default upon system start?

Quite easy for PS/2 keyboards (lucky me): Just apply a registry patch. For USB keyboards it's a bit tricky.

Visit this site for more information:

http://jtsang.mvps.org/flock.html

257
Official Announcements / Re: THE 2006 DONATIONCODER.COM FUNDRAISER MONTH OF SEPTEMBER
« Last post by wr975 on September 01, 2006, 04:27 AM »
Every donation made in September will be credited back 100% in the form of DonationCredits (instead of the normal 50%).

Why do you call it fundraising if you give the entire money back to the user?  :tellme:
258
Post New Requests Here / Re: IDEA: Random Name Selection
« Last post by wr975 on August 24, 2006, 10:15 AM »
You're welcome. Thanks for the feedback!  :Thmbsup:
259
Post New Requests Here / Re: IDEA: Random Name Selection
« Last post by wr975 on August 21, 2006, 07:57 PM »
Here's a file I made for testing....

Please download the script again.... fixed a serious bug.  :-[
260
General Software Discussion / Re: How do you encode a DVD to a DivX/XVid file?
« Last post by wr975 on August 20, 2006, 06:09 AM »
AFAIK AutoGK is the best one-click solution.

An alternative would be to use GordianKnot and do everything manually. That's what I use. Robot4Rip for preparing, GordianKnot for encoding. See http://www.doom9.org for guides.
261
Post New Requests Here / Re: IDEA: Random Name Selection
« Last post by wr975 on August 20, 2006, 03:15 AM »
Hi, I've given it a try. I hope it's what you want.

The source file needs to be a text file.

PS: The script generates a ...temp file. Don't erase it. It's needed to "remember" the randomly picked lines between sessions.
262
Post New Requests Here / Re: Idea: Batch mp3 bitrate converter
« Last post by wr975 on August 19, 2006, 05:14 AM »
So the other day, I was wanting to convert a bunch of mp3's bitrates, but being that I have a bunch of them, it would take me way to long to convert them one by one, so I was wondering if any one knew of a program, or could make one, that would convert multiple mp3 bitrates.

I'm using AdvaLame Suite (an enhanced RazorLame) to transcode files.

http://mrcadvasoft.b.../avlame_vershist.htm

After installation you can right-click your MP3s and select transcode, or use the GUI. Be sure to select Edit/Transcode Mode *before* dragging MP3s into the GUI. A nice feature: It adds "_transcoded" to the filename, so source/target can be in the same folder + the original file is not lost.

ID3v1 tags will be kept while transcoding, ID3v2 tags will be lost.

263
Living Room / Re: Whats on your desktop?
« Last post by wr975 on August 13, 2006, 03:00 PM »

PowerPro (set to autohide), Rainlendar and usually a lot of icons. I cleaned up my desktop the other day, that's why it looks so tidy...

http://img66.imageshack.us/img66/9871/screenshot13082006215106dn2.jpg


264
General Software Discussion / Re: Program to Monitor Size of Specific Directories?
« Last post by wr975 on August 08, 2006, 10:18 AM »
Here's a quick and dirty AHK script... It was more of a challenge for me to see if I can do it (and learn some functions). :)

No yellow/red desktop messages, but just messageboxes. Perhaps Skrommel or someone else will do something better. The idea sounds quite nice.


  • Download and extract the attachment
  • Download + install Autohotkey, then you can start the script
  • Edit the ini file. Edit the example entries and add as many folders you want. Restart the script if you changed the ini.
  • Edit the ahk file in Notepad to set the timer and change the text messages.


FWIW, here's the code for people who don't want to download the attachment:
Spoiler

;#NoTrayIcon
#SingleInstance force
#Persistent
SetFormat,float,0.0


; ################ Interval to check folders in miliseconds
; ################ (3600000 = 1 hour)

SetTimer,FolderLimit,3600000


FolderLimit:

TextWarning=
TextError=

Loop,9999
{

IniRead,Folder,FolderLimit.ini,settings,Folder%A_Index%
IniRead,SizeLimit,FolderLimit.ini,settings,SizeLimit%A_Index%
IniRead,WarningPercent,FolderLimit.ini,settings,WarningPercent%A_Index%
   
If folder = ERROR
   Break

FolderSize = 0

Loop, %folder%\*.*,1,1
   FolderSize += %A_LoopFileSize%

FolderSizeMB := (FolderSize/1024)/1024

Percent := FoldersizeMB / (SizeLimit / 100)

If Percent >= 100
   TextError=%TextError%%Folder% (%FoldersizeMB% MB of allowed %SizeLimit%)`n

If WarningPercent <= %Percent%
   If Percent < 100
      TextWarning=%TextWarning%%Folder% (%FoldersizeMB% MB of allowed %SizeLimit%)`n
}


; ################ Change message box warnings

If TextWarning <>
   msgbox,262208,Folder size warning!,Following folder(s) are nearing their set size limit.`nPlease consider a backup.`n`n%TextWarning%,240

If TextError <>
   msgbox,262160,Folder size limit reached!,Following folder(s) exceeded their set size limit.`nBACKUP NOW!`n`n%TextError%,240

Return

265
Post New Requests Here / Re: IDEA: zip all main sub-folders at once
« Last post by wr975 on August 06, 2006, 01:26 AM »
So I will manually removed the empty folders before running your great script! ;-)

It's pretty basic. Anyone who reads AHK help could do such script. :)


I didn't do the script so you still had to do manual work. Kinda annoying. Here's a little extra code. Now the script will only archive folders, if there's at least 1 byte. Empty folders won't get archived, so no error message appears.

Replace the last two lines with this code

Loop,%SourcePath%\*.*,2,0
{
FolderSize = 0
Loop, %A_LoopFileFullPath%\*.*, , 1
FolderSize += %A_LoopFileSize%
If FolderSize >0
RunWait,c:\Program Files\WinRar\winrar.exe a -r -ep1 -m5 "%TargetPath%\%A_LoopFileName%.zip" "%A_LoopFileFullPath%\*.*"
}
266
Post New Requests Here / Re: IDEA: zip all main sub-folders at once
« Last post by wr975 on August 05, 2006, 05:26 PM »
7z supported unicode
I experimented a while ago with 7zip command line. It was difficult to configure and didn't support folder names with accents. I wasted hours trying. Then I tried it with Winrar and got it working in 5 minutes. This was the day I bought Winrar. :up:

The only problem that I have with winrar is that even if I click on the background buton, the Diagnostic message window is displayed each time a folder is empty! So I have to click manually on teh "close" buton so your code continue to do its work!

"!   C:\New.zip: No files to add"

I have tried to include "-ed" or "-ilog" after "a" in your code alas without success!

If your folder structure is like...

C:\test\aa\file.txt
C:\test\ab\subfolder\file.txt
c:\test\ac

you'll get two files:
aa.zip, containing "file.txt"
ab.zip, containing "subfolder\file.txt"

since there's nothing in "ac" there's no point creating an archive. The message "No files to add" is just information, so you know why there's no archive. If you'd create an empty subfolder in "ac", you'll get your "ac.zip" file with the one subfolder.

The error appears only if you create .zip files. If you'd create .rar files, it won't appear. I'm not sure if this is a bug or a feature. Who'd try to archive empty folders anyway.  :D

I tried the switch -inul and it works: No more error messages. I'm not sure why it's not working on your side.  :huh:

RunWait,c:\Program Files\WinRar\winrar.exe a -r -ep1 -m0 -inul "%TargetPath%\%A_LoopFileName%.zip" "%A_LoopFileFullPath%\*.*"







[edited by mouser to add some blank space in code block so that it would display better]
267
General Software Discussion / Re: WINRAR free this sunday 30th July 2006
« Last post by wr975 on August 05, 2006, 03:13 PM »
In another board users compared their free registration info and it seems everyone got the same key. So why not share this key?


Edit: removed free key.  :-[

268
Post New Requests Here / Re: IDEA: zip all main sub-folders at once
« Last post by wr975 on August 05, 2006, 11:59 AM »
I've just used PowerArchiver Commandline (PACL) because you wrote, you're using PowerArchiver.  ;)

I had a look at the help file... the main program supports very few parameters and tells to use PACL for more options. However, PACL has at least one bug (does not support accents), so the Autohotkey script won't work with PowerArchiver.

A solution would be using Winrar. It supports a lot of command line parameters. I've tested the script using Winrar and it'll compress empty folders and won't change accents.

If you want to give Winrar a try (the shareware never expires), you just need to change the last line of the script.

RunWait,c:\Program Files\WinRar\WinRar.exe a -r -ep1 -m5 "%TargetPath%\%A_LoopFileName%.zip" "%A_LoopFileFullPath%\*.*"

-m5 = compression ratio (0 to 5). Change it to -m0 for no compression... -m3 standard compression... -m5 max compression

To create RAR files (slower, but no file limit and better compression) change ".zip" to ".rar".
269
Post New Requests Here / Re: IDEA: zip all main sub-folders at once
« Last post by wr975 on August 05, 2006, 06:29 AM »
It's no right-click solution, but works fine without need to count folders or change a macro. Perhaps you'll like it.


See attachment to this post for a compiled exe

or

1. Save the code as "whatever.ahk" script file
2. Download and install Autohotkey (freeware), then you can double click the script


FileSelectFolder,SourcePath,,0,Select Source Folder
If SourcePath =
ExitApp

FileSelectFolder,TargetPath,*%SourcePath%,0,Select Target Folder
If TargetPath =
ExitApp

Loop,%SourcePath%\*.*,2,0
RunWait,c:\PACL\PACOMP.exe -a -r -p "%TargetPath%\%A_LoopFileName%.zip" "%A_LoopFileFullPath%\*.*"

Just for information: PACOMP won't add empty folders (folders without files). So if you test it with empty folders, don't be surprised if it won't work.
270
I don't know if this software has been mentioned in the other thread... Monitors up to twenty folders and displays a message or sends an email.

http://contactplus.c...reestuff/monidir.htm

Ratedby ZDNet! For Windows 9.x/ME/2000/NT. This FREE useful utility can help you to stay abreast of changes (file additions, deletions and changes) that occur in folders on your computer, letting you specify up to 20 directories to monitor, including your network drives. Great for System Administrators!  Your files are monitored in real time.

This File Monitoring software is totally free.  There are not time restrictions, function restrictions or nags.

As any changes occur to the contents of these folders, a popup screen will notify you of the change. The popup screen can also play an audible alarm, such as a WAV file. Email notification is also available to keep you informed of changes on network drives. You can select the time interval, in seconds, for MoniDIR 2000 to use to check the directories. The monitoring program resides in your system tray and becomes active only when the timer starts the program. When active, the file monitoring program will display the files that have been added, deleted, or changed.
271
It's already working... as told, you need to configure the key list in Zoom Player.

Anyway, please use attached key list, then it should work fine.

272
Hi,

I've edited your AHK script a bit and tested it on my system. All keys are working.


The main problem: You sent capital letters to ZP, so ZP did different things than expected. Example: "c" is play/pause, but "C" is Chapter Editor.

Also some key combinations were missing in ZP's key list. You've to configure CTRL+F3/F4 for "Skip 5 seconds backwards/forwards" and SHIFT+F3/F4 for "decrease/increase volume" to make the script work, or change the script to send other keys.

I hope the script works now on your system. FYI: I found no way to send the ALT key to ZP. ZP just ignores it. So, if you want to trigger some ALT+ combination in ZP using the script, you've to change the combination in the key list.

#WinActivateForce
#NoTrayIcon 
#SingleInstance force

; ^ = CTRL
; ! = ALT
; + = SHIFT

; Info: ControlSend can't send ALT to Zoom Player


; Run Zoom Player
^!+z::
Run,c:\Program Files\Zoom Player\zplayer.exe
WinActivate,Zoom Player
return

; Play/pause
^!c::
ControlSend,,c,Zoom Player
return

; Stop
^!v::
ControlSend,,v,Zoom Player
return

;Restart (seek to first frame)
^!x::
ControlSend,,x,Zoom Player
return

;Close
^!q::
winclose,Zoom Player
return

;Open File
^!l::
WinActivate,Zoom Player
ControlSend,,l,Zoom Player
return

;Next in playlist
^!b::
ControlSend,,b,Zoom Player
return

;Previous in playlist
^!z::
ControlSend,,z,Zoom Player
return

;Skip backward 5 secs
^!left::
ControlSend,,^{F3},Zoom Player
return

;Skip forward 5 secs
^!right::
ControlSend,,^{F4},Zoom Player
return

;Volume Down
^!Down::
ControlSend,,+{F3},Zoom Player
return

;Volume Up
^!Up::
ControlSend,,+{F4},Zoom Player
return
273
I'm using Girder to remote control Zoom Player. Zoom Player comes with a Girder configuration, but I prefer my own.

Anyway, doing it in AHK seems to be pretty easy, because of the command "ControlSend". This script example works fine... I just couldn't find shortcuts for next/previous playlist.

; #NoTrayIcon 
#SingleInstance force

; Play/pause
^!c::
ControlSend,,p,Zoom Player
return

; Stop
^!v::
ControlSend,,s,Zoom Player
return

;Restart (seek to first frame)
^!x::
ControlSend,,t,Zoom Player
return

;Close
^!q::
winclose,Zoom Player
return

;Open File
^!l::
ControlSend,,o,Zoom Player
return
274
Mini-Reviews by Members / Re: Keepass Password Safe mini-review
« Last post by wr975 on July 01, 2006, 02:04 PM »
One thing I didn't notice was an automatic "save on quit" feature. Is there one?

Of course... ;)

Options / Advanced / Start and Exit - Automatically save database on exit and workspace locking

275
Living Room / Re: Want a Linksys router for $5 ?
« Last post by wr975 on June 28, 2006, 09:33 AM »
Well, it is interesting, but not for me. :) For now.

BTW, about the $5 router. Just in case anyone wonders about buying it and not using it for Fon:

http://en.fon.com/sh...d=28&language=en

A surcharge of €/$ 45 willll be applied to all routers that are not registered with FON within 30 days of their purchase).


Pages: prev1 ... 6 7 8 9 10 [11] 12 13 14 15next