Re: UI scripting - can I create new items?
Re: UI scripting - can I create new items?
- Subject: Re: UI scripting - can I create new items?
- From: Matthew Stuckwisch <email@hidden>
- Date: Sun, 12 Jan 2003 14:47:23 -0600
El domingo, 12 ener, 2003, a las 13:52 US/Central,
email@hidden escribis:
Eg.
tell app "System Events"
tell process x
make new button at window 1
end
End
I've been trying several ways, but seems it doesn't work...
Right now, that won't even work in AS Studio; the command would be
"make new button at end of buttons of window 1 with properties
{size:{x,y},position:{x,y},title:a,etc:etc}".
Basically, as far as I can tell, what they've done is applied AS Studio
to the entire OS (so I also think people who say Apple used a lot of
resources on this one aren't totally accurate).
The only new items you can make widget wise are menu items, and
columns/rows in a table (by creating a data source, linking it, and
then adding columns and rows. Tim on the AS Studio lists has mentioned
that in forthcoming updates (Panther anyone?) of AS and AS Studio these
should be available.
Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa}(esperNET / GamesNet) | [E-mail]{email@hidden}
_______________________________________________
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.