Re: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app?

2010-08-17 Thread Jonathan Lynch
I think that microsoft must put the information into the public clipboard in
a non-standard way. The fact that AbiWord can retrieve the link information
from the public clipboard tells me that it is in there. AbiWord appears to
have been specifically designed to be compatible with MS word, so AbiWord's
developers might have deliberately wrote in code to access components of the
clipboard that have been microsofticized.

Fortunately for me, after talking with the team lead at work for whom this
is relevant, I will probably be able to just build a custom interface for
their needs, and avoid this issue entirely.

If I cannot do that, then I am going to see if it is possible to use Cscript
to retrieve microsoftized parts of the clipboard.
Thanks,

J
On Tue, Aug 17, 2010 at 1:24 PM, Bob Sneidar  wrote:

> Not sure if it relates, but I have noticed that if I copy something, then
> launch a Microsoft application and try to paste it, it doesn't work.
> However, if I already have the Microsoft application running, and copy
> something from a foreign app, I can then paste it into the MS app.
>
> I believe this is because Microsoft "takes over" the clipboard, to ensure
> the proper translation of data in the clipboard to a format the MS app will
> recognize. Could this be what you are running into?
>
> Bob
>
>
> On Aug 16, 2010, at 2:18 PM, Jonathan Lynch wrote:
>
> > Hmmm...
> >
> > All of the applications we use at work (except the ones I create) are
> > microsoft applications. I will have to find something that is not from
> > microsoft to test this.
> >
> >
> >
> > On Mon, Aug 16, 2010 at 4:59 PM, Richard Gaskin
> > wrote:
> >
> >> Jonathan Lynch wrote:
> >>
> >> I am trying to figure out how to copy text that contains a link into a
> Rev
> >>> field, such that the link information is preserved. It seems that some
> >>> formatting, such as bolding, text size, and text font are preserved,
> but
> >>> that link information is entirely stripped out.
> >>>
> >>
> >> Many apps don't copy link data to the public clipboard.
> >>
> >> Can you paste from one of those programs into another and have the links
> >> preserved?
> >>
> >> --
> >> Richard Gaskin
> >> Fourth World
> >> Rev training and consulting: http://www.fourthworld.com
> >> Webzine for Rev developers: http://www.revjournal.com
> >> revJournal blog: http://revjournal.com/blog.irv
> >>
> >> ___
> >> use-revolution mailing list
> >> use-revolution@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-revolution
> >>
> >
> >
> >
> > --
> > Do all things with love
> > ___
> > use-revolution mailing list
> > use-revolution@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
Do all things with love
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app?

2010-08-17 Thread Bob Sneidar
Not sure if it relates, but I have noticed that if I copy something, then 
launch a Microsoft application and try to paste it, it doesn't work. However, 
if I already have the Microsoft application running, and copy something from a 
foreign app, I can then paste it into the MS app. 

I believe this is because Microsoft "takes over" the clipboard, to ensure the 
proper translation of data in the clipboard to a format the MS app will 
recognize. Could this be what you are running into?

Bob


On Aug 16, 2010, at 2:18 PM, Jonathan Lynch wrote:

> Hmmm...
> 
> All of the applications we use at work (except the ones I create) are
> microsoft applications. I will have to find something that is not from
> microsoft to test this.
> 
> 
> 
> On Mon, Aug 16, 2010 at 4:59 PM, Richard Gaskin
> wrote:
> 
>> Jonathan Lynch wrote:
>> 
>> I am trying to figure out how to copy text that contains a link into a Rev
>>> field, such that the link information is preserved. It seems that some
>>> formatting, such as bolding, text size, and text font are preserved, but
>>> that link information is entirely stripped out.
>>> 
>> 
>> Many apps don't copy link data to the public clipboard.
>> 
>> Can you paste from one of those programs into another and have the links
>> preserved?
>> 
>> --
>> Richard Gaskin
>> Fourth World
>> Rev training and consulting: http://www.fourthworld.com
>> Webzine for Rev developers: http://www.revjournal.com
>> revJournal blog: http://revjournal.com/blog.irv
>> 
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> 
> 
> -- 
> Do all things with love
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app?

2010-08-16 Thread J. Landman Gay

On 8/16/10 5:33 PM, Jonathan Lynch wrote:

Hi Jacqueline,

I tested this.

It is not retaining the link information, either from MS Word or from IE 8.

This is true both with RunRev 4.0 and RunRev 2.6.1 - those are the only
versions I have to test with.


Okay, this time I actually tried it. :) I have an extension in Firefox 
that allows me to copy either plain text or html text. I copied a 
selection as html.


In Rev: set the htmltext of fld 1 to the clipboardData["text"]

That works here.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app?

2010-08-16 Thread Jonathan Lynch
Hi Jacqueline,

I tested this.

It is not retaining the link information, either from MS Word or from IE 8.

