• 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: theSIMS -- Applescript copy paste from Explorer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: theSIMS -- Applescript copy paste from Explorer


  • Subject: Re: theSIMS -- Applescript copy paste from Explorer
  • From: Applescript User Lewis <email@hidden>
  • Date: Sun, 17 Mar 2002 00:31:59 -0700

At 06:00 +0000 17/03/02, Kai Edwards wrote:
If you want a vanilla method for this, I've cobbled together a routine below
which goes a reasonable way towards grabbing Explorer html code and
converting it to plain(er) text.

This is very nice _IF_ the page is short. Otherwise, there is a stack overflow

set html to html's text items

there.

You can't set a start and end delimiter, can you?

However, for anything under a hundred lines or so it seems to work fine.

At 17:22 +1100 17/03/02, Timothy Bates wrote:
--first select the text you want in IE's front window

tell application "Internet Explorer"
set whatIwanted to do script "document.getSelection()"
end tell

Aye, there's the rub. How do you suggest selecting the text? There isn't, as far as I know, a document.selectall() directive. And if you want a script to run automated you can't have a "select the text on the page" step.


--
___________________________________________________________________________
| applescript@ & "southgaylord.com"| Unix is very user friendly. It's just |
| I frankly do not believe Micro- | picky about who its friends are. |
| soft has the user's interests at | I want a party where all the women wear|
| heart, or even in mind. | new dresses and the men all drink beer.|
---------------------------------------------------------------------------
_______________________________________________
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.

References: 
 >Re: theSIMS -- Applescript copy paste from Explorer (From: Kai Edwards <email@hidden>)

  • Prev by Date: OT: theSIMS
  • Next by Date: Help! Trouble with myself and QuckTime...
  • Previous by thread: Re: theSIMS -- Applescript copy paste from Explorer
  • Next by thread: Re: theSIMS -- Applescript copy paste from Explorer
  • Index(es):
    • Date
    • Thread