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:
d1557bd
)
moof
author
Alexander Strange
<astrange@ithinksw.com>
Tue, 8 Apr 2003 23:34:37 +0000
(23:34 +0000)
committer
Alexander Strange
<astrange@ithinksw.com>
Tue, 8 Apr 2003 23:34:37 +0000
(23:34 +0000)
iTunesRemote.m
patch
|
blob
|
history
diff --git
a/iTunesRemote.m
b/iTunesRemote.m
index
0f5cf69
..
4d19980
100755
(executable)
--- a/
iTunesRemote.m
+++ b/
iTunesRemote.m
@@
-72,11
+72,13
@@
- (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.
- [[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];
+ [[ITAppleEventCenter sharedCenter] sendAEWithSendString:
@"data:long(1), '----':obj { form:'prop', want:type('prop'), seld:type('pisf'), from:'null'() }"
eventClass:@"core" eventID:@"setd" appPSN:iTunesPSN];
// Still have to convert these to AEs:
// set visible of browser window 1 to true
// Still have to convert these to AEs:
// set visible of browser window 1 to true
+ [[ITAppleEventCenter sharedCenter] sendAEWithSendString:@"data:true($$), ----:obj { form:'prop', want:'prop', seld:'pvis', from:obj { form:'indx', want:'cBrW', seld:1, from:'null'() } }" eventClass:@"core" eventID:@"setd" appPSN:iTunesPSN];
// set minimized of browser window 1 to false
// set minimized of browser window 1 to false
- // set view of browser window 1 to (playlist (index of current playlist))
+ [[ITAppleEventCenter sharedCenter] sendAEWithSendString:@"data:fals($$), ----:obj { form:'prop', want:'prop', seld:'pMin', from:obj { form:'indx', want:'cBrW', seld:1, from:'null'() } }" eventClass:@"core" eventID:@"setd" appPSN:iTunesPSN];
+
return NO;
}
return NO;
}