• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:45
CEST 17:45
KST 00:45
  • 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
[ASL21] Ro24 Preview Pt2: News Flash9[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy16ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
Weekly Cups (March 23-29): herO takes triple6Aligulac acquired by REPLAYMAN.com/Stego Research8Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool49Weekly Cups (March 9-15): herO, Clem, ByuN win4
StarCraft 2
General
What mix of new & old maps do you want in the next ladder pool? (SC2) Team Liquid Map Contest #22 - Presented by Monster Energy Aligulac acquired by REPLAYMAN.com/Stego Research Weekly Cups (March 23-29): herO takes triple herO wins SC2 All-Star Invitational
Tourneys
RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament StarCraft Evolution League (SC Evo Biweekly) WardiTV Mondays World University TeamLeague (500$+) | Signups Open
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
Mutation # 519 Inner Power The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat
Brood War
General
Gypsy to Korea How Can I Add Timer & APM Count? [ASL21] Ro24 Preview Pt2: News Flash ASL21 General Discussion A cwal.gg Extension - Easily keep track of anyone
Tourneys
[Megathread] Daily Proleagues [ASL21] Ro24 Group E [ASL21] Ro24 Group F Azhi's Colosseum - Foreign KCM
Strategy
Fighting Spirit mining rates What's the deal with APM & what's its true value Simple Questions, Simple Answers
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Starcraft Tabletop Miniature Game General RTS Discussion Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread NASA and the Private Sector Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2382 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
Next event in 2h 16m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .357
LamboSC2 272
ProTech134
trigger 88
BRAT_OK 62
Rex 57
Creator 57
Vindicta 19
StarCraft: Brood War
Britney 40824
Horang2 2404
Shuttle 1077
Mini 724
Soma 326
Soulkey 322
ggaemo 235
scan(afreeca) 136
Last 113
Dewaltoss 89
[ Show more ]
Shinee 65
sorry 65
sSak 33
Movie 29
Sexy 23
Rock 16
Shine 14
GoRush 13
IntoTheRainbow 12
Bale 9
ajuk12(nOOB) 9
Dota 2
Gorgc5142
syndereN571
420jenkins231
monkeys_forever179
League of Legends
Reynor31
Counter-Strike
fl0m3130
pashabiceps1193
Heroes of the Storm
Khaldor388
Liquid`Hasu365
Other Games
B2W.Neo1139
FrodaN940
Beastyqt739
Mew2King73
QueenE68
Organizations
Counter-Strike
PGL22062
StarCraft 2
ComeBackTV 621
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Freeedom7
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Michael_bg 2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2120
Other Games
• Shiphtur115
• tFFMrPink 15
Upcoming Events
Ladder Legends
2h 16m
BSL
3h 16m
RSL Revival
15h 16m
Cure vs Rogue
Maru vs TBD
MaxPax vs TBD
uThermal 2v2 Circuit
22h 16m
BSL
1d 3h
Afreeca Starleague
1d 18h
Wardi Open
1d 18h
Replay Cast
2 days
Sparkling Tuna Cup
2 days
Kung Fu Cup
3 days
[ Show More ]
The PondCast
4 days
Replay Cast
5 days
Replay Cast
6 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

Escore Tournament S2: W1
WardiTV Winter 2026
NationLESS Cup

Ongoing

BSL Season 22
CSL Elite League 2026
ASL Season 21
CSL Season 20: Qualifier 2
StarCraft2 Community Team League 2026 Spring
RSL Revival: Season 4
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026

Upcoming

CSL 2026 SPRING (S20)
IPSL Spring 2026
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
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 © 2026 TLnet. All Rights Reserved.