• 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: commands in a string..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: commands in a string..


  • Subject: Re: commands in a string..
  • From: Sander Tekelenburg <email@hidden>
  • Date: Thu, 15 Mar 2001 07:59:10 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 07:00 +0100 UTC, on 15/03/2001, Emmanuel wrote:

> At 4:42 +0100 15/03/01, timmie... wrote:
>> display dialog StupidStringName
>>
>>
>
> You should try:
>
> --------------------------------- not tested
> run script ("display dialog " & StupidStringName)
> ---------------------------------

Brilliant. That works:

(* begin script *)

set StupidStringName to "\"pointless question?\" buttons {\"Cancel\", \"OK\"}
default button 2 default answer \"An answer\""
set moreSillyness to "with icon 1 giving up after 3"

run script ("display dialog" & StupidStringName & moreSillyness)

(* end script *)


Never knew this was possible. Another tool to avoid the 32K limit ;)


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOrBoIOsywKfXgqKdEQJ9ygCfYRpbEt0VhZ+dS/PDRaZPHqdfE28AmwaF
bRPvdiB6oAXr74PKm14FptJd
=ykMh
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <mailto:email@hidden>
Web site at <http://www.euronet.nl/~tekelenb/>

Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"


  • Follow-Ups:
    • Re: commands in a string..
      • From: Emmanuel <email@hidden>
References: 
 >Re: detect launch of file? (From: Jolly Roger <email@hidden>)
 >Re: commands in a string.. (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: commands in a string..
  • Next by Date: RE: Mounting volumes
  • Previous by thread: Re: commands in a string..
  • Next by thread: Re: commands in a string..
  • Index(es):
    • Date
    • Thread