Sunday, January 21, 2018

#1 2003-04-28 09:53:38 am

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

How can I set my script to disable/enable a button

What I need to do is disable a button while a process is being performed as descibed below.

on clicked theObject
disable button
run function
----- function finnished
enable button

Simple I hope


One mans trash is another mans treasure

Offline

 

#2 2003-04-28 10:02:09 am

T.J. Mahaffey
Administrator
From:: Arkansas, USA
Registered: 2002-11-20
Posts: 238
Website

Re: How can I set my script to disable/enable a button

Try this:

Applescript:

set enabled of button "myButton" of window "myWindow" to false


T.J.
tj@tjmahaffey.com

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)