On Jul 17, 2012, at 23:04, Bucky Junior wrote:
> Yet another method of creating a new document with a particular 
> markup/language in place is to create simple templates.

______________________________________________________________________

You can also do all kinds of custom set-up via Applescript:

-----------------------------------------------------------------------------
try
  
  tell application "BBEdit"
    set newDoc to make new document
    tell newDoc
      set bounds of its window to {303, 44, 1617, 1196}
      set source language to "Markdown"
    end tell
  end tell
  
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
  set dDlg to display dialog e buttons {"Cancel", "Copy", "OK"} default button 
"OK"
  if button returned of dDlg = "Copy" then
    set the clipboard to e
  end if
end try
-----------------------------------------------------------------------------

--
Best Regards,
Chris

-- 
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