Getting the Front Application
Getting the Front Application
- Subject: Getting the Front Application
- From: Richard Fairbanks <email@hidden>
- Date: Mon, 13 Oct 2003 00:46:18 -0700
I want to be able to call a copy/paste script with a key combination (via HotApp), but I need it to work in whatever application I'm working in.
I've tried using Extra Suites to do a "type key "c" with command", etc., but I've found it to be most unreliable--possibly because it's being called with a key combination. If I could just call the cut and paste menu items, I might have a chance at getting it to work. (OneClick was so great at this sort of thing <sigh>)
I tried Paul's FrontApp/FrontAppServer, but all it ever returns is "System Events" (I'm running 10.2.8). Is there any reliable, simple/fast way to get the front application? I've tried a host of:
----
get the name of the first process whose frontmost is true and visible is true and name is not "" and accepts high level events
----
etc., but with no luck either.
Thoughts?
Thanks!
--
Richard Fairbanks * email@hidden
Fairbanks Productions, Inc. *
http://www.LotusDome.com
Home of the Lotus Dome:
Prefabricated * Modular * Portable * Self-Sustaining
http://www.thehungersite.com/ one click sends food to a hungry person
_______________________________________________
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.