| Author |
Message |
Topic: WMI COM |
bpmb
Replies: 37
Views: 5157
|
Forum: Scripts & Functions Posted: Mon Nov 23, 2009 8:09 pm Subject: WMI COM |
Hi Sean, thanks for WMI_Query!
I was hoping someone can answer this for me..
I wrote a script which (among other things) collects eventlog data from a machine into a HTM page sorted by l ... |
Topic: complex file pattern on loop |
bpmb
Replies: 4
Views: 116
|
Forum: Ask for Help Posted: Wed Nov 18, 2009 8:41 pm Subject: complex file pattern on loop |
| Wow, nice one, changed mine as well! |
Topic: Move files after download - Leaves empty folders |
bpmb
Replies: 4
Views: 214
|
Forum: Ask for Help Posted: Wed Nov 18, 2009 8:38 pm Subject: Move files after download - Leaves empty folders |
I figured it out, sometimes I just need some distraction to clear my head
For anyone looking to do the same here my code, removes folders containing files with a total of less than 100 kB in siz ... |
Topic: complex file pattern on loop |
bpmb
Replies: 4
Views: 116
|
Forum: Ask for Help Posted: Wed Nov 18, 2009 7:49 pm Subject: complex file pattern on loop |
Here's how I do it:
Loop, *.*, , 1
{
if (A_LoopFileExt = "avi" or A_LoopFileExt = "mpg" or A_LoopFileExt = "mkv" or A_LoopFileExt = "mp4" or A_ ... |
Topic: Move files after download - Leaves empty folders |
bpmb
Replies: 4
Views: 214
|
Forum: Ask for Help Posted: Sat Nov 14, 2009 8:39 pm Subject: Move files after download - Leaves empty folders |
Thanks! It made my script a WHOLE lot shorter!
For anyone interested:
SetBatchLines, -1
IniRead, BrowseSource, %A_AppData%\BackupVideo\config.ini, Sourcefolder, key
IniRead, BrowseDest, %A_Ap ... |
Topic: Move files after download - Leaves empty folders |
bpmb
Replies: 4
Views: 214
|
Forum: Ask for Help Posted: Sat Nov 14, 2009 12:15 pm Subject: Move files after download - Leaves empty folders |
| Thanks! I'll give that a try! Anyone any ideas on the FoldeSize? |
Topic: Move files after download - Leaves empty folders |
bpmb
Replies: 4
Views: 214
|
Forum: Ask for Help Posted: Sat Nov 14, 2009 11:20 am Subject: Move files after download - Leaves empty folders |
Hi there!
I have a script running which processes files I download using Newsleecher. Newsleecher downloads the files, AutoUnpack checks them and unpacks them and then my script copies music to the ... |
Topic: Copy Windows Log files |
bpmb
Replies: 1
Views: 76
|
Forum: Ask for Help Posted: Thu Nov 12, 2009 10:23 pm Subject: Copy Windows Log files |
Hi you!
I'm trying to build a little utility which collects system information like hardware, software etc.. This is working fine.. What I'd also like to be able to do is copy all the windows log f ... |
Topic: Multiple inputs from user - too much code |
bpmb
Replies: 7
Views: 208
|
Forum: Ask for Help Posted: Mon Oct 19, 2009 7:53 pm Subject: Multiple inputs from user - too much code |
hi txquestor, thanks for the suggestions!
I know there are a lot of backup utilities already out there but I learned (and am still learning) SO much from writing my own I'd like to continue with my ... |
Topic: Multiple inputs from user - too much code |
bpmb
Replies: 7
Views: 208
|
Forum: Ask for Help Posted: Mon Oct 19, 2009 7:13 pm Subject: Multiple inputs from user - too much code |
Hi there!
I made a script which backups certain folders and it's contents and assigned a nice hotkey to launch it, no problem so far.
However, my friends are now asking me to give them the abili ... |
Topic: Copy Log files - not permitted |
bpmb
Replies: 1
Views: 61
|
Forum: Ask for Help Posted: Thu Oct 08, 2009 7:58 pm Subject: Copy Log files - not permitted |
Hi there!
I'm trying to copy all the Log files in %A_WinDir%\System32\winevt\Logs to a temporary folder which contains additional information about the computer. I can't get this to work, this is t ... |
Topic: if FileExist? |
bpmb
Replies: 10
Views: 252
|
Forum: Ask for Help Posted: Thu Sep 24, 2009 10:27 pm Subject: if FileExist? |
Thanks! Always good to know how it should be used.. I solved it in the meantime by using the code below:
IfExist, %A_AppData%\Folder\config.ini
{
Gui, Add, Text,, Do you want to backup yo ... |
Topic: if FileExist? |
bpmb
Replies: 10
Views: 252
|
Forum: Ask for Help Posted: Wed Sep 23, 2009 10:34 pm Subject: if FileExist? |
| Thanks, I tried you code but it still shows me the second GUI created after ELSE ? I can't see what's going wrong? |
Topic: if FileExist? |
bpmb
Replies: 10
Views: 252
|
Forum: Ask for Help Posted: Wed Sep 23, 2009 10:20 pm Subject: if FileExist? |
| hmmm OK, so it returns an Atrib value.. I now tried using IfExist instead but still can't get it to work..? |
Topic: if FileExist? |
bpmb
Replies: 10
Views: 252
|
Forum: Ask for Help Posted: Wed Sep 23, 2009 10:02 pm Subject: if FileExist? |
Hi there!
I can't get my head around this one, maybe it's my english but I don't seem to be able to understand IF. I tried the following to show a gui depending on whether a file exists:
If File ... |
| |