Go Back   The macosxhints Forums > Working with OS X > OS X Developer



 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 07-04-2008, 02:35 AM   #1
J Christopher
MVP
 
Join Date: Apr 2007
Posts: 1,036
AppleScript: Please explain these two commands

I was reading this post, and found the following AppleScript:

Code:
-- Hit the Tab-key
delay 1.0
set timeoutSeconds to 2.0
set uiScript to "keystroke tab"
my doWithTimeout(uiScript, timeoutSeconds)
Could someone please explain:
set timeoutSeconds to 2.0
and
my doWithTimeout(uiScript, timeoutSeconds)
What, exactly, do these commands do?

Thanks.
__________________
"You can shear a sheep many times but skin him only once." –T.A. Preston, Sr.
J Christopher is offline   Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.