Jump to content

AxelPeigne

Member
  • Posts

    15
  • Joined

  • Last visited

Contact Methods

  • Twitter
    https://twitter.com/axel_peigne

AxelPeigne's Achievements

Helping Hand

Helping Hand (3/5)

2

Reputation

  1. Good. Btw, I've put my workflow in Packal : http://www.packal.org/workflow/trash-downloads
  2. You're right, here is a fixed version (sorry, I'm lacking coffee !) : https://www.dropbox.com/s/pgbcews3uqwvrch/Trash%20Downloads%201.4.alfredworkflow?dl=0 It should work as expected
  3. Sorry, it was not the correct workflow. This one does not even delete the files ^^. Here is the good one: https://www.dropbox.com/s/q1k283etzpaj55b/Trash%20Downloads%201.3.alfredworkflow?dl=0
  4. I'm not a big fan of popups so I was trying to find a better way to do that but all my tests were worse than a popup ! So here is a version with a popup : https://www.dropbox.com/s/q1k283etzpaj55b/Trash%20Downloads%201.3.alfredworkflow?dl=0 What do you think ? Thanks again for your feedback
  5. Well, I am curious and love to improve my creations so I quickly developed a new version that should fulfill your request ! Tap "throw" like before and if you want to choose a specific folder, just add a space after that and choose the folder where is located the files to be deleted. The "cmd" shortcut will also work to permanently delete the files if you wish. Please note that this can be pretty dangerous as you could delete all the content of important folders without any warning... Here is a beta version, that I quickly tested : https://www.dropbox.com/s/n88h1ja6dy6mqtw/Trash%20Downloads.alfredworkflow?dl=0
  6. Great ! It is a great idea, I didn't spend time lately on this workflow though so I don't really know if I'll have time to think about that. Anyway, I'll keep you in touch if I create this kind of feature ! Thanks again for your feedback
  7. Hum, I guess the problem is related to the path of your folder. I tested it and here is the correct line of code you'd need to paste if your folder is located in the Downloads folder : set allDownloads to every item of folder "ToBeDeleted" of folder (path to downloads folder as text) And if your folder is not in the Downloads folder (in this example it is located on the Desktop), you could achieve the deletion with that line of code : set allDownloads to every item of folder "ToBeDeleted" of folder "Desktop" of folder "your_username" of folder "Users" of startup disk Is this working for you ?
  8. Thanks ! It is not a feature I thought about, but I guess you could directly change the folder in the script file. The easiest way to achieve this would be to select the workflow in Alfred Preferences and double click on both "Run script" Actions. You could then replace this piece of code (on line 2) (path to downloads folder as text) to the path of the desired folder. I didn't test it, but it should work ! I will think about this and inform you (on this topic) if I do implement this kind of feature. Thanks again for your feedback, Axel
  9. I actually signed up in spotify but I probably made a mistake because I did it again and now it's working perfectly ! Thanks for your time
  10. I just slightly changed the workflow to add notifications when the action is done
  11. Hi there, If you are, like me, downloading lots of files (images, pdf, videos...) to your downloads folder but only use them once and then let them, you are probably quite angry each time you have to clean your Downloads folder ! That' why I've just created the Trash Downloads workflow that will allow you to clean this folder with nothing more than a shortcut ! This workflow is pretty simple : when you execute the action in Alfred, it will move all files in your Downloads folder to the trash. There is no selection of the files it will move, so make sure you have no important file that you want to keep before using this workflow. How to install ? Well, as usual you just click the download button at the end of this topic and then you double-click on the file that have been downloaded. This will import the workflow right in Alfred, and then you can immediately use it to clean your Downloads folder from the .alfredworkflow file that will be useless !! How to use ? This is pretty straightforward, as you would expect you have a keyword that will execute the action. Simply display Alfred and tap "throw", you will then have 2 options: - Press "Enter", this is the basic option that will move all the files in the Downloads folder to the trash. - Press "cmd+Enter", this option will do the same as the first one but will also empty the trash in the same action. Be careful while using this one because it will permanently delete the files contained in the Downloads folder and the files that were in the trash, and this can't be undone ! Direct download link Packal link If you have any question or suggestion, feel free to answer this topic. Cheers, Axel
  12. Yes I already checked that, at first I had only a symbolic link to the folder that was in the workflow folder. So I tried to copy the folder in the spotify folder but this didn't change anything... Thanks for your help anyway !
  13. Hi, This sounds like a very good workflow but I get a problem when making it working... I followed the steps you were mentioning : - create developer account on spotify - uninstall current version of spotify and install a fresh new one - tap "spot_mini" and click on the 2nd output. But when I do that, I have the following on Spotify : I then tried to restart Spotify, to reconnect and even to re-install again, but it is always displaying the same error... Do you know a way to make it work ? Thanks, Axel
  14. Hi there, I'm posting here because I find this workflow very interesting, but I'm using SRWare Iron instead of Chrome. So I modified it to make it work with Iron too, and you can see my workflow on this topic. I also noticed the problem when you have no window opened in Chrome so I changed the script in my workflow to solve this problem. I invite you, Subject22, to use my modified script to solve this problem in your workflow as well if you think it's a better solution . Thanks Axel
  15. Hi, This workflow is barely a clone of this other one which is really good for those who uninstalled Flash from Safari but occasionally need a browser with flash activated to visualize some flash content. However I'm not using Chrome but SRWare Iron (based on Chromium) instead of Chrome so I changed a bit the workflow to make it work on Iron. Btw (non-developer readers could go right to the next paragraph!), I also slightly changed the Applescript that was used by the Chrome workflow, because (correct me if I'm wrong) the script was doing nothing if no window was opened in Chrome. Then, I modified the script to make it open a new window if no one has been opened, or just create a new tab if a window is already there. Of course this modification could be applied to the Chrome workflow, so don't hesitate to copy my script if you believe it is better. And if you think I am making a mistake and I forgot something, please let me know . As with any workflow, you just have few steps to make it work: - download the file (link at the bottom of this post) - double-click the downloaded file - click import on the pop-up that appeared in Alfred - it is imported ! Then, the usage is very straightforward: when you have a webpage that you want to open on Iron, - open Alfred - tap "openiniron" - press Enter - and it's done! You should now see your webpage in a new tab/window in Iron. If you have any suggestion or comment, feel free to answer this topic. Download link Cheers, Axel
×
×
  • Create New...