On Sun, Jan 11, 2009 at 1:52 AM, Abimanyu Raja <[email protected]>wrote:

> pellefjant, I think what you want is another magic word for the current
> page (like "this page" or "page"). Although there isn't one at the moment,
> you can help add it. See
> http://labs.toolness.com/trac/ticket/179#comment:3
>

Ahh, now I get it - I was indeed misunderstanding you (OP)...


>
> 2009/1/11 Alexander Biggs <[email protected]>
>
> As far as I'm aware, there is no equivalent to that beyond pressing ctrl+L,
>> which selects the URL, and then bringing up Ubiquity with the hotkey,
>> ctrl+space in your case.
>>
>> On Sat, Jan 10, 2009 at 4:29 PM, pellefjant <[email protected]>wrote:
>>
>>>
>>> I am not trying to create a command.
>>> Im only using ubiquity as a normal user.
>>> I bring it up with ctrl+space and type, and in that box i cannot type
>>> CmdUtils.getWindow.location.href ?
>>>
>>> On Jan 9, 4:10 pm, "Christian Sonne" <[email protected]> wrote:
>>> > On Fri, Jan 9, 2009 at 4:04 PM, pellefjant <[email protected]>
>>> wrote:
>>> >
>>> > > I meant like a variable i could use when i use other commands. when i
>>> > > bring up ubiquity with ctrl+space it would be nice to be able to use
>>> a
>>> > > variable like the this variable only it contained the current url.
>>> >
>>> > > I know i can select the current url and 'this' becomes that value but
>>> > > if i wanted to select some other text and still use some other url
>>> > > would be nice.
>>> >
>>> > Unless I'm still misunderstanding you, as I said in the first mail:
>>> > CmdUtils.getWindow().location.href will give you the current url
>>> >
>>> >
>>> >
>>> > > Thanks
>>> >
>>> > > On Jan 9, 12:39 am, "Christian Sonne" <[email protected]> wrote:
>>> > > > On Thu, Jan 8, 2009 at 10:06 PM, pellefjant <[email protected]
>>> >
>>> > > wrote:
>>> >
>>> > > > > Hi!
>>> >
>>> > > > > Is there a variable i can use in when i type commands that holds
>>> the
>>> > > > > current tabs url?
>>> >
>>> > > > Hi Per
>>> >
>>> > > > You can use CmdUtils.getWindow().location.href to access the
>>> current url
>>> >
>>> > > > > For example i use Ubiquity to add tasks to Remember The Milk.
>>> > > > > I usually then select a header and pull up ubiquity and type
>>> "rtm-add
>>> > > > > Buy this".
>>> > > > > It would be nice if i was able to include the url to the in this
>>> case
>>> > > > > book im going to buy like this:
>>> > > > > "rtm-add Buy this from $url"... or something
>>> >
>>> > > > This guide might be of help too:
>>> > >
>>> https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial#C...
>>> >
>>> > > > -- cers / Christian Sonne
>>>
>>>
>>
>>
>> --
>> o-o;
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to