# Projector to execute commands on MAC

**URL:** https://forum.kirupa.com/t/projector-to-execute-commands-on-mac/156757
**Category:** flash
**Created:** [July 27, 2005, 8:36pm UTC](https://forum.kirupa.com/t/projector-to-execute-commands-on-mac/156757 "2005-07-27T20:36:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dfhdesign](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@dfhdesign](https://forum.kirupa.com/u/dfhdesign)
#### Post date: [July 27, 2005, 8:36pm UTC](https://forum.kirupa.com/t/projector-to-execute-commands-on-mac/156757/1 "2005-07-27T20:36:04Z")

</div>

Hello,  
I’m creating a flash projector for cd-rom, that will have an auto-launch for PC, but not for MAC.  
I’ve created some commands to open a pdf and open an email client. The commands work fine on a PC, but not on MAC.

Here is my actionscript for opening the pdf:

on (release) {  
fscommand(“fullscreen”, “false”)  
fscommand (“exec”, “launchPdf.app”);  
getURL(“apps/hootieForm.pdf”, “\_blank”)  
}

The launchPdf.app is an applescript I created, here is the script:

tell application “Finder”  
select file “fscommand:hootieForm.pdf” of disk “Hootie Brown”  
open selection  
end tell

Need help to get the pdf to open on a MAC, and to open the email client on a MAC.

Thanks for your help.
