• 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: Display Dialog Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display Dialog Text


  • Subject: Re: Display Dialog Text
  • From: "Marc K. Myers" <email@hidden>
  • Date: Mon, 17 Nov 2003 18:27:44 -0500

The easiest way to input large amounts of text is to put it in a text file and have your script suck it into a variable using the "read" scripting addition command:

set x to (read file "some:file:path")

This opens the file, reads the data into the variable, and closes the file.

Marc [11/17/03 6:26:57 PM]

Date: Sun, 16 Nov 2003 07:21:34 -0800
Subject: Re: Display Dialog Text
From: Domains4Days <email@hidden>
To: AppleScript Users <email@hidden>

On 11/15/03 10:07 AM, "Christopher Nebel" <email@hidden> wrote:

Prior to AppleScript 1.9.2, "display dialog" only dealt with 255
characters of text. 1.9.2 increases that to be more or less unlimited,
but you still have to deal with screen space limits.


Thanks all for your help.

Currently I am using Jaguar 10.2.8. The script editor says is version 1.9
however I don9t know where to look to see what version of OSX AppleScript
I9m using. Where would I look?

So in prior versions than 1.9.2, aside from reading directly from the
clipboard, is there any other way to input large amounts of text (pages)
into an AppleScript variable?
_______________________________________________
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: Display Dialog Text
  • Next by Date: Re: Getting label from a record (part 1)
  • Previous by thread: Re: Display Dialog Text
  • Next by thread: Re: Display Dialog Text
  • Index(es):
    • Date
    • Thread