Hi Jean-Claude, >the subject says it all. I couldn't see anything in the menus or in >the preferences... Maybe a script is required...
You can download an AppleScript called "RestartAt" from Tim Kilburn's VoiceOver download page that will let you set playback of an iTunes track to anything you want: http://homepage.mac.com/kilburns/voiceover/downloads.html Copy this to your Library/iTunes/Scripts/ folder. You may have to create the Scripts folder if this is the first time you are using AppleScripts under iTunes. Now when you use iTunes you will find an extra item on your menu bar that holds your AppleScripts. This works like any other menu action. Select your track in the Songs Outline then use VO-keys+m to go to the menu bar. The AppleScripts menu is the last menu item before help; I usually left arrow twice to get there, or you can type "w" to navigate to the window menu and right arrow from there. Under Tiger you may not hear anything at this location until you arrow down into the menu to select RestartAt. A window will pop up prompting you to input a time between the start and end times of the track. When you VO-keys+right arrow to the text entry field your current playback position will be filled in hours, minutes, and seconds format with each field separated by colons (e.g., 1:05:30). Type in the new time you want, or just carriage return to accept the default values (or VO-keys+right arrow to the cancel button and VO-keys+space to press the button and cancel). I bind this to a shortcut key (Command-Option+r). You cannot assign a keyboard shortcut to an AppleScript while the application it uses is open, so if you want to define a shortcut you have to first quit iTunes. To add a new keyboard shortcut for an AppleScript VO-keys+m to the Apple menu on the menu bar VO-keys+down arrow to Systems Preferences tab to Keyboard & Mouse and VO-keys+space to select this VO-keys+right arrow or tab key to the Keyboard Shortcuts tab If the Keyboard Shortcuts tab is not selected, use VO-keys+spacebar to press and select this tab. To assign a new shortcut, VO-keys+right arrow to the "+" button The help (VO-keys+h) for this will say "Click to define shortcuts within applications" VO-keys+spacebar to press the "+" button A new window will appear. For the Application, VO-keys+right arrow to the pop-up button and choose iTunes. Then VO-keys+right arrow to the field for the Menu command and type in RestartAt (this is one word with no space between "Restart" and "At"). Finally, VO-key+right arrow to the text field where you can type in you selected keyboard shortcut. You need to pick a key combination that is not already used by the application. I used Command+Option+r. VO-keys+right arrow to the button for "Cancel" or for "Add" and press your selection (VO-keys+spacebar). Close the Keyboard & Mouse window (Command+w). Now when you use iTunes you can select the track and then use the keyboard shortcut (Command+Option-r) to set the playback point. When you check the AppleScript menu on the iTunes menu bar you should hear the shortcut keys announced after the name of the AppleScript if the shortcut was successfully assigned. HTH. Cheers, Esther
