# Run Apple Script from within Plex

**URL:** <https://forums.plex.tv/t/run-apple-script-from-within-plex/39296>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [July 28, 2013, 7:17pm UTC](https://forums.plex.tv/t/run-apple-script-from-within-plex/39296 "2013-07-28T19:17:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![r.youden](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@r.youden](https://forums.plex.tv/u/r.youden)\
**Post date:** [July 28, 2013, 7:17pm UTC](https://forums.plex.tv/t/run-apple-script-from-within-plex/39296/1 "2013-07-28T19:17:01Z")

</div>

Is it possible to create a sudo channel within Plex to run an Apple Script? I have need to connect / disconnect VPN, I have a script setup that I launch from the desktop but it'd be nice to integrate into Plex.

&nbsp;

Not sure if it's possible but I thought I'd ask.

&nbsp;

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 11:47pm UTC](https://forums.plex.tv/t/run-apple-script-from-within-plex/39296/2 "2019-12-20T23:47:40Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
