Changing boxes
Changing boxes
- Subject: Changing boxes
- From: Chris Swain <email@hidden>
- Date: Wed, 17 Nov 2010 22:11:04 +0000
I am in the process of updating an ASS application to ApplescriptObjC, because there are large number of input options I change the display based on the choice from a dropdown menu as shown below.
on switchView(theChosen) -- first we need to put back the last view we took if not lastChosen is "Choose" then
set content view of box lastChosen of window "Boxes" to content view of box "Master" of tab view item "Tools" of tab view "nstab" of window "main" end if -- now we can take the view we want if not theChosen is "Choose" then set content view of box "Master" of tab view item "Tools" of tab view "nstab" of window "main" to content view of box theChosen of window "Boxes" end if -- finally we reset the property lastChosen for the next time through set lastChosen to theChosen
end switchView
How do I convert this to ApplescriptObjC?
Kind Regards,
Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden