# Launching PDF from Projector File w/ Applescript

**URL:** <https://forum.kirupa.com/t/launching-pdf-from-projector-file-w-applescript/108815>\
**Category:** Uncategorized\
**Created:** [April 28, 2004, 10:10pm UTC](https://forum.kirupa.com/t/launching-pdf-from-projector-file-w-applescript/108815 "2004-04-28T22:10:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wyclef](https://avatars.discourse-cdn.com/v4/letter/w/65b543/32.png) [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Post date:** [April 28, 2004, 10:10pm UTC](https://forum.kirupa.com/t/launching-pdf-from-projector-file-w-applescript/108815/1 "2004-04-28T22:10:58Z")

</div>

Hello,

I’m trying to launch a PDF from a flash projector on a mac using the exec fscommand and an applescript. Inside a disc image the applescript works fine on it’s own with the PDF but when trying to trigger it from the projector i’m not having much luck.

Here is the actionscript being used.

```auto

on (release) {
	fscommand("exec", "fscommand/cdromTest_script1.app");
}

```

What do you think?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 5, 2004, 2:53pm UTC](https://forum.kirupa.com/t/launching-pdf-from-projector-file-w-applescript/108815/2 "2004-05-05T14:53:54Z")

</div>

So do you think I could target the Shortcut in Flass successfully? And if so, could I send you my bat files (6) to make shortcuts of? I don’t have a way to get those shortcut files back to my mac.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 5, 2004, 4:00pm UTC](https://forum.kirupa.com/t/launching-pdf-from-projector-file-w-applescript/108815/3 "2004-05-05T16:00:25Z")

</div>

I honestly don’t know if you’ll be able to hit them. It’s worth a shot, you know. And go ahead and send em to me. You just want me to make them into shortcuts and change the way they open?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 5, 2004, 4:33pm UTC](https://forum.kirupa.com/t/launching-pdf-from-projector-file-w-applescript/108815/4 "2004-05-05T16:33:57Z")

</div>

Here are the bat files. If you could zip them up and send them back along with their corresponding shortcuts that are set to minimized that would be great. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 5, 2004, 5:42pm UTC](https://forum.kirupa.com/t/launching-pdf-from-projector-file-w-applescript/108815/5 "2004-05-05T17:42:05Z")

</div>

Alright…When you unzip it, leave the files as they are in the fscommand folder, that way you call the shortcut first, not the actual bat file, otherwise the changes made wont do anything. See what I’m sayin’? :A+: \<–I just thought it looked cool. Random smiley and all.
