Jump to content

RuslanI

Member
  • Posts

    39
  • Joined

  • Last visited

Recent Profile Visitors

945 profile views

RuslanI's Achievements

Member

Member (4/5)

0

Reputation

  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.
×
×
  • Create New...