• 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: Change Idle Period
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change Idle Period


  • Subject: Re: Change Idle Period
  • From: Andrew Oliver <email@hidden>
  • Date: Thu, 26 Feb 2004 15:27:54 -0800

Sure, use a global

-- BEGIN SCRIPT
global idleInterval

on run
set idleInterval to 10 -- default value
end run

on doSomething()
if somecondition then -- for some reason...
set idleInterval to 600 -- change the idle timer
end if
end doSomething

on idle
doSomething()
return idleInterval
end idle
-- END SCRIPT

Andrew
:)

On 2/26/04 3:12 PM, "Greg Townsend" <email@hidden> wrote:

> Is there any way to force a script to change its idle period from
> outside of the idle handler? Thanks.
>
> Greg
> _______________________________________________
> 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.
_______________________________________________
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: 
 >Change Idle Period (From: Greg Townsend <email@hidden>)

  • Prev by Date: Re: Change Idle Period
  • Next by Date: Odd make folder behaviour
  • Previous by thread: Re: Change Idle Period
  • Next by thread: Odd make folder behaviour
  • Index(es):
    • Date
    • Thread