Results 1 to 4 of 4

Thread: Need help with Macros

  1. #1
    Newbie
    Join Date
    Nov 2000
    Location
    Singapore
    Posts
    19

    Post Need help with Macros

    I am using the car mp3 keyboard plugin and I want to create a macro that copies files from lets say a CD rom (G:\) to my hdd (c:\mp3\) Can anyone here show me how it's done? Also I need to create a macro that shut down winamp...sometimes wanna restart the proggie...seems stupid to keep rebooting...

    Thanks to all for help!
    "Trying is the first step to failure"
    - Homer Simpson

  2. #2
    Low Bitrate
    Join Date
    Sep 2000
    Location
    North Carolina
    Posts
    79

    Post

    Create a text file called "copycd.bat" and put the following text in it:
    copy g:\*.* c:\mp3
    OR
    xcopy g:\*.* c:\mp3 /s (use this one if you have directories you want copied)

    To execute the file or shutdown Winamp, it will depend on what software you are using. I'm not familiar with the keyboard plugin.
    Do you mean keypad?



  3. #3
    Newbie
    Join Date
    Nov 2000
    Location
    Singapore
    Posts
    19

    Post

    I am using blackwinds keypad controller with options for macros. The URL is http://www.eclipse.net/~cevans97/mp3car/

    I will try using a bat file later....thanks!
    "Trying is the first step to failure"
    - Homer Simpson

  4. #4
    Newbie
    Join Date
    Mar 2000
    Location
    Priceton, NJ, USA
    Posts
    52

    Post

    Yes the batch file will work with my plugin simply by using a load in the macro. You may need to put *.* in the open dialog to see it though.

    Anyway more thoughts on it. If you're relying solely on charter LCD for output try using /Y parameter to suppress the confirm overwrite prompt. This way the batch file won't hang up on you waiting for input.

    Example...

    copy g:\*.* c:\mp3 /Y
    OR
    xcopy g:\*.* c:\mp3 /S /Y

    To build an on the fly playlist add this to the end of the batch file...

    dir c:\mp3\*.MP3 /S /O /B > myplaylist.m3u

    Note: that this won't load the list, it only goin to make one (acutally a pls not a true m3u). You'll need to assign a second macro to do this.

    It's funny I've coded that type of thing into the private version of the plugin (the full keyboard one)... I just figured no one would want something like it.

    As for a winamp shut down...

    There's supposed to be a message in the winamp plugin SDK that allows you to exit winamp but I couldn't get it working. My best suggestion is to write a program that sends a WM_Close to winamp. I didn't include this option because most people seem to run winamp as a shell and from that stand point it doesn't seem all that odd just to reboot the system.

    Last thing, my URL is changing real soon. The new one is
    http://blackwind.8k.com/index.html

    Have fun,
    Blackwind


    [This message has been edited by Blackwind (edited 11-12-2000).]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •