Skip to content

Commit

Permalink
Removed a debugging line after fixing the problem with Applescript pl…
Browse files Browse the repository at this point in the history
…ugins.
  • Loading branch information
Grayson Hansard committed Mar 13, 2009
1 parent 9a8d061 commit e9d8ff2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ApplescriptPluginManager.m
Expand Up @@ -64,7 +64,6 @@ -(void)build
NSAppleEventDescriptor *desc = [NSAppleEventDescriptor appleEventWithEventClass:ASPluginAppClassCode() eventID:ASPluginPropertyEventCode targetDescriptor:procDesc returnID:kAutoGenerateReturnID transactionID:kAnyTransactionID];
id err = nil;
NSAppleEventDescriptor *ret = [as executeAppleEvent:desc error:&err];
NSLog(@"%s %@", _cmd, err);
if (ret)
{
NSString *property = [ret stringValue];
Expand Down Expand Up @@ -95,7 +94,6 @@ -(NSArray *)pluginsForProperty:(NSString *)property forValue:(id)forValue withVa
while (as = [e nextObject])
{
NSAppleEventDescriptor *enabledDesc = [as executeEvent:ASPluginEnableEventCode eventClass:ASPluginAppClassCode() parameters:parameters];
NSLog(@"%s %@", _cmd, enabledDesc);
if (enabledDesc && [enabledDesc booleanValue])
{
NSAppleEventDescriptor *desc = [as executeEvent:ASPluginTitleEventCode eventClass:ASPluginAppClassCode() parameters:parameters];
Expand Down

0 comments on commit e9d8ff2

Please sign in to comment.