• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:37
CEST 02:37
KST 09:37
  • 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
HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6Code S RO8 Preview: herO, Zoun, Bunny, Classic7
Community News
FEL Cracov 2025 (July 27) - $8000 live event13Esports World Cup 2025 - Final Player Roster12Weekly Cups (June 16-22): Clem strikes back1Weekly Cups (June 9-15): herO doubles on GSL week4Firefly suspended by EWC, replaced by Lancer12
StarCraft 2
General
HomeStory Cup 27 - Info & Preview How does the number of casters affect your enjoyment of esports? The SCII GOAT: A statistical Evaluation Hybrid setting keep reverting. Esports World Cup 2025 - Final Player Roster
Tourneys
HomeStory Cup 27 (June 27-29) SOOPer7s Showmatches 2025 FEL Cracov 2025 (July 27) - $8000 live event $200 Biweekly - StarCraft Evolution League #1 RSL: Revival, a new crowdfunded tournament series
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers [G] Darkgrid Layout
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Unit and Spell Similarities BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion ASL20 Preliminary Maps NaDa's Body
Tourneys
[BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET [Megathread] Daily Proleagues [BSL20] ProLeague LB Final - Saturday 20:00 CET Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine Summer Games Done Quick 2025! US Politics Mega-thread Russo-Ukrainian War Thread Trading/Investing Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
Sports
Formula 1 Discussion NBA General Discussion 2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Customize Sidebar...

Website Feedback

Closed Threads



Active: 612 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 10h 23m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 173
RuFF_SC2 172
Ketroc 69
StarCraft: Brood War
Artosis 851
Zeus 275
Aegong 77
Dota 2
capcasts365
League of Legends
JimRising 439
Counter-Strike
summit1g12468
Stewie2K1256
PGG 55
Super Smash Bros
hungrybox1108
Heroes of the Storm
Khaldor198
Other Games
FrodaN5263
shahzam1145
ViBE264
Maynarde172
Trikslyr48
ProTech45
Organizations
Other Games
gamesdonequick1804
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• davetesta69
• Hupsaiya 64
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki12
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift5501
• Jankos1983
Other Games
• Scarra694
Upcoming Events
Wardi Open
10h 23m
Replay Cast
23h 23m
Replay Cast
1d 9h
WardiTV European League
1d 15h
PiGosaur Monday
1d 23h
The PondCast
2 days
RSL Revival
3 days
WardiTV European League
3 days
RSL Revival
4 days
FEL
4 days
[ Show More ]
Korean StarCraft League
5 days
CranKy Ducklings
5 days
RSL Revival
5 days
FEL
5 days
Sparkling Tuna Cup
6 days
RSL Revival
6 days
FEL
6 days
BSL: ProLeague
6 days
Dewalt vs Bonyth
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 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
FISSURE Playground #1
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.