Jump to content


Invoking SC from Services (Panther)


4 replies to this topic

#1 emilyj

    Member

  • Members
  • PipPip
  • 10 posts

Posted 09 December 2003 - 07:34 AM

If I try to invoke SC from the Services menu and SC isn't already running, SC starts but I just get an error beep (it works on the second try--after SC has started up). Is this the correct behavior? I was puzzled because when I invoke a program (that isn't running yet) such as PGP from the Services menu, the program launches then starts executing whatever command I chose from the Services menu.

Thanks,

Emily

#2 paulc

    Advanced Member

  • Co-Moderator
  • PipPipPip
  • 122 posts
  • Location:New York

Posted 09 December 2003 - 12:51 PM

I believe this is a known issue with the current release; it's something that Evan intends to fix in the 10.1 release.

#3 Evan Gross

    Administrator

  • Admin
  • PipPipPip
  • 2,986 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:This Place!

Posted 09 December 2003 - 08:30 PM

emilyj, on Dec 9 2003, 07:34 AM, said:

If I try to invoke SC from the Services menu and SC isn't already running, SC starts but I just get an error beep (it works on the second try--after SC has started up). Is this the correct behavior? I was puzzled because when I invoke a program (that isn't running yet) such as PGP from the Services menu, the program launches then starts executing whatever command I chose from the Services menu.

Thanks,

Emily
Yep, this happens in Carbon apps.

It's fixed for the next release. Coming ASAP. Not *quite* there yet.

#4 emilyj

    Member

  • Members
  • PipPip
  • 10 posts

Posted 10 December 2003 - 05:27 AM

It also happens in Cocoa apps (tried it in both Apple Mail and Safari). :(

Also, I am having problems with SC (and other applications) not always coming to the front when they are called from the Services menu. "Check Selection" works OK, but when I choose something like "Look Up", the SC window appears, but the application from which the service was invoked (Mail, Safari, etc.) remains the frontmost application. It seems that most Cocoa programs aren't coming to the front when they are invoked this way (eg, TextEdit-->New Window Containing Selection), but *Carbon* apps that provide services *do* come to the front when called from the Services menu (such as BBEdit-->Open Selection).

Emily

#5 Evan Gross

    Administrator

  • Admin
  • PipPipPip
  • 2,986 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:This Place!

Posted 10 December 2003 - 06:35 AM

emilyj, on Dec 10 2003, 05:27 AM, said:

It also happens in Cocoa apps (tried it in both Apple Mail and Safari). :(

Also, I am having problems with SC (and other applications) not always coming to the front when they are called from the Services menu. "Check Selection" works OK, but when I choose something like "Look Up", the SC window appears, but the application from which the service was invoked (Mail, Safari, etc.) remains the frontmost application. It seems that most Cocoa programs aren't coming to the front when they are invoked this way (eg, TextEdit-->New Window Containing Selection), but *Carbon* apps that provide services *do* come to the front when called from the Services menu (such as BBEdit-->Open Selection).

Emily
Right - I think this (when the Service actually launches the SCX app) was a separate issue, and again, it's fixed in 10.1.

There are various behaviors for services that open apps or window. There doesn't seem to be any one right way.

Again, this has been tweaked in SCX 10.1 so that it behaves a little more as expected.