Is it possible to drag songs from Windows explorer to Deckadance using the command line? (solved!)

Discussion in 'technology' started by djdarkness, Mar 16, 2016.

  1. djdarkness

    djdarkness Kapellmeister

    Joined:
    Dec 31, 2013
    Messages:
    105
    Likes Received:
    42
    A Good day to all those on the forum. Hopefully this topic is in the right section. If not, feel free to move it wherever you see fit. Being a newb I still have to get used to the forums☺.

    I’m dealing with a slight conundrum at the moment and if there’s a community I have faith in to solve this issue, it’s Audiosex. I am not able to drag and drop songs from explorer to deckadance thanks to my inability to use the mouse due to being blind. I’ve already written a basic script to attempt drag and drop in auto hotkey but am only able to get a song to drag onto deck B. When trying to run the same script with different coordinates to drag a song from explorer to deck a, it unfortunately doesn’t work for some unknown reason.

    My short question, as highlighted in the title is, is it possible to get songs onto the 2 Deckadance decks without having to drag and drop? Maybe a command line switch or some other means?

    Fortunately everything else (at least the basics) is usable via my numark mixtrack pro 2 controller so that’s no issue. I just need to be able to add tracks from windows explorer or explorer++ to the decks.

    Thanks all for your time.
     
  2.  
  3. djdarkness

    djdarkness Kapellmeister

    Joined:
    Dec 31, 2013
    Messages:
    105
    Likes Received:
    42
    After a day of testing and searching around I’ve still not been able to find a solution. Please tell me there’s someone out there who’d be able to create a simple drag and drop type script that I can invoke with a hotkey? Or at least help me see if it’s possible to find a commandline switch or couple for dragging tracks onto decks? Thanks a million Audiosex community.
     
  4. djdarkness

    djdarkness Kapellmeister

    Joined:
    Dec 31, 2013
    Messages:
    105
    Likes Received:
    42
    Alright so finally after weeks of searching, tons of experiments and conversing with a great friend of mine (who is fortunately a top notch coder), the solution has been found. For anyone who’s interested, windows has a feature called mouse keys. This basically allows you to control the mouse curser by using the number pad on your keyboard. The numeric values act as coordinate movers, moving the mouse curser pixel by pixel. Using an array of keyboard shortcuts I am now able to lock the mouse on a selected song and then subsequently drag it across the screen to the Deckadance decks using audio calibration and tonal feedback to drop it in the right place!

    Finally I can DJ like my sited peers! I know that comment sounds strange, but when you have a disability you’re automatically seen as incompetent by most of the world, so being able to do things like the so called “normal” people, really is something that can boost one’s Morell☺.

    In any case, thought I’d just report back as this might help someone else in the future.

    Hope everyone on this forum has a great day or night, depending of course on location.
     
  5. boomoperator

    boomoperator Rock Star

    Joined:
    Oct 16, 2013
    Messages:
    608
    Likes Received:
    344
    Nice job! Could you please share that Mouse keys script for others?
     
  6. djdarkness

    djdarkness Kapellmeister

    Joined:
    Dec 31, 2013
    Messages:
    105
    Likes Received:
    42
    Boomoperator I would, but it would be pointless as it’s specific to my exact setup, screen coordinates and all. Also, mouse keys is native to all versions of windows from xp and above. If you wish to emulate it, simply look up tools such as autoit or auto hotkey and read up on creating drag and drop scripts an those or any other scripting/programming language.
     
  7. boomoperator

    boomoperator Rock Star

    Joined:
    Oct 16, 2013
    Messages:
    608
    Likes Received:
    344
    Alright, will do.
     
Loading...
Loading...