FMWebschool Posted November 23, 2004 Posted November 23, 2004 Here is my scenario. I need to have three buttons 1. DreamWeaver 2. GoLive 3. BBEdit Attached to each button I need a script that will open that program. In Windows I can easily do this by using the "Send Message" script and just type the word "dreamweaver.exe" in the text box and dreamweaver will open. No problem...unfortunately not so with the Mac. Is there a way to name the application in a script, such as BBEdit.app and have it open on the Mac? I know I can do this by selecting and absolute path, but, the .app may not always be in the same location from computer to computer. Thank you for your help! In Kindness Stephen K knight
h2o.be Posted November 23, 2004 Posted November 23, 2004 On a Mac, use the "Send Event" command (in the Miscellaneous script steps)
h2o.be Posted November 23, 2004 Posted November 23, 2004 You can also use Applescript : Tell application "the_name_of_the_application" to activate
FMWebschool Posted November 23, 2004 Author Posted November 23, 2004 Dear Jean-Marie Thank you, I tried the "Send Event" command but it would not work unless I had an absolute path. I will give the applescript a shot right now. Thank you once again. In kindess Stephen
FMWebschool Posted November 23, 2004 Author Posted November 23, 2004 Answering myself, the Applescript did just what I needed! Thank you very much!
Recommended Posts
This topic is 7674 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now