Question

I want to set up a custom OSX service, available in an app's services menu, that extracts an address from a web page, adds some user text input, and writes both infos as a new contact into the address book.
I do now the following:
On the web page, I mark part of the text containing the address. In Automator, I use "Separate text and data" from the text category, and extract the address.
The next step in Automator is an Obj-C action, developed in XCode, that inputs the address and converts it to a new contact entry of the address book.
This works, but I am not able to accept the additional user input. There is an action "Input text" in Automator's text category, but I don't know how to combine both text inputs (address & user input) as input to my Obj-C action.
EDIT:
Here is my Automator window:
enter image description here

Was it helpful?

Solution

I don't have your Obj-C program here, but I can get two lots of text from the user and store them in two separate variables like this, so I presume you can pass both variables to your Obj-C, can't you?

Maybe seeing this will help someone else understand what you are trying to do...

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top