Jump to content

RuslanI

Member
  • Posts

    39
  • Joined

  • Last visited

Everything posted by RuslanI

  1. Hi! I'm a complete noob in regards to Alfred workflows, but I wanted to try and do something to experiment. I have a CLI app that runs a scan on files in a folder and produces a log with the results. The cli app takes one argument - a folder name. What I'm doing now is /.mqi "path/to/folder" > "path/to/the/same/folder/mqi.log" So what I would like to do is navigate to a required folder in Path Finder and invoke Alfred and type `mqi` to both run that CLI app on that folder AND generate a log file in that folder. I looked at several examples and hacked this: on alfred_script(q) tell application "Path Finder" set pathList to POSIX path of the target of the front finder window set pathList to quoted form of pathList set command to "/Users/user_name/.cliapps/./MQI " & pathList & " > " & pathList & "/mqi.log" end tell tell application "System Events" -- some versions might identify as "iTerm2" instead of "iTerm" set isRunning to (exists (processes where name is "iTerm")) or (exists (processes where name is "iTerm2")) end tell tell application "iTerm" activate set hasNoWindows to ((count of windows) is 0) if isRunning and hasNoWindows then create window with default profile end if select first window tell the first window if isRunning and hasNoWindows is false then create tab with default profile end if tell current session to write text command end tell end tell end alfred_script It works but of course the ideal solution would be to run the task in the background without even opening the terminal. Are there any pointers how I could proceed with this?
  2. Hi, I have read a lot of similar threads, but I have not been able to find a solution. So as the title says, Alfred is not in automation settings and I guess that is the reason I can not use the "Lock" system commands, since everything else is set according to the requirements. Alfred is in the "Accessibility" section and is checked. Alfred 4.5.1 [1256] MacOS 11.5.2
  3. Yes, exactly! Right now the Language in Alfred Settings -> Features -> Dictionary is set to Russian, so: Which is what I want. But without changing the Dictionary Language to anything else: So if I want the 'spell hous' to autosuggest 'house' I have to change the Dictionary setting to English. But then the Russian autosuggest stops working.
  4. It looks like your code was not integrated into the original workflow and you are quite ahead in terms of commits. Would you mind creating a separate thread in the forums so you have your own dedicated place for questions and all?
  5. Yes, I have successfully set the keyboard shortcut but I was wondering if I could also change the keyword from `spot_mini` to something different.
  6. Hi! Is there a way to have spell keyword work with more than one language? Right now if I set Language in Dictionary section of Alfred settings to default or English then I can misspell the word in English and it will suggest the closest match with proper spelling. If I change the keyboard input to Russian and misspell the word, then it'll tell me "Not Found'. If I set Language in Dictionary section of Alfred settings to Russian, then it will find the closest match to misspelled word in Russian, but will tell me 'Not Found' if I misspell the word in English. So can I have Alfred suggest correct spelling both in English and Russian?
  7. Hi! Is there a way to change the keyword to invoke the workflow? I even have not been able to find out which trigger object starts the workflow))
  8. That's ok. I guess it's time to finally upgrade to v.4. Speaking about the workflow, is it possible to search for a specific process so that I can act upon it? Quite often frozen process is not in the "top" list but I would like to kill it. Never mind, if I enter the process name, it filters the list by that name. That's exactly what I was looking for!
  9. It would not run on Alfred 3. Is Alfred 4 is so much different that workflows are incompatible?
  10. I have exactly the same problem with: error message in the debug panel with WU service. With DS service everything works just fine
  11. I'd like to bump this thread. I have created a custom workflow but it still would not search for hidden files. Is there anything I can do to be able to search for hidden files in a specific folder?
  12. I too have a problem with proper alignment.
  13. Also, if you combine this with BetterTouchTool you can set a quick double tap of a key to launch the search.
  14. I wonder if it is possible for Alfred to somehow integrate with Atlas Recall? https://www.atlas.co/ It would be really cool if I could search my history in Atlas Recall through Alfred. I think it should be possible since it integrates with spotlight.
  15. Great question. I sent a mail to Bartender support, see if they can implement it.
  16. It's somewhat offtopic to this forum, but i'm also totally puzzled by almost complete ignorance of the Roboform in the apple community. As a password manager it is a very solid solution, and there are areas where it is better than 1password. Myself i've been using 1password once i switched to mac and i can see that 1password is lot more "mac-y" but still i can't understand why roboform is not mentioned at least half as much as 1password.
  17. Was this workflow removed? For the life of my i can't find the download link in the OP.
  18. OK, i've got it figured out. I used Karabiner event viewer and indeed it showed that when i pressed CTRL+CMD+F , somehow a return key was triggered. So i scanned the script code more closely and indeed it does simulate return key press. And iTunes mini player was setup to CTRL+CMD+Return. So once i triggered the script while it ran it triggered a return key and it registered while i was still holding CTRL+CMD so hence it activated Alfred's iTunes mini player. So if anybody is having problems with shortcuts behaving strangely, Karabiner's Event Viewer might be a good place to start the investigation.
  19. I've created a macro in Keyboard Maestro to create nested folders in Finder with the following code (Just in case there is something in the code, although i could not see anything) I set it to trigger on CTRL+CMD+F. Now when i trigger this shortcut, a folder gets created as expected but then a focus gets stolen and Alfred iTunes mini player pops out. I searched through every setting in Alfred and i could not find where i have CTRL+CMD+F assigned. But if i disable Alfred then everything works as expected. Is there any way i can troubleshoot this issue?
  20. This is awesome! Thank you. Could it be possible to act on specific dates - like open selected date in the calendar or fantastical apps?
  21. Hi! Thank you for this workflow! I have a couple of questions: 1. When i install this workflow, do i need to install youtube-dl and Python separately in addition to the workflow? 2. And when i use the workflow, when i navigate to youtube page with the video i want to download to i have to manually copy and paste the URL or the workflow should pick it up automatically?
  22. I have somewhat related question. In the light of above mentioned and this: http://www.alfredforum.com/topic/4650-removing-mailapp-when-typing-mail/?hl=%2Bremove+%2Bresults i assume there is no "remove" button to remove irrelevant results from a workflow results display? So irrelevant results might still stay in the workflow output but they will be at the bottom, i.e low priority results?
  23. There is something wrong with the workflow: 1. When i type "rec dow" it would auto expand to "rec Downloads >" as normal but would not display anything. Also, when i try to delete (backspace) the word "Downloads" it would delete character by character unlike other keywords, where it would delete the whole second keyword (like "Now >" or "Applications >") 2. Also another strange thing is if i want to type "rec folders" then as soon as i type "rec folde" then the whole line gets deleted automatically and then symbols "rc" gets input automatically. 3. When i try to run the workflow, osascript process immediately goes to 90% and stays there for a couple of minutes. I really like the workflow so can these problems be eliminated (if they are indeed workflow related)?
×
×
  • Create New...