Send recent download to dropbox?

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
flybeta
Posts: 2
Joined: Wed Mar 14, 2012 12:52 am

Send recent download to dropbox?

Post by flybeta » Sat May 24, 2014 4:38 am

Currently I have a macro that takes current url copys it and paste it into video to mp3 website then automatically downloads it.
How do I take that download the mp3 then send it to drop box? (I have dropsync on android that syncs it to my music folder.) :mrgreen:

Code: Select all

VERSION BUILD=8810214 RECORDER=FX
SET !VAR1 {{!URLCURRENT}}
TAB OPEN
TAB T=2
URL GOTO=http://www.vidtomp3.com/
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:urlform ATTR=NAME:url CONTENT={{!var1}}
TAG POS=1 TYPE=INPUT:IMAGE FORM=NAME:urlform ATTR=SRC:http://www.vidtomp3.com/imgs/download.gif
TAG POS=1 TYPE=A ATTR=TXT:Click<SP>here<SP>to<SP>get<SP>your<SP>Download<SP>Link
TAG POS=1 TYPE=INPUT:BUTTON ATTR=*
wait seconds=1
TAB CLOSE 
flybeta
Posts: 2
Joined: Wed Mar 14, 2012 12:52 am

Re: Send recent download to dropbox?

Post by flybeta » Mon Jun 09, 2014 2:13 am

Hey everyone, hope maybe that macro was useful for you. I came up with a solution if you are interested you can read article I made on a blog.

http://autovideo2mp3.blogspot.com/
chivracq
Posts: 8409
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Send recent download to dropbox?

Post by chivracq » Mon Jun 09, 2014 10:51 pm

flybeta wrote:Hey everyone, hope maybe that macro was useful for you. I came up with a solution if you are interested you can read article I made on a blog.

http://autovideo2mp3.blogspot.com/
Interesting reading, nice Article, thanks for sharing... I couldn't test it completely as I don't have (yet) a DropBox Account but it looks neat...
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
Posts: 8409
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Send recent download to dropbox?

Post by chivracq » Mon Mar 04, 2019 2:20 pm

Hum..., some "fake" User tried to post some (fake) mini-Thanks..., Post disapproved..., but I checked the original 'Blogpost' Link, which is still working, nearly 5 years later, very good...!, but the Page is now "flooded" with some Videos about "Drug Rehab" and "Cryptocurrency" stuff, and I wouldn't be surprised if that Page disappeared one day..., while the Post about iMacros is indeed still relevant and interesting..., so I am going to quote it here, with hopefully all Links and Captures...

I also made a local 'Saveas Full HTML + Images', in case the Links and Images might disappear also, that I'll try to "clean" and to upload to the Thread, hoping to be able to "squeeze" its Size to below the 256Kb Forum Limit for Attachments... :wink:
http://autovideo2mp3.blogspot.com/
Automatically Convert Youtube Video to MP3 then send it to smart phone.
posted by Flybeta @ 6:28 PM Sunday, June 8, 2014

I would like to show you how you can take your current youtube video and convert it to a mp3 then take that mp3 and sync it to your dropbox account.

Then with DropSync on your android smartphone it takes the Dropbox music and copys it to your music folder.

All of this happens with just one click of a bookmark in your browser.

Things you will need
Firefox + Imacros Plugin
Dropbox software on computer and smartphone.
Drop Sync syncs music folders from dropbox to android music.
Dropit syncs from downloads and copys it to Dropbox. (Search google play store)

Install all of the mentioned software for this to work properly.

Image


Drag Following link to bookmark area in the browser
Convert Video

Embedded Script in the 'Convert Video' Link:
[added by @chivracq, as the 'URL' Forum Tag doesn't seem to like the "javascript:etc..." Syntax...]

Code: Select all

javascript:(function()%20{try{var%20e_m64%20=%20"VkVSU0lPTiUyMEJVSUxEJTNEODgxMDIxNCUyMFJFQ09SREVSJTNERlglMEFTRVQlMjAhVkFSMSUyMCU3QiU3QiFVUkxDVVJSRU5UJTdEJTdEJTBBVEFCJTIwT1BFTiUwQVRBQiUyMFQlM0QyJTBBVVJMJTIwR09UTyUzRGh0dHAlM0ElMkYlMkZ3d3cudmlkdG9tcDMuY29tJTJGJTBBVEFHJTIwUE9TJTNEMSUyMFRZUEUlM0RJTlBVVCUzQVRFWFQlMjBGT1JNJTNETkFNRSUzQXVybGZvcm0lMjBBVFRSJTNETkFNRSUzQXVybCUyMENPTlRFTlQlM0QlN0IlN0IhdmFyMSU3RCU3RCUwQVRBRyUyMFBPUyUzRDElMjBUWVBFJTNESU5QVVQlM0FJTUFHRSUyMEZPUk0lM0ROQU1FJTNBdXJsZm9ybSUyMEFUVFIlM0RTUkMlM0FodHRwJTNBJTJGJTJGd3d3LnZpZHRvbXAzLmNvbSUyRmltZ3MlMkZkb3dubG9hZC5naWYlMEFUQUclMjBQT1MlM0QxJTIwVFlQRSUzREElMjBBVFRSJTNEVFhUJTNBQ2xpY2slM0NTUCUzRWhlcmUlM0NTUCUzRXRvJTNDU1AlM0VnZXQlM0NTUCUzRXlvdXIlM0NTUCUzRURvd25sb2FkJTNDU1AlM0VMaW5rJTBBVEFHJTIwUE9TJTNEMSUyMFRZUEUlM0RJTlBVVCUzQUJVVFRPTiUyMEFUVFIlM0QqJTBBd2FpdCUyMHNlY29uZHMlM0QxJTBBVEFCJTIwQ0xPU0UlMjA=",%20n64%20=%20"dHViZW1wMy5paW0=";if(!/^(?:chrome|https?|file)/.test(location)){alert('iMacros:%20Open%20webpage%20to%20run%20a%20macro.');return;}var%20macro%20=%20{};macro.source%20=%20decodeURIComponent(atob(e_m64));macro.name%20=%20decodeURIComponent(atob(n64));var%20evt%20=%20document.createEvent("CustomEvent");evt.initCustomEvent("iMacrosRunMacro",%20true,%20true,%20macro);window.dispatchEvent(evt);}catch(e){alert('iMacros%20Bookmarklet%20error:%20'+e.toString());}})%20();
Now when your on a youtube video you can click that bookmark and it will launch a converting website and paste the current url in and convert it then download it and close the other website automatically. Ill post the source of the macro as well if your interested in tweaking it.

You will get warning from Imacros that it is fixing to execute macro and you can view source if you want.

That is it basically if you want you can stop there and be happy, but if you wish to get a bit nerdier with me you may continue.

Okay so we need take a look at dropit right click that little box that appeared when you installed dropit
and go to options and set them like this.

Image


We need to make a rule for mp3 so drag an mp3 from your downloads folder to the little dropit icon make a ruleset look similar to this but with your own users\username\downloads

Image


You can see I took the mp3 and I am moving it to my destination folder in my dropbox. Now you can go back to options and click on enable monitor folder. And choose your downloads folder, which will automatically look for any changes. Its important that you set all your options properly otherwise it will try to scan all your files and set associations.

Then on your phone hopefully you install dropsync as well as dropbox just set it up to take the dropbox music and download it to your android music folder.

Hope you enjoyed my tutorial let me know if you have any questions or of converting stops working.
Attachments
Convert Youtube Video to MP3 - Steps [1-3].zip
(69.41 KiB) Downloaded 17 times
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
Post Reply