• 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: iChat status message scroll
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iChat status message scroll


  • Subject: Re: iChat status message scroll
  • From: LuKreme <email@hidden>
  • Date: Mon, 26 Jul 2004 02:20:28 -0600

On 25 Jul 2004, at 11:58, Gnarlodious wrote:
> Cool! But why does it use 100% of my processor?

Because it repeats without delay.

> Entity Matyas Ferenc Farkas spoke thus:
>
>> -- idea and script: email@hidden
>> set a to every character in ":) ;) :( :/ :O :D :* :P :[ 8) >:O O:) :'(
>> :X :$ "
>> set h to ""
>> set i to 1
>> set c to count every item in a
>> repeat
>> repeat with n from 1 to c
>> repeat with m from 1 to c
>> set h to h & item i of a
>> if (n = 1 or n mod c = 1) and i = (c) then
>> set i to i - (c - 2)
>> else if i = (c) then
>> set i to i - (c - 1)
>> else if m = c then
>> set i to i + 2
>> else
>> set i to i + 1
>> end if
>> end repeat
>> tell application "iChat"
>> delay 0.09
>> set status message to h & ""
>> set h to ""

delay 1 --<-- Try it with that and see if it helps...

>> end tell
>> end repeat
>> set i to 1
>> end repeat
> _______________________________________________
> 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.
>
--
Do not meddle in the affairs of Dragons for you are crunchy and taste
good with ketchup

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: iChat status message scroll (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Getting the default language with AppleScript
  • Next by Date: Re: HELP, shell script & mail results 2 home
  • Previous by thread: Re: iChat status message scroll
  • Next by thread: HELP, shell script & mail results 2 home
  • Index(es):
    • Date
    • Thread