Opening iTunes, Apps on iPad

Hi & good day,

To open the iTunes browser window for iPad > Apps > [specific app]

I’m trying all kind of scripts, for example:

tell application “iTunes”
open window … Pad : Apps
end tell

--------------------------------…--------------------------------

( On a side note:
It is very difficult to access a specific window in iTunes, i cannot even open the “Movies” window:

I tried / failed:

tell application “iTunes”
open window alias "MacHD:Users:okn:Music:iTunes:iTunes Media:Movies
end tell
)

Any assistance much appreciated,
with best regards,
Omar K N
Stockholm, Sweden

Hi,

you can open the Movies window with


tell application "iTunes"
	set view of browser window 1 to playlist "Movies" of source "Library"
end tell

or to open the window of a device


tell application "iTunes"
	set view of browser window 1 to library playlist 1 of source "[name-of-iOS-Device]"
end tell

There is no property to select a specific tab of the iOS device in the dictionary

you can open the Movies window with
Open this Scriplet in your Editor:

tell application “iTunes”
set view of browser window 1 to playlist “Movies” of source “Library”
end tell

This works alright!

For the second script:

tell application “iTunes”
set view of browser window 1 to library playlist 1 of source “iPad”
end tell

There is an iTunes error:
Can’t set view of browser window 1 to library playlist 1 of source “iPad”.

/
with best regards,
Omar K N
(still with AppleScript)

AppleScript is often trial and error.

Open the window of the iOS device manually and run


tell application "iTunes"
	set x to name of view of browser window 1
end tell
display dialog x

to get the expected name

Yes of course , my Ipad was “iPA” .

Now it works, thank you!

regards,
OmarKN
(impressed by the power of AppleScript)