Results 1 to 7 of 7

Thread: How to combine "strings" ?

  1. #1
    Maximum Bitrate Valheru's Avatar
    Join Date
    Jul 2007
    Location
    Ireland
    Posts
    604

    How to combine "strings" ?

    Is it possible to join two strings in RR using just RR Commands ... I'm trying to create a new filename based on the current songs's name, so if the current song is "c:\music\song1.mp3" and this is stored in the "TRACKPATH" varible, can I append a string onto the end of this variable to give me something like "c:\music\song1.mp3.abc" ...

    thanks ... valheru
    -------------------------------
    The TEKNIK Family ... Teknik 1 & Teknik 2, Teknik T-3, Teknik v4.0, Teknik-X.

  2. #2
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    I think you can do this by combining 2 variable
    "SETVAR;MYSTRING;$TRACKPATH$++= ++$ADDEDSTRING$"

    Then MYSTRING should contain "c:\music\song1.mp3 addedstring"

  3. #3
    Maximum Bitrate Valheru's Avatar
    Join Date
    Jul 2007
    Location
    Ireland
    Posts
    604
    this is the command I'm trying but the file does not contain anything ...

    SETVAR;MYEXT;ABC||SETVAR;MYSTRING;$TRACKPATH$++=++ $MYEXT$||WRITETOFILE;$skinpath$support\rate.txt;$M YSTRING$

    any ideas ?

    basically I want to take the name of the currently playing song and append a "ABC" to the end of it ... thus creating another file based on the name of the current song ?
    -------------------------------
    The TEKNIK Family ... Teknik 1 & Teknik 2, Teknik T-3, Teknik v4.0, Teknik-X.

  4. #4
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    If it is alway ABC then try this. Rename to .exe
    Attached Files Attached Files

  5. #5
    Maximum Bitrate Valheru's Avatar
    Join Date
    Jul 2007
    Location
    Ireland
    Posts
    604
    thanks MGD, yep .. that is exactly what i was trying to do with the strings, but now only if I can get it to work in just RR code, i was really hoping not to have to use a script ... back to the drawingboard for me then ..
    -------------------------------
    The TEKNIK Family ... Teknik 1 & Teknik 2, Teknik T-3, Teknik v4.0, Teknik-X.

  6. #6

  7. #7
    Maximum Bitrate Valheru's Avatar
    Join Date
    Jul 2007
    Location
    Ireland
    Posts
    604
    that worked Enforce .. thanks ... just needed to convert the Labels to Variables using SetVarByCode ...

    thanks guys for your help ...
    -------------------------------
    The TEKNIK Family ... Teknik 1 & Teknik 2, Teknik T-3, Teknik v4.0, Teknik-X.

Similar Threads

  1. using a mixer to combine audio
    By OpeRand in forum Newbie
    Replies: 0
    Last Post: 03-17-2006, 04:34 PM
  2. How to combine Maps??
    By seabeggar69 in forum Map Monkey
    Replies: 0
    Last Post: 10-15-2005, 05:40 PM
  3. off topic- how to combine pictures?
    By organasised in forum Off Topic
    Replies: 3
    Last Post: 03-12-2005, 09:12 PM
  4. can i combine 2 PSU to get more power?
    By jusatry in forum Power Supplies
    Replies: 3
    Last Post: 05-20-2004, 10:09 PM
  5. Replies: 5
    Last Post: 08-30-2002, 12:04 PM

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
  •