tomvo
-
Posts
7 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by tomvo
-
-
@vitor thanks for the tips, I ended up with this
https://github.com/tomvanoppens/alfredflows/blob/main/Paste to active dir.alfredworkflow
-
-
-
well I was hoping to based on the contenttype of the clipboard dynamically maybe trigger a script like this
Ideally there is a way to have the variables come from alfred
folder=$(pwd)filename="Screen Shot $(date +%Y-%m-%d\ at\ %H.%M.%S).png"if [ $# -ne 0 ]; thenif [[ -d $1 ]]; thenif [ "$1" != "." ]; then folder=$1; fielsea=$(dirname "$1")b=$(basename "$1" .png)if [ "$b" != "" ]; then filename=$b.png; fiif [ "$a" != "." ]; then folder=$a; fififiosascript -e "tell application \"System Events\" to ¬write (the clipboard as «class PNGf») to ¬(make new file at folder \"$folder\" ¬with properties {name:\"$filename\"})" -
I would like to , if I do a paste action in finder and the clipboard contains an image past it as a new image file (or if text as a txt file) directly in the directory
-
I want to create a workflow where there are 3 search parameter inputs.
1 is a word that's present in the file
2 or 3 (optional) a word in the filename
2 or 3 (if starting with a .) (optional) the filetype
so to distinguish between 2 and 3 , the leading . should be used
all parameters are space separated
this is what I made so far, but I'm not sure if I'm on the right track
dynamic file search
in Workflow Help & Questions
Posted
Sometimes I have a file that I know some key content words of, but those might also appear in filetypes that are not relevant at the moment, so I would like to be able to provide the search as much content as I know in order to get the right file