File type not recognized in bad path in AppleScript
Following the instructions @macdrifter , I attempted to create a hotkey in Alfred. I thought I had adjusted the path in the applescript to the file in my Dropbox for my setup, however, when it ran, I received a file type fail -Marked didn't recognize this file type screen.
After correcting the path, the file opened just fine.
Following up per request via Twitter. Thanks again for ALL of the tools you've shared.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 28 Feb, 2012 03:15 AM
Can you show me the path that the AppleScript was sending? And how were you calling Marked? What exactly was the script command?
-Brett
2 Posted by Michael Bishop on 28 Feb, 2012 03:40 AM
I literally copied the script at macdrifter
and changed the path & file name but forgot to capitalize Users (also forgot to make it plural).
Fixing that and it worked fine.
3 Posted by Michael Bishop on 28 Feb, 2012 03:54 AM
Also to be thorough, this was in Alfred, extensions, Applescript and set it to run in background & not be an action.
Support Staff 4 Posted by Brett on 28 Feb, 2012 04:06 AM
Interesting. For me, that does open a blank file (without the error message). I'll have to look into it. Thanks for the report.
-Brett