Jump to content

rounak

Member
  • Posts

    57
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by rounak

  1. that would mean, i have to use two separate hotkeys: one for text, other for files
  2. I need to perform actions on selected text and files depending on what is frontmost with the same hotkey. That's how it works in LB (and QS when I last used it). Toggling the Fuzzy matching does work. The fact, that I have to turn off Fuzzy matching for merely actioning a selected file does not make too much sense to me.
  3. I have a custom contact action set on "Phone". (It calls the number via airdroid) Is it possible to add one more which shall be triggered when modifier key is used? (I want to use it to send sms via airdroid)
  4. activate alfred type app name press "action" key select "recent documents"
  5. Workflow: Triggers > hotkey Action > Show Alfred Argument > Selection in OS X Problem: Incorrect selection
  6. ~/devon-think added in search scope but folder "database" contained in ~/devon-think is not shown in Alfred. Reload Aflred cache No change in result. Checked "Include folders in Home" "database" folder and its content appear in search Unchecked "Include folders in Home" results disappear again edit 1: however, there is no change in the behaviour of ~/Libaray/Script Libraries after checking "Include folders in Home"
  7. Preferences > Features > Default Results > Checked AppleScripts Search Scope includes file: ~/Library/Script Libraries/ Script Libraries folder is shown in search but the AppleScript files it contains are not.
  8. Top tip in https://www.alfredapp.com/help/workflows/triggers/hotkey/ Top tip: You can use the same hotkey for multiple actions within a single workflow. For example, you can set a hotkey to perform action A only when your browsers are in focus, while performing a different task when Mail is in focus. This can only be done within a single workflow, not across multiple ones.
  9. I mentioned clearly, in my previous post, in what way it is consistent and in what way it is context-specific. Wrong. LaunchBar does allow actions on .app with the Tab key whereas it show recent files on right arrow key. (Two different keys performing two different actions) Yes. The thread title reads "Navigation" (Alfred>>Preferences>>File Search>>Navigation) Yes.
  10. I am only saying this for .app files (or folder, whatever). It would be context-specific behaviour but result in more productivity. Also, though not consistent with Alfred's behaviour, it would be more consistent with Mac OS behaviour which does not allow "ready" browsing of .app files. This is exactly how it is implemented in LaunchBar. Before calling an idea half-baked, maybe, you could try passing it through a though process which does not have an exit statement on encountering an error. Instead, handle the error and see what advantages comes out of it. Then weigh it against the disadvantages. That would give you a better perspective.
  11. With the Action key. Right arrow is not my action key. I don't know if its the default or not (If it is the default action key, I don't mind using tab for viewing Recent Documents. Its better to have keys do more than the same tasks). In Navigation shortcuts, I have checked left and right arrows for folder navigation.
  12. Currently, .app file behaviour for right and left arrow keys is same as for folder navigation. It would be more useful to see recent documents instead with the right arrow.
  13. Yes, that is the problem I am facing. But it also comes up when I don't start with = in the first place instead of deleting it as in your case. Another issue, I noticed today is I copied a calculator result. Returned back to Aflred after a minute and pasted it, so as to do further calculations. The result had "," included which is good and I know there are settings in Alfred regarding this. However, it is not eligible for calculation anymore, it goes to fall back searches. e.g. =56+45,667 (45667 was what I had copied earlier and then pasted back) I think it would also be better if thousand separators are shown when typing numbers as they are shown in results or when pasting results.
  14. Settings: Unchecked Enable standard calculator Checked Enable advanced calculator 1. Typed =5+5 result shows 10 2. dismissed alfred 3. activated alfred again 4. typed 5+6 (forgot to type =) result shows 10 result must show nothing when = is not pressed. I am not used to looking at the result, when I am typing, thus it is likely that I shall assume the previous answer as the current answer.
  15. Sorry, if it was offending. I only have respect and admiration for you contributions here and gratitude for helping me several times. I mean this: https://www.dropbox.com/s/upnh196glnu5uja/Screen%20Shot%202016-09-09%20at%208.57.04%20AM.png?dl= Regarding: This basically excludes any results from Alfred's built-in searches, leaving you with a list of your own keywords.
  16. "." does show every possible file which has an extension. I don't know if it has to do with my Mac OS setting of show all file name extensions. Or maybe keywords are priortised over filenames in search. I cannot say, because I don't have keywords beginning with ".". I use "@". Harder to type but far fewer unwanted results since my contacts don't have emails saved.
  17. I think you referenced me this page in some other thread: https://github.com/mgax/applescript-json Future readers of this thread must have an answer instead of returning back hopeless. Hence, this post. I was able to do this: tell application "Finder" set json_path to file "json.scpt" of folder of (path to me) end tell set json to load script (json_path as alias) set theCSVfile to (POSIX path of (path to home folder)) & "/Downloads/sample.csv" --remove all quotes from the csv file. set theCSVfile to do shell script "sed 's/\"//g' " & theCSVfile set allParas to every paragraph of theCSVfile set theResult to {} repeat with aPara in allParas set aPara to aPara as text set my_dict_2 to json's createDictWith({{"title", aPara}, {"arg", aPara}}) set end of theResult to json's encode(my_dict_2) end repeat --return theResult do shell script "echo " & quoted form of (theResult as text) & " > ~/Desktop/deleteme__.txt" I put / \ and ' in some strings in my csv file to check if gives the output correctly. Here is the file that needs to be in the same folder as your applescript. Or just paste the code in your applescript. (Posting something on GitHub really complicates simple matters for those like me who don't use it): https://www.dropbox.com/s/yhhniidejzxovus/json.scpt?dl=0 This is my sample csv. Actually, I had just one column in my original csv. I have not modified the above pasted applescript code to demonstrate working with two columns. https://www.dropbox.com/s/9jp7ufzehckalgt/sample.csv?dl=0 Result: https://www.dropbox.com/s/1an5d361eldxxrr/deleteme__.txt?dl=0 PS: code above looks better, when code tags are not used.
  18. Did you install the right version of this workflow? Download now
  19. I don't have the anwer, but if I had your problem, I would start with 1. getting clipboard history text from ~/Library/Application Support/Alfred 3/Databases/clipboard.alfdb 2. If successful with 1 then use script filter so that you can search by typing in Alfred window perform desired action on the selection end if
  20. 1. Search Scope has "Include folders in Home" unchecked 2. ~/GitHub is not included in search scope 3. Typing GitHub does not show the ~/GitHub folder 4. However, .app files located within sub-directories of ~/GitHub do show up in search results when typed text matches the app name. How to prevent them from showing up in Alfred?
  21. http://www.packal.org/workflow/copy-dropbox-link
  22. Since you mention that you use Alfred in conjunction with Keyboard Maestro, I am interested to know an example of what you are unable to do due to lack of the feature you propose. This is merely for my knowledge purpose.
×
×
  • Create New...