OK ... If I select text, the service appears. If the insertion point is active in the formula bar with nothing selected, the service appears.
However, the service is set to receive no input. I would have thought that meant I could have a selected cell and the service should appear.
What I'm trying to do is create a service that runs the following script:
on run
tell application "Numbers" tell the front document tell the front sheet tell the front table set howMuch to value of first cell of selection range set value of first cell of selection range to howMuch + 1 end tell end tell end tell
end tell
return 1 end run
It finds the value of the selected cell and adds 1. As a script, it works fine. If I put it into a service, I can assign a command-key to it. (and yes, it needs some error trapping.)
If I select the text of the entry in a specific cell, the service can run, but it can take 15 to 30 seconds to complete. Ultimately, the cell is incremented but I get this error message:
The “Plus One” service could not be used because the “Plus One” workflow did not finish in time.
I can't believe I can't get this to do what I want.
doug
On Apr 26, 2011, at 8:30 PM, Jean-Christophe Helary wrote: On 27 avr. 11, at 07:41, Douglas R Tallman wrote: I'm trying to create an Automator service but nothing is appearing in the Services menu.
If the service is set to "receive input in..." then you need to actually select text in the specified application to see it appear in the menu. The Services menu is a contextual menu so its contents depends on the service settings. Jean-Christophe Helary ---------------------------------------- fun: http://mac4translators.blogspot.comwork: http://www.doublet.jp (ja/en > fr) tweets: http://twitter.com/brandelune
On Apr 26, 2011, at 8:30 PM, Jean-Christophe Helary wrote: On 27 avr. 11, at 07:41, Douglas R Tallman wrote: I'm trying to create an Automator service but nothing is appearing in the Services menu.
If the service is set to "receive input in..." then you need to actually select text in the specified application to see it appear in the menu. The Services menu is a contextual menu so its contents depends on the service settings. Jean-Christophe Helary ---------------------------------------- fun: http://mac4translators.blogspot.comwork: http://www.doublet.jp (ja/en > fr) tweets: http://twitter.com/brandelune
|