Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Classic Macs and Mac OS > Little Apple Script Help

Little Apple Script Help
Thread Tools
braveheart
Fresh-Faced Recruit
Join Date: Jun 2000
Location: Houston, TX
Status: Offline
Reply With Quote
Dec 15, 2001, 12:37 AM
 
At my job I use a VERY POORLY written application that uses multipal windows but does not remember their location when the app is launched. I'm using Apple Script to put the windows at the coordinates I want, which makes things much faster

About half the windows I have to open are only available via a menu item. Is there anyway to open a menu item, or use a key command with apple script? The app has no dictionary, so any prewritten calls are out of the question

Thanks for the help if anybody can.
     
gMan
Junior Member
Join Date: Sep 1999
Location: Australia
Status: Offline
Reply With Quote
Dec 19, 2001, 11:46 PM
 
There is a Scripting Addition called "Menu Events" which allows you to select items from menus from a script.

You can get it from http://www.osaxen.com/menu_events.html

- gMan
     
braveheart  (op)
Fresh-Faced Recruit
Join Date: Jun 2000
Location: Houston, TX
Status: Offline
Reply With Quote
Dec 24, 2001, 09:32 PM
 
Thanks for the help. I haven't had the time to post, but it worked perfectly. Sat down with the script for about 10 mins, next thing I know I'm taking serious time out of booting up the app, so I can be more productive

Again, I thank you
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 06:20 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,