• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Difficulty Opening a Text File in BBEdit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Difficulty Opening a Text File in BBEdit
      • From: Doug McNutt <email@hidden>
    • Re: Difficulty Opening a Text File in BBEdit
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: OT: Re: New Address Book in Jaguar 10.2...
  • Next by Date: Re: Jaguar, AS 1.9. Coercing alias to string still returns styled text
  • Previous by thread: Re: OT: Re: New Address Book in Jaguar 10.2...
  • Next by thread: Re: Difficulty Opening a Text File in BBEdit
  • Index(es):
    • Date
    • Thread