Difficulty Opening a Text File in BBEdit
Difficulty Opening a Text File in BBEdit
- Subject: Difficulty Opening a Text File in BBEdit
- From: Sean Mills <email@hidden>
- Date: Tue, 27 Aug 2002 14:16:16 -0400
Hello,
I'm try to copy a log file to the desktop and then view it in BBEdit, but my
Mac keeps trying to open it in SimpleText, which wouldn't be too bad, except
that the log file is larger than 32K.
The actual log file I'm trying to open is an AIM buddy log, and I want to
use a copy because sometimes I need to consult the log while chatting with
my, well, buddy.
set logPath to (path to preferences as string) & "log.txt"
tell application "Finder"
set logCopy to duplicate alias logPath to (path to desktop) replacing
yes
end tell
tell application "BBEdit 6.1"
open logCopy
end tell
Thanks,
Sean Mills
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.