top_left top_right
bottom_left
Next Event: Unknown | Forum Rules | QGL Website | Event Registration
openFolder AusForums.com
iconwatfolderLineopenFolder LANs
iconwatfolderLineopenFolder QGL
iconwatfolderLineopenFolder QGL Forum
Author
Topic: Script help
TufNuT
I like eel pie
Posts: 3072
Location: Brisbane, Queensland
Hi guys

i need to write a script that will close windows media player, then delete media files in a folder then copy new media files from a server to this computer, then i need it to open a playlist(i know how to open the play list) then maximise WMP (Alt+enter).

im not really sure how to do this..i know how to copy and delete files using a vb script but how do i get it to do the WMP player stuff? and also i need to do this to 17 different IP address is there anyway of doing it all at once or do i just have to do each one individually?

any help would be grate even if it just pointing me to a site that can help, im googleing thisrite now but was hoping someone might be able to help me since so far i havent found much that would help.
system
--
whoop
Posts: 10493
Location: Brisbane, Queensland
http://support.microsoft.com/KB/241422
The Windows Media Player has several command line options:

• /open: Open the file, don't automatically start playing.
• /play: Start playing the file as soon the player is launched.
• /close: Close the player after playback (only works when used with /play).
• /fullscreen: Start the file in full-screen mode.
• /new: Use a new instance of the player.
For example, to play a file and close the player when done:

Mplayer2.exe /play /close C:\Asfroot\Sample.asf


I don't know if that'll help you much.
TufNuT
I like eel pie
Posts: 3073
Location: Brisbane, Queensland
thanks whoop that helps alot
Jim
Posts: 4905
Location: Brisbane, Queensland
I'll be the one to decide whether it helps or not thanks
RABBLERABBLE
Posts: 25
Location: Wynnum, Queensland
ull be the one to decide who has an awesome manly rav4 or not
Jim
Posts: 4907
Location: Brisbane, Queensland
no u
blahnana
Posts: 490
Location: Brisbane, Queensland
Another job for AutoIT. Knowing a little about VBScript should mean that you'll have no problems doing what you want.
system
--
Not a new post since your last visit.
New Post Since your last visit
Back To Forum
Advertise with Us | Privacy Policy | Contact Us
© Copyright 2001-2026 AusGamers Pty Ltd. ACN 093 772 242.
Hosted by Mammoth Networks - Australian VPS Hosting
Web development by Mammoth Media.