• 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
Re: applescript-users digest, Vol 3 #1328 - 6 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 3 #1328 - 6 msgs


  • Subject: Re: applescript-users digest, Vol 3 #1328 - 6 msgs
  • From: julifos <email@hidden>
  • Date: Mon, 10 Feb 2003 10:52:55 +0100

>> Try this:
>>
>> set f to "" & (path to desktop) & "junk.html"
>> tell application "Safari" to copy the source of the front document to s
>> set s to s as text
>> open for access file f with write permission
>> write s to file f
>> close access file f
>> tell application "TextEdit"
>> open {alias f}
>> activate
>> end tell
>
> OK this works.. but only if I want to create a file based on the source
> (HTML Source). This does not solve my problem for
> a sound or movie file, etc.

Didn't know that Safari could save anything different than HTML source...

How do you do it by hand?

JJ
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
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.

  • Prev by Date: Re: automatically naming mp3s
  • Next by Date: Re: Testing if another app is running
  • Previous by thread: Re: automatically naming mp3s
  • Next by thread: Finder Search dialog: scriptable?
  • Index(es):
    • Date
    • Thread