Jump to content
InsanelyMac Forum
Sign in to follow this  
Broll

Problema Apple Script

Recommended Posts

Ho uno script che mi abilita automaticamente alcune impostazioni del VoodooHDA, ma improvvisamente da qualche giorno non mi funziona più. Come mai?

Il messaggio di errore dice "La connessione non è valida".

 

Questo il codice dello script:

 

 

tell application "System Preferences"
activate
reveal (pane id "org.voodoo.VoodooHDA")
end tell
tell application "System Events"
set visible of process "System Preferences" to false
tell process "System Preferences"
tell checkbox "Use SSE2" of group 2 of window 1
repeat until exists (* wait until the object is accessible *)
delay 0.2
end repeat
if value is not 1 then click
end tell

tell checkbox "Enhance stereo" of group 2 of window 1
repeat until exists (* wait until the object is accessible *)
delay 0.2
end repeat
if value is not 1 then click
end tell

tell application "System Preferences"
quit
end tell
end tell
end tell

post-281164-0-77617000-1354460974_thumb.png

Share this post


Link to post
Share on other sites
Advertisement
Guest
You are commenting as a guest. If you have an account, please sign in.
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.



×