• 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: UI scripting - can I create new items?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: UI scripting - can I create new items?
      • From: John W Baxter <email@hidden>
    • Re: UI scripting - can I create new items?
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: Opening a local HTML file in the default browser
  • Next by Date: Re: UI scripting - can I create new items?
  • Previous by thread: UI scripting - can I create new items?
  • Next by thread: Re: UI scripting - can I create new items?
  • Index(es):
    • Date
    • Thread