Clipboard in version 4.0

2010-10-13 Thread Jonathan Lynch
Hello :)

I have a question regarding the clipboard in version 4.0.

We have a number of applications that I created that we use in my workplace.
They are run using an executable file created from version 2.6.1.

I recently experimented with upgrading to 4.0, but was not succesful. It
turns out that version 2.6.1 can access items from the clipboard that 4.0
cannot access. Two things happen - for copying from some webpages, the
clipboard appears empty in 4.0 but has content (HTML information) in 2.6.1.
The second problem is that for copying from some webpages, the text portion
of the clipboard is populated with html information in 4.0, but is populated
properly with straight text in 2.6.1.

I can correct for the second problem programmatically, but the first problem
is real bear.

Is there anyway to alter the way 4.0 looks at the clipboard so that it
detects the same information that 2.6.1 detects? We really need to be able
to do quick copy and paste operations (sometimes thousands of times per
day). I do not have to upgrade to 4.0, but it has features that I would like
to use, if possible.

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


Re: Clipboard in version 4.0

2010-10-13 Thread J. Landman Gay

On 10/13/10 9:57 AM, Jonathan Lynch wrote:


I recently experimented with upgrading to 4.0, but was not succesful. It
turns out that version 2.6.1 can access items from the clipboard that 4.0
cannot access. Two things happen - for copying from some webpages, the
clipboard appears empty in 4.0 but has content (HTML information) in 2.6.1.
The second problem is that for copying from some webpages, the text portion
of the clipboard is populated with html information in 4.0, but is populated
properly with straight text in 2.6.1.


The clipboard function was changed some time ago to specifically return 
different aspects of its content. It's now an array. You can retrieve 
the content in any specified format that the content may contain. There 
is more in the dictionary, but for text:


 the clipboardData[html] -- gives the html content
 the clipboardData[text] -- gives plain text content

There are other options too. If you use the function without specifying 
an array element, plain text is returned as the default if it exists.


--
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: Clipboard in version 4.0

2010-10-13 Thread Jonathan Lynch
Thanks J,

Unfortunately, I have tried using different elements of the clipboard array
already. When I copy the webpage in question (GPHIN, a restricted-access
site), it returns empty on all elements of the clipboardarray in 4.0, but
works fine in 2.6.1.

Also, for the second problem I listed, the clipboard[text] element returns
html text in 4.0, but works propertly 2.6.1 - this occurs when copying
certain eurekalert pages.

On Wed, Oct 13, 2010 at 11:48 AM, J. Landman Gay
jac...@hyperactivesw.comwrote:

 On 10/13/10 9:57 AM, Jonathan Lynch wrote:

 I recently experimented with upgrading to 4.0, but was not succesful. It
 turns out that version 2.6.1 can access items from the clipboard that 4.0
 cannot access. Two things happen - for copying from some webpages, the
 clipboard appears empty in 4.0 but has content (HTML information) in
 2.6.1.
 The second problem is that for copying from some webpages, the text
 portion
 of the clipboard is populated with html information in 4.0, but is
 populated
 properly with straight text in 2.6.1.


 The clipboard function was changed some time ago to specifically return
 different aspects of its content. It's now an array. You can retrieve the
 content in any specified format that the content may contain. There is more
 in the dictionary, but for text:

  the clipboardData[html] -- gives the html content
  the clipboardData[text] -- gives plain text content

 There are other options too. If you use the function without specifying an
 array element, plain text is returned as the default if it exists.

 --
 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: Clipboard in version 4.0

2010-10-13 Thread J. Landman Gay

On 10/13/10 10:53 AM, Jonathan Lynch wrote:

Thanks J,

Unfortunately, I have tried using different elements of the clipboard array
already. When I copy the webpage in question (GPHIN, a restricted-access
site), it returns empty on all elements of the clipboardarray in 4.0, but
works fine in 2.6.1.

Also, for the second problem I listed, the clipboard[text] element returns
html text in 4.0, but works propertly 2.6.1 - this occurs when copying
certain eurekalert pages.


I wonder if it's a function of your browser. I know in Firefox I had to 
install a plugin to allow me to choose either html or plain text when 
copying. If you copy and paste into a different app, what do you see? Is 
the behavior reproducible on other web pages too?


--
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: Clipboard in version 4.0

2010-10-13 Thread Jonathan Lynch
This problem only occurs on some web pages, but not most. Unfortunately, I
am restricted to using IE as my browser at work, and I have to access these
particular web pages.

I am just baffled by it working in 2.6.1 and not in 4.0. Both engines use a
clipboard array. \

I might be able to kludge together a work around using vbscript, shell, and
wscript. I would prefer that 4.0 have full access to the clipboard, though.

On Wed, Oct 13, 2010 at 12:18 PM, J. Landman Gay
jac...@hyperactivesw.comwrote:

 On 10/13/10 10:53 AM, Jonathan Lynch wrote:

 Thanks J,

 Unfortunately, I have tried using different elements of the clipboard
 array
 already. When I copy the webpage in question (GPHIN, a restricted-access
 site), it returns empty on all elements of the clipboardarray in 4.0, but
 works fine in 2.6.1.

 Also, for the second problem I listed, the clipboard[text] element
 returns
 html text in 4.0, but works propertly 2.6.1 - this occurs when copying
 certain eurekalert pages.


 I wonder if it's a function of your browser. I know in Firefox I had to
 install a plugin to allow me to choose either html or plain text when
 copying. If you copy and paste into a different app, what do you see? Is the
 behavior reproducible on other web pages too?


 --
 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