Veloraptor

Scripting stopped working

Recommended Posts

With updating the EyeTV sw to v 7514 I lost the functionality of the scripting. Is this confirmed by anyone?

I am using a triggered script for hibernating the mac after recording. My guess is that the latest version of EyeTV prevents my scripts from working.

The script for hibernating:

on RecordingDone(recordingID)

    set myapp to "EyeTV"

    delay 10

    with timeout of 300 seconds

        display dialog "iMac shut down in 3 minutes unless you click Stop!" with icon 0 buttons {"Stop!"} giving up after 180 default button "Stop!"

        set theresults to the result

        if gave up of theresults is true then

            tell application "System Events" to shut down

        end if

    end timeout

end RecordingDone

 

Regards,

 

Peter.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.