skip to content »

www.gazetaperekrestok.ru

Eyetv program guide not updating

eyetv program guide not updating-5

This opens the menu, and then UI scripting can click it. Have a nice week Cheers Frank Hi Frank Glad it's working now.You may want to change the Eye TV window location from the value I chose, if so put it into your prefered position then use the Accessibility Inspector to get the location of the button, then add some pixels either side of that. (Thanks for the tipp with the applet-path, for sure i did it wrong first ) That was hard work, especially for you. Tonight I will try some minor changes to the script.

If you are running it within Apple Script Editor, then it will fail the first time, and you must allow Apple Script to be listed in the list of 'apps that are allowed to control your computer' in System Preferences Accessibility.With clicclick making both clicks, I think 0.2s or less between the two clicks will work.I originally tried making this script after missing several recordings because the DVB guide was not up to date.If that opens the apple menu, then it is installed and working.Then try this script, which first puts the Eye TV window to a specific location on the screen, then instead of using UI scripting to click the silly pop up button 1, uses clicclick to clik at the location of the button.If so, copy the exact text that reloads the DVB EPG database (in German) and put it into the code I supplied in place of "Update DVB Program Guide". Of course, it may be that pop up button 1 is not the correct pop up button or UI element to open the menu you need.

One thing that can help is to get Apple's accessibility inspector application (available within XCode package contents).

If this works, but the later part of the script doesn't, then can you please download the most recent version of Eye TV?

It may be that they changed the applescript dictionary. Your dialogs are not English dialogs, so there is no menu item called "Update DVB Program Guide"; the text inside the quotes must be the exact text of the menu item that you would select, which will be something in German.

On slow computers the delay command might need to be longer. On my machine it works perfectly, so I hope you can make it work on yours. There are different ways to enable assistive scripting in older versions. In that case I should keep referring to it as window 1, in which case you should try this: tell application "Eye TV" activate end tell tell application "System Events" tell process "Eye TV" keystroke "g" using command down delay 1 click (pop up button 1 of window 1) delay 1 click menu item "Update DVB Program Guide" of menu 1 of pop up button 1 of window 1 end tell end tell By the way, to get a list of all elements in window 1, use this tell application "System Events" tell process "Eye TV" get entire contents of window 1 end tell end tell to get a list of all elements in menu 1 of pop up button 1 of window 1, try this tell application "System Events" tell process "Eye TV" get entire contents of menu 1 of pop up button 1 of window 1 end tell end tell This way you can identify all the elements of the window, then go into each element until you know how to address them in your script. So it should be possible to open that pop up button using Applescript.

Good luck, I’m sure it will work - please let me know Chris Additional: The "Window 1"-script also fails. I will need some time to solve this puzzle, cause i´m not in that scripting business. Use code like this: tell application "Eye TV" activate end tell tell application "System Events" tell process "Eye TV" keystroke "g" using command down delay 1 click (pop up button 1 of window 1) end tell end tell Maybe the delay must be longer? With luck, this pop-up is the pop-up that includes the menu with the menu item you need.

If you mouse over an element it will show the heirachy of the element.