On Jun 09, 2016, at 15:21, Greg Reyna <[email protected]> wrote:
> Is there a way to learn the creation date of an unsaved, "untitled text" 
> file? I never have reset the numbering so it's up to 191.


Hey Greg,

As has been mentioned a creation date isn't available, however you can get a 
modification date.

----------------------------------------------------------------
tell application "BBEdit"
   tell front text document
      set AppleScript's text item delimiters to " "
      set modDate to {date string, time string} of (get modification date)
      set modDate to modDate as text
   end tell
end tell
----------------------------------------------------------------

# Newly created document
--> "Sunday, December 31, 2000 18:00:00"

# Modified document
--> "Friday, June 10, 2016 05:02:18"

----------------------------------------------------------------

--
Best Regards,
Chris

-- 
This is the BBEdit Talk public discussion group. 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>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to