-
Posts
8,759 -
Joined
-
Last visited
-
Days Won
522
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Everything posted by deanishe
-
insert "100" followed by TAB-key
deanishe replied to martindoersch's topic in Workflow Help & Questions
You can simulate a tab keypress with AppleScript: tell application "System Events" to key code 48 Not sure how that's faster than hitting TAB yourself. -
Google Maps API is gone. I have a working replacement using the Google Places API, but you need an API key to use that one. Version 2 in the develop branch has working Google Places, but doesn't support many other engines yet, as I still haven't decided on the right data model/JSON format. Install at your own risk.
- 182 replies
-
- duckduckgo
-
(and 5 more)
Tagged with:
-
Is there a way to set the size or style of font in result?
deanishe replied to bazinga's topic in Workflow Help & Questions
That's not possible, I'm afraid. You could make a feature request for it. I think in this case you might have to go with "Indiana Pacers 123 : 109 New York Knicks | final" or pad to a fairly low maximum length. It is possible to precisely align the text yourself, but it isn't simple. -
I guess I phrased that wrong. The .scpt extension is for compiled scripts, .applescript for text files. Otherwise bad things happen.
-
.scpt files are compiled scripts, i.e. they're not text files. If you save an AppleScript as text, you should use the .applescript extension, not .scpt
-
Did you edit the script in Script Editor?
-
Doesn't ⌘⇧4 save screenshots to your desktop? ⌘⇧^4 saves to clipboard. Or have I changed my shortcuts?
-
If you have a question regarding a particular workflow, please post in that workflow's thread. It's the best way to ensure the workflow's author sees your post, and it keeps the forum tidier. It's not even clear which workflow you're talking about.
-
Yeah, I think you've misinterpreted how Alfred's options work based on how other snippet expanders behave. In Alfred, "expand mid-string" doesn't mean when the trigger terminates mid-string (i.e. without a trailing space/tab/line break etc.), but when it starts mid-string. AFAIK, Alfred never waits for a trailing delimiter (e.g. space/tab/line break etc.) before expanding, which is what other snippet expanders do by default (well, at least the ones I'm familiar with), and thus what many people would assume the "expand mid-string" option means.
-
Case Converter (including Title Case) - now working on MacOS 12.3
deanishe replied to dfay's topic in Share your Workflows
-
That's most likely it. You can delete the history from the workflow by entering ssh workflow:deldata. I'll have to have a look and see if I changed the history format. I mean, I know I did, but I thought I'd changed it back again before releasing the workflow…
-
Case Converter (including Title Case) - now working on MacOS 12.3
deanishe replied to dfay's topic in Share your Workflows
In the xml.scpt and xml-paste.scpt files. The simplest thing to do is probably to edit the xmlItem() function so it doesn't add uid to the output. -
Hmm. It looks like there's an entry the workflow doesn't like in one of the files. Could you try turning off the different sources to see if you can track down what the workflow is choking on (/etc/hosts, ~/.ssh/config etc.)?
-
auto keystrokes after url is opened ?
deanishe replied to swiimboy's topic in Workflow Help & Questions
You can simulate the keypresses with an AppleScript and launch that with Alfred. http://apple.stackexchange.com/questions/36943/how-do-i-automate-a-key-press-in-applescript That can be unreliable, as there's no way for the script to know if the keystrokes worked. You'll have to build in delays to give Safari time to load each page before firing the next keystroke. -
You shouldn't need to use sudo. The error is most likely because you used sudo. The temp file is now owned by root, so your user can't overwrite it. Deleting the file manually should do the trick.
-
Time to get passive-aggressive and submit a tutorial on how to convert smart quotes to dumb ones.
-
launching app with custom PATH environment variable
deanishe replied to nonagon's topic in Discussion & Help
Yeah, no. You described it perfectly. But I managed to misunderstand it all the same. My bad. -
launching app with custom PATH environment variable
deanishe replied to nonagon's topic in Discussion & Help
Oh, sorry. I got confused. Alfred uses NSTask to run workflow scripts. Don't know which method it uses to launch applications. -
I think you haven't quite apprehended The Alfred Way. You'll get the best results from Alfred by keeping your default result scope small (to keep searches fast and relevant), and then adding File Filters for specific types of files and/or specific directories. So rather than adding your Calibre library to your default Search Scope (and ePub/mobi filetypes via the Advanced… button), you should create a File Filter pointed at your Calibre library configured to find .epub, .mobi, .pdf etc. files.
-
Case Converter (including Title Case) - now working on MacOS 12.3
deanishe replied to dfay's topic in Share your Workflows
To always have the actions in the same order, you need to edit the workflow so it doesn't give the actions UIDs. The UID is how Alfred identifies actions and remembers what you selected in the past. Without UIDs, results are always shown in the same order they're emitted.