• 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: Finder scripting bugs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder scripting bugs


  • Subject: Re: Finder scripting bugs
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 16 Jun 2010 17:52:10 -0400

Oh, come on.  If you're going to generate comic-book curses you pretty
much have to use Perl; that way the code itself looks like more
cursing! :)

do shell script "perl -le '@c=split//,\"#\\$%&!*\";print map{$c[int
rand @c]}1..1000'"


On Wed, Jun 16, 2010 at 3:46 PM, Luther Fuller <email@hidden> wrote:
> On March 29, 2010, Subject: Finder scripting bugs, Bill Cheeseman reported
> ...
>
> Yep, bug # 7193940 is still marked as "Open."
>
> I seems that the bug is still there in 10.6.4.
> Rather than waste space with a pointless rant, I submit this handler ...
> on rantGenerator()
> set theAlphabet to characters of "#$%&!* "
> set rantText to ""
> set alphabetSize to (count items of theAlphabet)
> repeat 1000 times
> random number from 1 to alphabetSize
> (item (the result) of theAlphabet)
> set rantText to (rantText & the result)
> end repeat
> return rantText
> end rantGenerator ---------------------------
> Use it carefully.
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>



--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Finder scripting bugs (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: iPhoto returns a real number as a photo ID
  • Next by Date: The black background in email problem
  • Previous by thread: Re: Finder scripting bugs
  • Next by thread: Re: Finder scripting bugs
  • Index(es):
    • Date
    • Thread