This is true both with RunRev 4.0 and RunRev 2.6.1 - those are the only
versions I have to test with.

Take care,

Jonathan

On Mon, Aug 16, 2010 at 5:54 PM, J. Landman Gay wrote:

> On 8/16/10 3:49 PM, Jonathan Lynch wrote:
>
>> I am trying to figure out how to copy text that contains a link into a Rev
>> field, such that the link information is preserved. It seems that some
>> formatting, such as bolding, text size, and text font are preserved, but
>> that link information is entirely stripped out.
>>
>> Is there a way to do this? Am I missing something obvious?
>>
>
> If the links are really in there, they should be in the htmltext of the
> clipboard, i.e.:
>  set the htmltext of fld x to the clipboardData["html"]
>
> That will put the underlines and links into the field, but you'll have to
> handle the actual navigation after a click by examining the parameter passed
> in the linkClicked message and figuring out what to do.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
Do all things with love
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app?

2010-08-16 Thread J. Landman Gay

On 8/16/10 3:49 PM, Jonathan Lynch wrote:

I am trying to figure out how to copy text that contains a link into a Rev
field, such that the link information is preserved. It seems that some
formatting, such as bolding, text size, and text font are preserved, but
that link information is entirely stripped out.

Is there a way to do this? Am I missing something obvious?


If the links are really in there, they should be in the htmltext of the 
clipboard, i.e.:

 set the htmltext of fld x to the clipboardData["html"]

That will put the underlines and links into the field, but you'll have 
to handle the actual navigation after a click by examining the parameter 
passed in the linkClicked message and figuring out what to do.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app?

2010-08-16 Thread Jonathan Lynch
OK, I verified that I can copy from MS Word into AbiWord - so the link
information must be made available in some form.

Would RunRev have a means of accessing this?

If not, is there something I could do with Cscript or Windows Command Line
to access components of the clipboard that are not accessible to RunRev?

Thanks,

Jonathan

On Mon, Aug 16, 2010 at 5:18 PM, Jonathan Lynch wrote:

> Hmmm...
>
> All of the applications we use at work (except the ones I create) are
> microsoft applications. I will have to find something that is not from
> microsoft to test this.
>
>
>
> On Mon, Aug 16, 2010 at 4:59 PM, Richard Gaskin <
> ambassa...@fourthworld.com> wrote:
>
>> Jonathan Lynch wrote:
>>
>> I am trying to figure out how to copy text that contains a link into a Rev
>>> field, such that the link information is preserved. It seems that some
>>> formatting, such as bolding, text size, and text font are preserved, but
>>> that link information is entirely stripped out.
>>>
>>
>> Many apps don't copy link data to the public clipboard.
>>
>> Can you paste from one of those programs into another and have the links
>> preserved?
>>
>> --
>>  Richard Gaskin
>>  Fourth World
>>  Rev training and consulting: http://www.fourthworld.com
>>  Webzine for Rev developers: http://www.revjournal.com
>>  revJournal blog: http://revjournal.com/blog.irv
>>
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
>
>  --
> Do all things with love
>



-- 
Do all things with love
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app?

2010-08-16 Thread Jonathan Lynch
Hmmm...

All of the applications we use at work (except the ones I create) are
microsoft applications. I will have to find something that is not from
microsoft to test this.



On Mon, Aug 16, 2010 at 4:59 PM, Richard Gaskin
wrote:

> Jonathan Lynch wrote:
>
> I am trying to figure out how to copy text that contains a link into a Rev
>> field, such that the link information is preserved. It seems that some
>> formatting, such as bolding, text size, and text font are preserved, but
>> that link information is entirely stripped out.
>>
>
> Many apps don't copy link data to the public clipboard.
>
> Can you paste from one of those programs into another and have the links
> preserved?
>
> --
>  Richard Gaskin
>  Fourth World
>  Rev training and consulting: http://www.fourthworld.com
>  Webzine for Rev developers: http://www.revjournal.com
>  revJournal blog: http://revjournal.com/blog.irv
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
Do all things with love
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app?

2010-08-16 Thread Richard Gaskin

Jonathan Lynch wrote:


I am trying to figure out how to copy text that contains a link into a Rev
field, such that the link information is preserved. It seems that some
formatting, such as bolding, text size, and text font are preserved, but
that link information is entirely stripped out.


Many apps don't copy link data to the public clipboard.

Can you paste from one of those programs into another and have the links 
preserved?


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app?

2010-08-16 Thread Jonathan Lynch
I am trying to figure out how to copy text that contains a link into a Rev
field, such that the link information is preserved. It seems that some
formatting, such as bolding, text size, and text font are preserved, but
that link information is entirely stripped out.

Is there a way to do this? Am I missing something obvious?

Many thanks,

Jonathan

-- 
Do all things with love
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution