Jump to content

juliosecco

Member
  • Posts

    120
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by juliosecco

  1. OK, I in reality was thinking at this thing as a possibility to have a really quick way to store and retrieve some text, without Alfred even knowing what is storing and which format it has. the format and the content would be obviously dependent of the developer The JSON was just an example but it could be simply text formatted as you want. I thinked about JSON because Javascript and PHP can natively parse it.
  2. I think it would be nice and very quick to have an Alfred object to store / retrieve workflow preferences and data from / to JSON thank you! Giulio
  3. OK I understand and agree, thank you so much Andrew! Giulio
  4. could it be possible to have Alfred listening for running applications, and have it showing an alert when active app is closing, such as a large type message before hiding itself? it would maybe be a good way just to alert the user, on the ( rarely ) situations when such thing happens... or maybe I'm simplifying the stuff too much?
  5. I personally tend to write my little scripts directly inside the 'Run Script' object, instead on relaying on some external file maybe this is not a good practice? anyway, I think that with V 3 coming, with free object connection, I will even more put code directly inside the Alfred objects as a fast way to script and test... but it would be nice to have a line number info at the left of the script textfield, like for example BBedit has, just to find errors quickly against messages like 'Error on line 45'... Giulio
  6. Hi Fred, you can do this using File Actions check in Preferences->File Search->Actions with an hotkey from the search results, you can have the file actions list appear, and there's already an 'Open With.." action to open the selected file choosing the application to use. there is also an email action that attaches the file to a new email... If you want an even quicker way to do this, you can create your own workflow, add to it a 'File Action' object with a name ( you can even specify a file type filter), and then link to the File Action another object of kind 'Open File' where you can specify which app will open that file. now the next time you hit the hotkey to show the file actions, you will see also your custom one, allowing you to open very quickly the selected file(s) hope this helps, Giulio
  7. OK, sorry, I missed it... fine, have a good day! Giulio
  8. Hi, can't wait for V 3!!! anyway, just a confirmation: with a Family License bought on december 2015, I shouldn't do anything for the moment, just wait for your upgrade offer at V3 release, correct? thank you and compliments! Giulio
  9. Hi all this is just a praise thread, so maybe boring for some of you, but I think sometimes the creators of such useful things deserve to listen somethin like this... I'm a quite a recent Alfred user, but since discovered it I'm using it every time on my working day, and I wouldn't ever imagine my Mac without ii I was just using it like many of you, enjoying a lot of useful workflows out there... but this month I got a job that justifies this thread the job: having a list of tv series and episodes name, complete the excel with info such as year,nation,producer,director having a list of tv promos cue sheets, containing only CD code and track number from various sources ( doc, excel, text, etc..), fill the excel with track title, composers for the tv series: I have downloaded the text version of imdb database that they provide on their site, and managed to load it some way on a local MySQL database, then I have setup a workflow to search the database and paste the result directly on the excel sheet if found; if not found on imdb and found on other sources like wikipedia, I have setup some workflows to have info such as the director to be pasted as surname(Tab)name, whatever it was on the source ('name surname','surname, name', etc...) another wonderful tool was bbedit for searching and filtering html tables of series episodes... for the cue sheets: having fortunately access to the music tracks database, another workflow that, given a partial CD code lists all the CD of a given music library, then selecting a cd code and adding a track number pastes all the info ( title, composers, duration ) on the excel sheet well considering how huge was the job ( 4500 TV episodes and 2500 prom cue sheets with tracks ), I can say: 1) the job is finished 2) Using Alfred has cut my working time on this job of about 60%, 70%, and I am including the afternoon I spent to setup the various workflows, now ready for the next time. so that's all THANK YOU so much, and keep on! Giulio
  10. Hi Vero, thank you for your kind answer You are right, that's a specific copy - paste problem that is specific for the spreadsheet app. I have seen this simplifying the the tests and trying the simplest thing: Strip clipboard text formatting, the workflow by David Staron that only launches the pbpaste command and sends it to the clipboard. the result is the same, if I copy a formatted cell and use strpaste on another cell, the pasted text is not stripped of its formatting, both in OpenOffice and LibreOffice. quite interesting, and a possible workaround sometimes, if I select a cell and copy a formatted text in LibreOffice and use strpaste on a OpenOffic cell the command works, and the text is stripped, and vice-versa... and also my text adjusting workflow works as expected... thanks again for your answer, Giulio
  11. Hi all, I've prepared a little workflow for a boring job to do. we have to prepare a list of names and surnames from a bunch of different sources(sheets,docs,text files,mails, etc.) the workflow is simple but useful, it has a list keywords entries, and each of them calls a different little php script that takes the text on the clipboard and converts it passing it to a 'Copy to Clipboard' element that pastes it again. I am also attaching Hotkey triggers to the most used functions. so I can copy and convert on the fly I.E. 'John Doe', 'Doe John', 'Doe, John' and other combinations and have it pasted as 'JohnTABDoe', with the TAB I have it pasted on a excel sheet on two columns with name separated by surname. Now I have a problem when the text is copied from a sheet calc in Libre Office or Open Office: if the text inside the cell is SELECTED and then copied, then the paste is handled as usual and it's OK. but if I select simply the cell and copy and then call the script, then all the process seems to be ignored and it's the original cell to be pasted... the text seems to be copied and treated fine, because on other apps is pasted without problems, but inside Office, is like in that case the 'Copy to Clipboard' with automatic paste on front most app is ignored is this normal behaviour, and there's a workaround? Hope the question was clear thanks, Giulio
  12. Hi Beery, look here: http://www.packal.org/workflow/open-clipboard-browser
  13. HI Jorge, I have played a little with this workflow idea, and I have wrapped out some code, I think I could publish this as a working workflow some day... here you have some code to play with: it's in applescript, so you should begin with a script filter, type osascript, with this code: set folderName to POSIX file "/Users/juliomacr/Sites" global elencocartelle set elencocartelle to "" process_folder(folderName) on process_folder(folderNameToProcess) tell application "Finder" set theItems to every folder of folder (folderNameToProcess) repeat with theItem in theItems if the name of theItem contains "{query}" then set elencocartelle to elencocartelle & "<item uid='" & the kind of theItem & "' arg='http://localhost/" & the name of theItem & "'><title>" & the name of theItem & "</title></item>" end if end repeat end tell end process_folder set elencocartelle to "cat << EOB <?xml version='1.0'?> <items> " & elencocartelle & "</items> EOB" do shell script elencocartelle the script accepts the input, searches for the folders matching, and prepares the xml as the alfred output obviously you must change the first row of the scrip to match your 'sites' folder then the selected row ( the alt tag of the xml ) is passed to an 'Open URL' action, that simply contains as url {query}, thats the string passed from the previous script I must work on generalize the sites folder handling, and the local url handling that could not be always http://localhost/folder anyway, that's a start... have a good evening Giulio
  14. Hi Jeorge, the solution I can give you is so a 'dirty' hack that I'm almost shameful telling you. I had a similar need, and didn't have time to look for an apposite script, what I have done is this: added to all the root site folders an unique tag, something like 'rootfolder' in Yosemite you can select multiple folders and set a tag once to all of them, don't know in previous versions in the advanced tab of the file filter, on the fields list, I have added the kMDItemUserTags field, and put in the value rootfolder ( the tag ) now the file filter searches using your search critera, but also check that the items found contains the tag rootfolder, which only the root folders have, so only them are returned don't know if is a solution for you... Giulio
  15. My first workflow, just a a toy to start experimenting. We all do the best to have our files and folders well organized, but the desktop is always full of 'passing-by' files, downloaded from ftp or websites or received by mail, etc. This little workflow 'Highlights' the desktop items with a name matching the input string to help you find them on your big and cluttered screen. Tested only on Yosemite, but it should work fine on Mavericks https://github.com/packal/repository/raw/master/com.bitbazar.desktophighlighter/desktop_highlighter.alfredworkflow Giulio
  16. Hi, you should simply go to the iTunes tab, click on the hot keys field, and hit backspace Bye, Giulio
×
×
  • Create New...