Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VLC with Audio Hijack Pro

81 views
Skip to first unread message

Iwan

unread,
Jul 18, 2012, 4:45:53 PM7/18/12
to
Hi -

when I use "Quit source" in Audio Hijack Pro it doesn't quit VLC.

I tried a script

tell application "VLC"
activate
end tell
tell application "VLC" to quit

It works but only when I move the cursor after that,-)

Move cursor seems to be voodoo.
I also tried
keystroke
key code

tell application "System Events" to key code 13 using command down

lets the VLC window disappear but doesn't make VLC quit.

Any ideas?

Thank you.

Peter




wenn ich mit Audio Hijack Pro und VLC zwei Radiosendungen nacheinander
aufnehme, tut VLC bei der zweiten nicht.
Obwohl ich in AHPro "Quit Source" gesetzt habe, stoppt VLC nicht.

Patrick Stadelmann

unread,
Jul 19, 2012, 12:55:57 AM7/19/12
to
In article <op.whntarpxbzxkxm@peters-mac>, Iwan <pfack...@gmx.net>
wrote:

> tell application "VLC" to quit

If this doesn't work until you move the mouse, it's probably a bug in
VLC.

Patrick
--
Patrick Stadelmann <Patrick.S...@unine.ch>

Iwan

unread,
Jul 19, 2012, 4:31:53 AM7/19/12
to
Am 19.07.2012, 06:55 Uhr, schrieb Patrick Stadelmann
<Patrick.S...@unine.ch>:

> In article <op.whntarpxbzxkxm@peters-mac>, Iwan <pfack...@gmx.net>
> wrote:
>
>> tell application "VLC" to quit
>
> If this doesn't work until you move the mouse, it's probably a bug in
> VLC.
>
> Patrick

Yes, but I have to work around that.
I can quit VLC manually with "cmd q".
How can I script that?

Peter

Patrick Stadelmann

unread,
Jul 19, 2012, 4:49:33 AM7/19/12
to
In article <op.whopzfy1bzxkxm@peters-mac>, Iwan <pfack...@gmx.net>
wrote:

> Yes, but I have to work around that.

The bug is not present if VLC is in the background, so just do :

tell app "Finder" to activate
tell app "VLC" to quit

Iwan

unread,
Jul 22, 2012, 8:11:52 AM7/22/12
to
Am 19.07.2012, 10:49 Uhr, schrieb Patrick Stadelmann
<Patrick.S...@unine.ch>:

> In article <op.whopzfy1bzxkxm@peters-mac>, Iwan <pfack...@gmx.net>
> wrote:
>
>> Yes, but I have to work around that.
>
> The bug is not present if VLC is in the background, so just do :
>
> tell app "Finder" to activate
> tell app "VLC" to quit
>
> Patrick

Sorrry, doesn't work.

As I learned by accident that "quit" VLC only worked when I moved the
mouse/cursor I made a script:

tell application "System Events" to set frontmost of process "VLC" to true
tell application "VLC" to quit
do shell script "MouseTools -x 300 -y 300"

Regards

Peter

Joshua Whalen

unread,
Oct 4, 2013, 8:24:16 AM10/4/13
to
do shell script "killall VLC"

If the app doesn't respond to a "quit" event, pure applescript
workarounds may be of no use. My preferred solution is to go over it's
head to the shell.

Blasphemy I know, but hey! Science was blasphemy once, right?

God luck,

Joshua

In article <op.whuj52b8bzxkxm@peters-mac>, Iwan <pfack...@gmx.net>
wrote:
0 new messages