On May 06, 2012, at 16:47, Martin Post wrote:
> Now I tried adding Marked as a Preview Helper in BBEdit, but this doesn't 
> work.
> 
> Marked is recognized and added to the list of helpers. I can write and save a 
> MultiMarkdown file and select "Markup" > "Preview in Marked 1.4" in BBEdit, 
> and the Marked app will even launch. But no document is displayed - neither 
> as raw Marked code nor as a rendered HTML document.
______________________________________________________________________

Hey Martin,

Hmm.  I can't make it work either.  If nobody offers a workable fix pretty 
quickly then contact support.

In the meantime here's a Applescript work-around.

--
Best Regards,
Chris

-----------------------------------------------------------------------------
try
  tell application "BBEdit"
    set frontDocFile to file of front document
  end tell
  if frontDocFile is not missing value then
    tell application "Marked"
      open frontDocFile
      activate
    end tell
  end if
on error eMsg number eNum
  set {c, s} to {return, "------------------------------------------"}
  set e to s & c & "Error: " & eMsg & c & s & c & "Error Number: " & eNum & c & 
s
  beep
  display dialog e
end try
-----------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to