• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 10:54
CET 16:54
KST 00:54
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced Weekly Cups (Nov 24-30): MaxPax, Clem, herO win SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband
Tourneys
RSL Offline Finals Info - Dec 13 and 14! Sparkling Tuna Cup - Weekly Open Tournament StarCraft Evolution League (SC Evo Biweekly) Sea Duckling Open (Global, Bronze-Diamond) $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
Data analysis on 70 million replays BW General Discussion Foreign Brood War MBCGame Torrents [ASL20] Ask the mapmakers — Drop your questions
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] RO16 Group D - Sunday 21:00 CET [BSL21] RO16 Group A - Saturday 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile ZeroSpace Megathread The Perfect Game
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
JSHOP.CC, NON VBV CC, SPAMMING, RANSOMWARE, BOTNET Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine The Big Programming Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
I decided to write a webnov…
DjKniteX
Physical Exertion During Gam…
TrAiDoS
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1678 users

How to: Never have to save a replay again... - Page 3

Forum Index > SC2 General
Post a Reply
Prev 1 2 3 4 5 Next All
Alsn
Profile Joined February 2008
Sweden995 Posts
Last Edited: 2010-07-31 16:33:53
July 31 2010 16:33 GMT
#41
On July 31 2010 06:24 Ownos wrote:
For anyone having trouble using WinXP the run line on your task should look like this:
D:\WINDOWS\system32\wscript.exe "D:\invisible.vbs" "D:\replays.bat"

Had a bit of trouble thinking I had to run replays.bat as the program haha.

I also changed the time stamp to be more readable:
set modTime=%%e-%%c-%%d-!hour!%%g

Should output 2010-7-30-1200 instead of one big number.

Also does anyone know if the release version still autodeletes? I'm assuming it still does so I set it up just now for release.
Release version still autodeletes which I unfortunately found out the hard way. :/

I'm having some troubles getting the script to work properly, it outputs the time stamp as hour-year-month-day-minutes which seems really odd to me.

