Re: Finder scripting bugs
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