Get your own customer support community
 

Commands and Sub-Commands in Ubiquity

Is there some way you can start a second command or sub-command in the middle of your first command?

By this i mean something as simple as using the tinyurl option to make the URL short then in the same command send the URL that it just created to twitter without having to cut and paste or leave the command line.

An example on the way it could be done here.

Say I'm setting out to do what I wrote above.

I could highlight the url I wish to make Tiny then type in:

tiny

Now that makes the url tiny now let say I want to send that same url to twitter with a message. Here's maybe an example of how I would think it might work.

tiny: twitter This is amazing check out this video. tiny

Now I used the ":" as maybe some sort of end command to start another command. Then I continued on as if it were a second command or sub-command. The "tiny" at the end is an example of telling Ubiquity to paste into or add the url into the twitter.

This is just and idea. But I'm sure there's something easier that can be done like add an extra command with tinyurl to just send it to twitter or any other number of services with a message.

Let me know what you think.

Matt
 
happy I’m excited
Inappropriate?
2 people like this idea

User_default_medium