Jump to content

dfay

Member
  • Content Count

    771
  • Joined

  • Last visited

  • Days Won

    33

Everything posted by dfay

  1. Yeah that works fine. Depending on how you work using open has some other flags that may make it helpful. Notably opening apps in the background or hidden (see and the man page).
  2. The easiest way will be to use the open command in a bash script e.g. to open in Preview open -a "Preview.app" {query}
  3. Yes. Is it a fixed list of files or will it change depending on the search term?
  4. You can do it by checking a bunch of the boxes in Preferences > Features > Default Results. But I don’t recommend it — see
  5. I built all my tools off an early manifestation of smargh's work and never updated it to Skimmer b/c the system I had was working well enough. I don't use the semantic color-coding of notes that's in the Skimmer workflow. The export script is here: https://gist.github.com/derickfay/e357c148c257618548a41389ef87b7ad It relies on having the top three notes created with smargh's script here: https://gist.github.com/fractaledmind/6068092 which I call from an Alfred workflow using keyword sk3 - the script above will call Alfred if it doesn't find it. I just export to clipboard and paste into Ulysses. I don't use the specific page linking functionality though it should be easy enough to turn it back on by editing the script and adding back in the randomize_id function, which you can probably find in smargh's repo above -- I deleted it when I wasn't using it. Let me take a look at grouping by colour. Shouldn't be hard. Update: here's a version that will group by colour: https://gist.github.com/derickfay/25b3de3fb18e0d7fa8ca157e3c0bfeb5
  6. I doubt it -- the remote functionality in iOS Keynote has improved a lot since this was created (I think it may have still been a separate app back then). Actually....I just downloaded this and installed it and it works just fine. The workflow itself appears blank but the .data files are there in the directory and if you go to Preferences > Remote > + > Workflows it's there & you can add it to Remote. Having said that unless you have a compelling reason to use Alfred, I'd recommend using iOS Keynote but I tend to use a lot of presenter notes.
  7. Just FYI the original dev has left academia and hasn't been updating the workflow for a couple years. I've stopped using the scripts here and replaced them with an export script that uses Skim's built-in templating to accomplish much the same thing, in much more parsimonious and less breakable code.
  8. Doesn’t look possible given the current API: https://www.dropbox.com/developers/paper-api-alpha#paper
  9. You may find this helpful: I have successfully migrated everything from TE.
  10. @CJK thanks for your work on this! Looking forward to having a bit of time to work through how you did the Applescript / ObjC integration.
  11. Replace the + with & AS is trying to add numbers ( hence the error message ) rather than concatenating strings.
  12. There are two separate problems here - 1) getting the input from the pedal and 2) controlling the Udemy video. Does the foot pedal send keystrokes? If so, you should be able to capture them in a workflow with a Hotkey trigger. That would then need to call a script to switch to chrome and dispatch the keystroke. Or maybe an open URL with browser set to Chrome depending on how Udemy does it.
  13. I think the underlying problems of performance and differing APIs and capabilities etc. haven't changed. e.g. with Dropbox, finding anything that's synced locally is trivially easy b/c the OS has already done the work of indexing it. Doing a full-text search on files that aren't synced requires a $200/yr. Dropbox Pro subscription and a bunch of API calls.
  14. Why not just keep using Dropbox at the free level?
  15. Yes, details are in the link I posted above.
  16. They're clearly installed by brew. http://osxdaily.com/2018/07/05/where-homebrew-packages-installed-location-mac/ The easiest option is to exclude those directories from Spotlight indexing or from Alfred.
  17. I just want him to answer this question. https://talk.automators.fm/t/sharing-all-the-shortcuts-i-use-activated-from-widgets/3052/2
  18. You'd need to call up Alfred then type the keyword. A snippet trigger aves a keystroke but more importantly it's less of an intrusion into ordinary typing flow (in my experience).
  19. Yes that was written under Alfred 2 I believe...
  20. This is a great idea and not one that’s supported by other text expansion software as far as I know.
  21. I used to use a workflow which had a counter stored in a file. Here'e the AppleScript I used to read/update it. -- get the counter value and increment it set theID to (do shell script "cat ~/Dropbox/texts/nv/_counter.txt") set n to (theID as number) + 1 do shell script ("echo \"" & (n as string) & "\" > ~/Dropbox/texts/nv/_counter.txt") you'd just need to add code to check the date and reset it if it has changed since the last run. I'd personally use Hazel for that but either way you'd test based on the file modification date and if it's before the current date, reset the contents of _counter.txt to 1. Likewise the end of the day task (as Vitor implies) is probably better handled by Hazel. But that could depend on whether the update to the spreadsheet really needs to be done nightly or whether it could be done at the next run, even if that's a day or two later.
×
×
  • Create New...