Integration with Scrivener
I have Scrivener 2.2 (Build 15858). I installed the scripts
according to your advise. But nothing works. I used the terminal
and the droplet variant. Maybe you can be more specific how to do
this. Maybe there is an easier way. It is not easy at all!
Can you help?
MacMini:~ bernd$ chmod a+x
/Volumes/Daten/Users/bernd/scripts/scrivwatcher.rb
MacMini:~ bernd$ ~/scripts/scrivwatcher.rb
/Volumes/Daten/Users/bernd/Desktop/markdowntest.scriv
Watching markdowntest:
/Volumes/Daten/Users/bernd/scripts/scrivwatcher.rb:93:in `delete':
No such file or directory -
/Volumes/Daten/Users/bernd/ScrivWatcher/ScrivWatcher -
markdowntest.md (Errno::ENOENT)
from /Volumes/Daten/Users/bernd/scripts/scrivwatcher.rb:93
MacMini:~ bernd$
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 20 Feb, 2012 01:52 PM
It's trying to delete the wrong directory for some reason. I've incorporated Scrivener support directly into Marked for the next version, and I think I've fixed the error you're getting. I'll contact you privately with a beta link and you can help me test it.
-Brett
2 Posted by Lucas Martins on 17 May, 2013 05:09 AM
I replaced line 93 with this:
ruby begin File.delete(sw_note) rescue Exception => e puts "Unable to delete #{sw_note}" end
Cheers,
Lucas.