Is it because my settings(Swedish, although the windows installation is in English) use a 24 hour clock? If so, how would I tweak the code for it to output correctly?(I'm on winXP if that matters)
Machina improba! Vel mihi ede potum vel mihi redde nummos meos!
Blahman
Profile Joined July 2010
United States40 Posts
July 31 2010 16:47 GMT
#42
Yes as I warned in my post, the date parser needs to be tweaked if you run a non-standard US English locale.

There didn't seem to be much interest so I gave up on rewriting it to account for other locales.

But I'll take another look.
carwashguy
Profile Joined June 2009
United States175 Posts
July 31 2010 17:00 GMT
#43
I was really hoping Starcraft would implement this functionality with 1.0, but now I'm definitely going to set this up.
Rags
Profile Joined July 2010
Sweden11 Posts
July 31 2010 17:20 GMT
#44
I'm getting a wonky error for the invisible.vbs part, the copy bit works excellent though.


Script: C:\spel\StarCraft II\invisible.vbs
Line: 1
Char: 1
Error: Subscript out of range
Code: 800A0009
Source: Microsoft VBScript runtime error


Running on a windows 7 EN US computer, with swedish time if that matters.
Dose anyone have an idea for how to fix it? I dont know VB well enough where to start looking...
goneim
Profile Joined May 2010
China201 Posts
July 31 2010 17:58 GMT
#45
Wow, thats awesome man, thx a lot!
Day[9] Fan Club Member #516
baeracaed
Profile Blog Joined June 2009
United States604 Posts
July 31 2010 18:14 GMT
#46
On August 01 2010 02:20 Rags wrote:
I'm getting a wonky error for the invisible.vbs part, the copy bit works excellent though.

Show nested quote +

Script: C:\spel\StarCraft II\invisible.vbs
Line: 1
Char: 1
Error: Subscript out of range
Code: 800A0009
Source: Microsoft VBScript runtime error


Running on a windows 7 EN US computer, with swedish time if that matters.
Dose anyone have an idea for how to fix it? I dont know VB well enough where to start looking...


I get this too. Works fine though.
(☞゚ヮ゚)☞ Cookies! ☜(゚ヮ゚☜)
Blahman
Profile Joined July 2010
United States40 Posts
July 31 2010 18:23 GMT
#47
On August 01 2010 02:20 Rags wrote:
I'm getting a wonky error for the invisible.vbs part, the copy bit works excellent though.

Show nested quote +

Script: C:\spel\StarCraft II\invisible.vbs
Line: 1
Char: 1
Error: Subscript out of range
Code: 800A0009
Source: Microsoft VBScript runtime error


Running on a windows 7 EN US computer, with swedish time if that matters.
Dose anyone have an idea for how to fix it? I dont know VB well enough where to start looking...


this most likely means that the arguments aren't being specified correctly, check that you have quotes around each of the arguments.
baeracaed
Profile Blog Joined June 2009
United States604 Posts
July 31 2010 18:30 GMT
#48
On August 01 2010 03:23 Blahman wrote:
Show nested quote +
On August 01 2010 02:20 Rags wrote:
I'm getting a wonky error for the invisible.vbs part, the copy bit works excellent though.


Script: C:\spel\StarCraft II\invisible.vbs
Line: 1
Char: 1
Error: Subscript out of range
Code: 800A0009
Source: Microsoft VBScript runtime error


Running on a windows 7 EN US computer, with swedish time if that matters.
Dose anyone have an idea for how to fix it? I dont know VB well enough where to start looking...


this most likely means that the arguments aren't being specified correctly, check that you have quotes around each of the arguments.


I copy-pasted it though.

CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
(☞゚ヮ゚)☞ Cookies! ☜(゚ヮ゚☜)
Blahman
Profile Joined July 2010
United States40 Posts
July 31 2010 18:37 GMT
#49
not there, in your scheduled task, how are you calling wscript?
baeracaed
Profile Blog Joined June 2009
United States604 Posts
July 31 2010 19:33 GMT
#50
Sorry, I'm not following. I followed the direction at the top of page 2 verbatim.
(☞゚ヮ゚)☞ Cookies! ☜(゚ヮ゚☜)
Blahman
Profile Joined July 2010
United States40 Posts
July 31 2010 19:47 GMT
#51
Are you running 7/Vista or XP?

In 7/Vista, you set the program to run (wscript.exe) in the "Program/Script" box and the arguments in the "Arguments (optional)" box.

The first argument is the path to invisible.vbs, surrounded by quotes. The second argument is the path to sc2replays.bat, also surrounded by quotes. E.g.

"c:\path to\invisible.vbs" "c:\path to\sc2replays.bat"

In XP you set the arguments as part of the whole command string in the "Run" box. I have not tried this on XP but I believe the syntax is the same just all in one long string, such as:

wscript.exe "c:\path to\invisible.vbs" "c:\path to\sc2replays.bat"
Alias-SC2
Profile Joined July 2010
United States2 Posts
July 31 2010 21:15 GMT
#52
I was trying to find a program like this, thanks.
Insane Mode is My Forte
baeracaed
Profile Blog Joined June 2009
United States604 Posts
July 31 2010 21:51 GMT
#53
On August 01 2010 04:47 Blahman wrote:
Are you running 7/Vista or XP?

In 7/Vista, you set the program to run (wscript.exe) in the "Program/Script" box and the arguments in the "Arguments (optional)" box.

The first argument is the path to invisible.vbs, surrounded by quotes. The second argument is the path to sc2replays.bat, also surrounded by quotes. E.g.

"c:\path to\invisible.vbs" "c:\path to\sc2replays.bat"

In XP you set the arguments as part of the whole command string in the "Run" box. I have not tried this on XP but I believe the syntax is the same just all in one long string, such as:

wscript.exe "c:\path to\invisible.vbs" "c:\path to\sc2replays.bat"



Wooo, thanks man. Works without a error now.
(☞゚ヮ゚)☞ Cookies! ☜(゚ヮ゚☜)
nam nam
Profile Joined June 2010
Sweden4672 Posts
July 31 2010 22:07 GMT
#54
On July 12 2010 12:20 GreatestThreat wrote:
You could also, you know, just save them each time you finish a game that you thought was worth keeping around. There's a save replay button right in the score screen.

Excellent first post though, I'm sure somebody will find a use for it!


You can forget. When I get into the zone I just keep going on to the next game and it's easy to overlook. If I would save few replays you might have a point but this is defiantly something useful.
Blahman
Profile Joined July 2010
United States40 Posts
Last Edited: 2010-07-31 22:09:57
July 31 2010 22:09 GMT
#55
On August 01 2010 06:51 baeracaed wrote:
Wooo, thanks man. Works without a error now.

Cool good to hear.

In other news I am very close to having a more universal date parser so people using other locales should be able to use this. It's not 100% as there are some very weird exceptions in the hundreds of locales out there, but it should work for the vast majority.
Blahman
Profile Joined July 2010
United States40 Posts
July 31 2010 23:18 GMT
#56
I've updated my original post with the new date parser code -- be sure to grab it and set it up again if you are running a non-US English locale.
MingoDynasty
Profile Joined May 2006
United States43 Posts
August 01 2010 01:38 GMT
#57
Wouldn't Belvedere do the same thing but more efficiently since you don't have Windows running a vb script every 5 minutes?
http://lifehacker.com/341950/belvedere-automates-your-self cleaning-pc
http://www.youtube.com/MingoDynasty
Blahman
Profile Joined July 2010
United States40 Posts
Last Edited: 2010-08-01 05:38:22
August 01 2010 05:36 GMT
#58
On August 01 2010 10:38 MingoDynasty wrote:
Wouldn't Belvedere do the same thing but more efficiently since you don't have Windows running a vb script every 5 minutes?
http://lifehacker.com/341950/belvedere-automates-your-self cleaning-pc


I have never used that program myself so I couldn't say for sure, but it probably uses a similar amount of resources to monitor a folder. In either case it's probably so extremely minimal that it's not worth fretting over. Just use whatever solution works for you.

The other consideration is I doubt that app can do the automatic renaming my script does:
  1. Removes any (1), (2) etc. after the map name.
  2. Adds the date/time modified to the filename so that it is unique and will never overwrite a replay

Unless it has some built-in scripting support which would invariably add some overhead.
Alsn
Profile Joined February 2008
Sweden995 Posts
August 01 2010 05:55 GMT
#59
On August 01 2010 08:18 Blahman wrote:
I've updated my original post with the new date parser code -- be sure to grab it and set it up again if you are running a non-US English locale.
Works like a charm! Thanks a bunch!
Machina improba! Vel mihi ede potum vel mihi redde nummos meos!
QuothTheRaven
Profile Joined December 2008
United States5524 Posts
August 01 2010 06:45 GMT
#60
Thank you so much Blahman! This looks like it probably took you a while to do. I for one appreciate your work and am glad the community has people like you to make the difference whenever BNet 2.0 comes up short.
. . . nevermore
Prev 1 2 3 4 5 Next All
Please log in or register to reply.
Live Events Refresh
SC Evo League
12:30
#17
CaptCanuck356
LiquipediaDiscussion
WardiTV 2025
12:00
Group Stage 1 - Group A
WardiTV1124
ComeBackTV 505
TaKeTV 251
IndyStarCraft 227
Rex124
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
IndyStarCraft 227
LamboSC2 178
Rex 124
BRAT_OK 63
StarCraft: Brood War
Calm 4320
Jaedong 2019
EffOrt 806
Mini 613
Stork 606
Light 562
BeSt 510
GuemChi 392
firebathero 360
Hyuk 345
[ Show more ]
ZerO 292
Rush 174
910 131
Larva 101
sorry 74
Sharp 73
PianO 42
Mong 36
ajuk12(nOOB) 32
Terrorterran 25
soO 22
Rock 21
SilentControl 9
Dota 2
Gorgc5569
qojqva4035
XcaliburYe677
Fuzer 397
420jenkins326
LuMiX1
Counter-Strike
fl0m4385
zeus649
Super Smash Bros
Mew2King105
Heroes of the Storm
Khaldor394
Other Games
B2W.Neo1654
crisheroes462
Hui .282
XaKoH 130
DeMusliM117
KnowMe46
ZerO(Twitch)17
Trikslyr6
Organizations
Other Games
EGCTV1261
StarCraft: Brood War
lovetv 13
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• poizon28 15
• Reevou 9
• Hinosc 2
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3185
• lizZardDota283
League of Legends
• Jankos2628
Upcoming Events
PSISTORM Gaming Misc
1h 1m
Freeedom1
IPSL
1h 6m
Dewalt vs ZZZero
BSL 21
4h 6m
Sziky vs OyAji
Gypsy vs eOnzErG
OSC
6h 6m
Solar vs Creator
ByuN vs Gerald
Percival vs Babymarine
Moja vs Krystianer
EnDerr vs ForJumy
sebesdes vs Nicoract
Sparkling Tuna Cup
18h 6m
WardiTV 2025
20h 6m
OSC
23h 6m
IPSL
1d 1h
Bonyth vs KameZerg
BSL 21
1d 4h
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
1d 17h
[ Show More ]
Wardi Open
1d 20h
StarCraft2.fi
2 days
Monday Night Weeklies
2 days
Replay Cast
2 days
WardiTV 2025
2 days
StarCraft2.fi
3 days
PiGosaur Monday
3 days
StarCraft2.fi
4 days
Tenacious Turtle Tussle
4 days
The PondCast
4 days
WardiTV 2025
4 days
StarCraft2.fi
5 days
WardiTV 2025
5 days
StarCraft2.fi
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2025-12-04
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
Acropolis #4 - TS3
WardiTV 2025
META Madness #9
Light HT
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
RSL Offline Finals
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.