• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:53
CEST 01:53
KST 08:53
  • 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
TL.net Map Contest #21: Voting7[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 6-12): Four star herO65.0.15 Patch Balance Hotfix (2025-10-8)79Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition325.0.15 Balance Patch Notes (Live version)119
StarCraft 2
General
Revisiting the game after10 years and wow it's bad 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Voting How to Block Australia, Brazil, Singapore Servers The New Patch Killed Mech!
Tourneys
SC4ALL $6,000 Open LAN in Philadelphia Crank Gathers Season 2: SC II Pro Teams LiuLi Cup - September 2025 Tournaments Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
BW General Discussion [Interview] Grrrr... 2024 Question regarding recent ASL Bisu vs Larva game BW caster Sayle Map with fog of war removed for one player?
Tourneys
[ASL20] Semifinal B [ASL20] Semifinal A SC4ALL $1,500 Open Bracket LAN [Megathread] Daily Proleagues
Strategy
Relatively freeroll strategies Current Meta BW - ajfirecracker Strategy & Training Siegecraft - a new perspective
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
[Manga] One Piece Series you have seen recently... Anime Discussion Thread Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Inbreeding: Why Do We Do It…
Peanutsc
From Tilt to Ragequit:The Ps…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1154 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 11h 7m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft316
SpeCial 223
ROOTCatZ 30
StarCraft: Brood War
Britney 5720
Calm 2253
Artosis 579
EffOrt 361
Dota 2
PGG 604
monkeys_forever337
Counter-Strike
fl0m594
Stewie2K319
Super Smash Bros
hungrybox173
Other Games
summit1g8039
Grubby2573
shahzam1008
Day[9].tv414
C9.Mang0220
ViBE168
Maynarde102
fpsfer 3
Organizations
Other Games
gamesdonequick719
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Hupsaiya 47
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV441
League of Legends
• Doublelift5001
Other Games
• imaqtpie1531
• Scarra584
• Day9tv414
Upcoming Events
Wardi Open
11h 7m
CranKy Ducklings
1d 10h
Safe House 2
1d 17h
Sparkling Tuna Cup
2 days
Safe House 2
2 days
Tenacious Turtle Tussle
5 days
The PondCast
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.