git.ithinksw.org
/
MenuTunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
541cb69
)
did what I could to implement showPrimaryInterface... Alex, could you try
author
Joseph Spiros
<joseph.spiros@ithinksw.com>
Mon, 7 Apr 2003 23:30:22 +0000
(23:30 +0000)
committer
Joseph Spiros
<joseph.spiros@ithinksw.com>
Mon, 7 Apr 2003 23:30:22 +0000
(23:30 +0000)
and finish the rest?
iTunesRemote.m
patch
|
blob
|
history
diff --git
a/iTunesRemote.m
b/iTunesRemote.m
index
c7850d0
..
412b5e5
100755
(executable)
--- a/
iTunesRemote.m
+++ b/
iTunesRemote.m
@@
-72,13
+72,11
@@
- (BOOL)showPrimaryInterface
{
// Make this into AppleEvents... shouldn't be too hard, I'm just too tired to do it right now.
- (BOOL)showPrimaryInterface
{
// Make this into AppleEvents... shouldn't be too hard, I'm just too tired to do it right now.
- //tell application "iTunes"
- //
set frontmost to true
+ [[ITAppleEventCenter sharedCenter] sendAEWithSendString:[NSString stringWithFormat:@"data:long(%lu), '----':obj { form:'prop', want:type('prop'), seld:type('pisf'), from:'null'() }",YES] eventClass:@"core" eventID:@"setd" appPSN:iTunesPSN];
+ //
Still have to convert these to AEs:
// set visible of browser window 1 to true
// set minimized of browser window 1 to false
// set view of browser window 1 to (playlist (index of current playlist))
// set visible of browser window 1 to true
// set minimized of browser window 1 to false
// set view of browser window 1 to (playlist (index of current playlist))
- //end tell
- //Someone do this plz kthx
return NO;
}
return NO;
}