Re: Clipboard Anomally [BUG]?

2006-11-13 Thread Kay C Lan

OK folks, sorry for disappearing for a while but I had to pop out and earn
some money to feed the family:-)

I do have to say though that I'm a little disappointed, especially when I
see comments like:

I wish I could pin down when it fails,




when I believe I have created a recipe that does just that - although
granted if you're on Win and I've only done a Mac recipe I can understand.

Also, comments like:

Can you paste via the menu?, and




then you can switch to another program (other than BBedit or

TeachText) and see if you can paste it there. If you cannot, then perhaps
there's a problem with Automator. If you can paste it there, and it never
shows in Rev, you have an engine bug.



I thought I made it very clear at the beginning with:

but if you select any other application that

handles text and select 'Paste' or the keyboard shortcut, the contents
of your file will be pasted. Going back to Rev and using either the
keyboard or the menu will NOT paste anything into field Text.



[or a blank script, or the msg box]

But just to clarify, other than BBEdit and TextEdit, I can paste the
clipboard using the menu or the keyboard shortcut, into: NeoOffice -
Wordprocessing, Spreadsheet cell  text box in a Drawing; Stickies; the
search field in Google using Safari or FireFox; Mail; the search field in
Preview and Acrobat; the Spotlight field in Finder; AppleScript's Script
Editor; Terminal; the text entry field of the Dictionary Dashboard Widget;
the typing test field of the Keyboard tab of the Keyboard and Mouse
Preference Pane. I could test others

All I wanted was someone, just one other person, to repeat what I've done,
to either confirm what I'm experiencing (a bug) or determine that they don't
experience it (then it's my set-up). If it is confirmed then I believe it
will help solve the sporadic copy/paste anomalies that have been expressed
here, and rather than talk about hacks and work-arounds, we can hopefully
get Rev to copy/paste like it should.

So someone, please, with sugar on top:-)
___
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 Anomally [BUG]?

2006-11-13 Thread MisterX
Kay,

cut this into pieces...

If you can paste from any app into teachtext, you know your OS is working.
If you can't paste via menu shortcuts, the menus are at fault
If you can't paste via menus, either the menus are not scripted OK (I've
seen it happen) or indeed the clipboard is at fault...

One very simple way to see this:
make a palette stack, with a backscript that has the following:

on resume 
  put the clipboard into fld clips of stack clipboardwatcher
  put the clibpoarddata[text] into fld text of stack clipboardwatcher
  pass resume
end resume

as soon as you resume rev, your palette will show the clipboard content.

The same process can be made for the menu shortcut, and the
cutkey/copykey/pastekey messages...

Make a frontscript:

on controlkeydown k (or commandkeydown)
  put k into fld x of stack mypalette
  pass controlkeydown
end controlkeydown

on pastekey
  put pasting detected into fld x of stack keyboardwatcher
  pass pastekey
end pastekey

etc...

That should help you I think... There's sure a clipboard window app
somewhere like on MacOS 1.0 that shows you the OS's clipboard content too...
(there was a great Desk Accessory named Alchemist too which did what im
saying above plus lots more.

I was working on that but apparently, I can't change the
clipboarddata[html] as advertised.

We're all in the same boat! ;)

cheers
Xavier



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Kay C Lan
 Sent: Monday, 13 November, 2006 16:08
 To: How to use Revolution
 Subject: Re: Clipboard Anomally [BUG]?
 
 OK folks, sorry for disappearing for a while but I had to pop 
 out and earn some money to feed the family:-)
 
 I do have to say though that I'm a little disappointed, 
 especially when I see comments like:
 
 I wish I could pin down when it fails,
 
 
 when I believe I have created a recipe that does just that - 
 although granted if you're on Win and I've only done a Mac 
 recipe I can understand.
 
 Also, comments like:
 
 Can you paste via the menu?, and
 
 
 then you can switch to another program (other than BBedit or
  TeachText) and see if you can paste it there. If you cannot, then 
  perhaps there's a problem with Automator. If you can paste 
 it there, 
  and it never shows in Rev, you have an engine bug.
 
 
 I thought I made it very clear at the beginning with:
 
 but if you select any other application that
  handles text and select 'Paste' or the keyboard shortcut, 
 the contents 
  of your file will be pasted. Going back to Rev and using either the 
  keyboard or the menu will NOT paste anything into field Text.
 
 
 [or a blank script, or the msg box]
 
 But just to clarify, other than BBEdit and TextEdit, I can 
 paste the clipboard using the menu or the keyboard shortcut, 
 into: NeoOffice - Wordprocessing, Spreadsheet cell  text box 
 in a Drawing; Stickies; the search field in Google using 
 Safari or FireFox; Mail; the search field in Preview and 
 Acrobat; the Spotlight field in Finder; AppleScript's Script 
 Editor; Terminal; the text entry field of the Dictionary 
 Dashboard Widget; the typing test field of the Keyboard tab 
 of the Keyboard and Mouse Preference Pane. I could test others
 
 All I wanted was someone, just one other person, to repeat 
 what I've done, to either confirm what I'm experiencing (a 
 bug) or determine that they don't experience it (then it's my 
 set-up). If it is confirmed then I believe it will help solve 
 the sporadic copy/paste anomalies that have been expressed 
 here, and rather than talk about hacks and work-arounds, we 
 can hopefully get Rev to copy/paste like it should.
 
 So someone, please, with sugar on top:-) 
 ___
 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: Clipboard Anomally [BUG]?

2006-11-13 Thread Ken Ray
On 11/13/06 9:08 AM, Kay C Lan [EMAIL PROTECTED] wrote:


 All I wanted was someone, just one other person, to repeat what I've done,
 to either confirm what I'm experiencing (a bug) or determine that they don't
 experience it (then it's my set-up). If it is confirmed then I believe it
 will help solve the sporadic copy/paste anomalies that have been expressed
 here, and rather than talk about hacks and work-arounds, we can hopefully
 get Rev to copy/paste like it should.
 
 So someone, please, with sugar on top:-)

Confirmed, Kay, on OS 10.4.7 with Rev 2.7.4 (I also tested going back to
MetaCard 2.6.6, and it's the same thing, so it's systemic to the MC/Rev
engine).

I also noted that it didn't matter if Rev was already open or not. That is,
I had thought that perhaps Rev would initialize the scrap when it opened
and recognize any text that was there, so I quit Rev and relaunched and then
tried to paste or examine the clipboard and it was still empty (even though
I could switch to other apps and paste the text on the clipboard with
freedom).

One oddity I noticed was that if I switched back to the open TextEdit
document, highlighted the text and copied it *again*, then switched back to
Rev, it would recognize it.

I even tried a workaround with AppleScript to get the data on the clipboard
and still no dice.

Bug confirmed!

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
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 Anomally [BUG]?

2006-11-13 Thread Ken Ray
On 11/13/06 10:49 AM, MisterX [EMAIL PROTECTED] wrote:

 Kay,
 
 cut this into pieces...
 
 If you can paste from any app into teachtext, you know your OS is working.
 If you can't paste via menu shortcuts, the menus are at fault
 If you can't paste via menus, either the menus are not scripted OK (I've
 seen it happen) or indeed the clipboard is at fault...
 
 One very simple way to see this:
 make a palette stack, with a backscript that has the following:
 
 on resume 
   put the clipboard into fld clips of stack clipboardwatcher
   put the clibpoarddata[text] into fld text of stack clipboardwatcher
   pass resume
 end resume
 
 as soon as you resume rev, your palette will show the clipboard content.

Actually that's the problem, Xavier... when you resume Rev, the clipboard
registers as being empty, even though it actually has something in it (you
can tell because you can switch to any other app and paste).

IMHO, it's a confirmed bug (at least on OS X).

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
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 Anomally [BUG]?

2006-11-13 Thread Bill Marriott
Bug #(s)?

I also notice on Windows, whenever I paste something from Rev, that Rev 
blinks in the background. That's just plain weird! :)

Ken Ray wrote:

[...]
 Actually that's the problem, Xavier... when you resume Rev, the clipboard
 registers as being empty, even though it actually has something in it (you
 can tell because you can switch to any other app and paste).

 IMHO, it's a confirmed bug (at least on OS X).



___
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 Anomally [BUG]?

2006-11-13 Thread Ken Ray
On 11/13/06 11:06 AM, Bill Marriott [EMAIL PROTECTED] wrote:

 Bug #(s)?

Well, a related bug is #3877 that identifies that Rev doesn't recognize a
change in the clipboard when made by an outside agent, but I think the one
that is spot on is #2602 filed by Rodney Tamblyn, but this has been resolved
as CANT_REPRODUCE. I think RunRev needs to reopen it and let Kay add the
example that was posted.

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
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 Anomally [BUG]?

2006-11-13 Thread MisterX
that I haven't seen... yet...



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Bill Marriott
 Sent: Monday, 13 November, 2006 18:07
 To: use-revolution@lists.runrev.com
 Subject: Re: Clipboard Anomally [BUG]?
 
 Bug #(s)?
 
 I also notice on Windows, whenever I paste something from 
 Rev, that Rev blinks in the background. That's just plain weird! :)
 
 Ken Ray wrote:
 
 [...]
  Actually that's the problem, Xavier... when you resume Rev, the 
  clipboard registers as being empty, even though it actually has 
  something in it (you can tell because you can switch to any 
 other app and paste).
 
  IMHO, it's a confirmed bug (at least on OS X).
 
 
 
 ___
 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: Clipboard Anomally [BUG]?

2006-11-13 Thread MisterX
AFAIK, it works normally on PCs (usually ;) 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
 Sent: Monday, 13 November, 2006 18:01
 To: Use Revolution List
 Subject: Re: Clipboard Anomally [BUG]?
 
 On 11/13/06 10:49 AM, MisterX [EMAIL PROTECTED] wrote:
 
  Kay,
  
  cut this into pieces...
  
  If you can paste from any app into teachtext, you know your 
 OS is working.
  If you can't paste via menu shortcuts, the menus are at 
 fault If you 
  can't paste via menus, either the menus are not scripted OK 
 (I've seen 
  it happen) or indeed the clipboard is at fault...
  
  One very simple way to see this:
  make a palette stack, with a backscript that has the following:
  
  on resume 
put the clipboard into fld clips of stack clipboardwatcher
put the clibpoarddata[text] into fld text of stack 
 clipboardwatcher
pass resume
  end resume
  
  as soon as you resume rev, your palette will show the 
 clipboard content.
 
 Actually that's the problem, Xavier... when you resume Rev, 
 the clipboard registers as being empty, even though it 
 actually has something in it (you can tell because you can 
 switch to any other app and paste).
 
 IMHO, it's a confirmed bug (at least on OS X).
 
 Ken Ray
 Sons of Thunder Software, Inc.
 Web site: http://www.sonsothunder.com/
 Email: [EMAIL PROTECTED]
 
 
 ___
 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: Clipboard Anomally [BUG]?

2006-11-13 Thread Jim Ault
On 11/13/06 9:29 AM, Ken Ray [EMAIL PROTECTED] wrote:

 On 11/13/06 11:06 AM, Bill Marriott [EMAIL PROTECTED] wrote:
 
 Bug #(s)?
 
 Well, a related bug is #3877 that identifies that Rev doesn't recognize a
 change in the clipboard when made by an outside agent, but I think the one
 that is spot on is #2602 filed by Rodney Tamblyn, but this has been resolved
 as CANT_REPRODUCE. I think RunRev needs to reopen it and let Kay add the
 example that was posted.
I think the underlying problem is not that tech support
CANT_REPRODUCE the receipe

but rather it is
CONSISTENTLY INCONSISTENT to the user.

I have spent many hours over the last 2 years building work-arounds.

Jim Ault
Las Vegas


___
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 Anomally [BUG]?

2006-11-13 Thread Ken Ray
On 11/13/06 11:44 AM, Jim Ault [EMAIL PROTECTED] wrote:

 On 11/13/06 9:29 AM, Ken Ray [EMAIL PROTECTED] wrote:
 
 On 11/13/06 11:06 AM, Bill Marriott [EMAIL PROTECTED] wrote:
 
 Bug #(s)?
 
 Well, a related bug is #3877 that identifies that Rev doesn't recognize a
 change in the clipboard when made by an outside agent, but I think the one
 that is spot on is #2602 filed by Rodney Tamblyn, but this has been resolved
 as CANT_REPRODUCE. I think RunRev needs to reopen it and let Kay add the
 example that was posted.
 I think the underlying problem is not that tech support
 CANT_REPRODUCE the receipe
 
 but rather it is
 CONSISTENTLY INCONSISTENT to the user.

Well, I think that's why Kay made the post... if everyone who follows Kay's
instructions on OS X gets the same result, it is a consistently
reproduceable bug.

 I have spent many hours over the last 2 years building work-arounds.

Hopefully this can be fixed so no more workaround are needed...

:-)

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
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 Anomally [BUG]?

2006-11-13 Thread Bill Marriott
Ok, this thread is an excellent example of something that needs to be in the 
bug database, not the use-rev list.

Ken, will you add the comment(s) to the necessary bugs so it can be 
re-opened?

Thanks,

Bill

Ken Ray [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 On 11/13/06 11:44 AM, Jim Ault 
 [EMAIL PROTECTED] wrote:

 On 11/13/06 9:29 AM, Ken Ray 
 [EMAIL PROTECTED] wrote:

 On 11/13/06 11:06 AM, Bill Marriott [EMAIL PROTECTED] 
 wrote:

 Bug #(s)?

 Well, a related bug is #3877 that identifies that Rev doesn't recognize 
 a
 change in the clipboard when made by an outside agent, but I think the 
 one
 that is spot on is #2602 filed by Rodney Tamblyn, but this has been 
 resolved
 as CANT_REPRODUCE. I think RunRev needs to reopen it and let Kay add 
 the
 example that was posted.
 I think the underlying problem is not that tech support
 CANT_REPRODUCE the receipe

 but rather it is
 CONSISTENTLY INCONSISTENT to the user.

 Well, I think that's why Kay made the post... if everyone who follows 
 Kay's
 instructions on OS X gets the same result, it is a consistently
 reproduceable bug.

 I have spent many hours over the last 2 years building work-arounds.

 Hopefully this can be fixed so no more workaround are needed...

 :-)

 Ken Ray
 Sons of Thunder Software, Inc.
 Web site: http://www.sonsothunder.com/
 Email: [EMAIL PROTECTED]


 ___
 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: Clipboard Anomally [BUG]?

2006-11-13 Thread Kay C Lan

On 11/13/06 11:44 AM, Jim Ault [EMAIL PROTECTED] wrote:



 I think the underlying problem is not that tech support
 CANT_REPRODUCE the receipe

 but rather it is
 CONSISTENTLY INCONSISTENT to the user.



On 11/14/06, Ken Ray [EMAIL PROTECTED] responded:

Well, I think that's why Kay made the post... if everyone who follows Kay's

instructions on OS X gets the same result, it is a consistently
reproduceable bug.

 I have spent many hours over the last 2 years building work-arounds.

Hopefully this can be fixed so no more workaround are needed...



YES, precisely! Thank you so much Ken.

I'll look into Bugs #3877, #2602 and anything else that looks remotely like
an 'inconsistent clipboard anomaly' and add my recipe there. Might be a
little slow as I have to head off to my son's athletics carnival now.

Ken, thanks also for the extra detective work with the older versions of
MetaCard/Rev and the bit about Quitting and Restarting MC/Rev. I'll be sure
to include these details, acknowledged to you, in my Bugzilla entry.

Ken, I'll email you the 'sugar on top' off-list;-)

PS I was really starting to wonder there about my command of the English
language, fortunately bribery works every time:-)
___
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 Anomally [BUG]?

2006-11-13 Thread Ken Ray
On 11/13/06 5:54 PM, Bill Marriott [EMAIL PROTECTED] wrote:

 Ok, this thread is an excellent example of something that needs to be in the
 bug database, not the use-rev list.
 
 Ken, will you add the comment(s) to the necessary bugs so it can be
 re-opened?

Done!

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
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 Anomally [BUG]?

2006-11-13 Thread Ken Ray
On 11/13/06 6:08 PM, Kay C Lan [EMAIL PROTECTED] wrote:

 YES, precisely! Thank you so much Ken.
 
 I'll look into Bugs #3877, #2602 and anything else that looks remotely like
 an 'inconsistent clipboard anomaly' and add my recipe there.

 Ken, thanks also for the extra detective work with the older versions of
 MetaCard/Rev and the bit about Quitting and Restarting MC/Rev. I'll be sure
 to include these details, acknowledged to you, in my Bugzilla entry.


Thanks, Kay, but don't bother submitting an entry... I added your recipe and
my results to 2602 on Bill Marriott's suggestion.

However as I was adding it, I thought of something: suppose the act of
putting the text of the file via Automator sets it to be a special *type* of
clipboarddata that Rev doesn't understand? If so, it would then make sense
that it couldn't be pasted, and also why 'the clipboard' was 'empty'
(although I would suggest (if this is actually true) that this be changed to
'unknown'). The reason I mention is is that if I manually copy the text from
TextEdit and switch to Rev, it is in the clipboard.

Anyway, something for RunRev to ponder...

 Ken, I'll email you the 'sugar on top' off-list;-)
 
 PS I was really starting to wonder there about my command of the English
 language, fortunately bribery works every time:-)

:-D


Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
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 Anomally [BUG]?

2006-11-13 Thread Kay C Lan

On 11/14/06, Ken Ray [EMAIL PROTECTED] wrote:



Thanks, Kay, but don't bother submitting an entry... I added your recipe
and
my results to 2602 on Bill Marriott's suggestion.



Thanks again, I've gone and given it 5 votes:-)

However as I was adding it, I thought of something: suppose the act of

putting the text of the file via Automator sets it to be a special *type*
of
clipboarddata that Rev doesn't understand?



Yes, that does seem to be a logical explanation, and also one of the reasons
why I tried it with BBEdit as well with the extra step of converting the
Text to ASCII, just to make sure it was nothing but ASCII. Even if this is
the cause, as you infer, it suggest that Rev's filter is set a little too
tight, and by resolving this I'm hoping well experience a little more
consistency in copy/paste between other apps and Rev.

I'll be keeping an eye on 2602 ;-)
___
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 Anomally [BUG]?

2006-11-10 Thread Trevor DeVore

On Nov 8, 2006, at 11:47 PM, Kay C Lan wrote:


The occasional failure of the IDE to paste the contents of the  
clipboard.


Is this possibly related to this bug report?

http://support.runrev.com/bugdatabase/show_bug.cgi?id=3877

--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
[EMAIL PROTECTED]


___
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 Anomally [BUG]?

2006-11-10 Thread J. Landman Gay

Chipp Walters wrote:


Actually, I find copy/paste clipboard issues always occur when launching
Rev. Rev seems to always start with a clear clipboard on XP. I don't have
the same problem with copy/paste text in other apps.


I restarted WinXP, copied some text in Notepad, closed Notepad, reopened 
Notepad, and pasted. It worked. Then I relaunched Revolution, made a new 
stack with a field, and pasted. And that worked too. So it isn't 
consistent. Today's test seems to show that Rev doesn't automatically 
clear the clipboard.


I wish I could pin down when it fails, because I have a standalone with 
a registration dialog that users paste a serial number into. If they 
copy the serial from an email and launch my app, it only pastes 
sporadically. If the dialog is already open when they flip over to email 
to copy, it pastes every time.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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 Anomally [BUG]?

2006-11-10 Thread Mark MacKenzie
I need to be able to do this as well, for a registration stack 
function.  I have awful trouble with the copy and paste function 
(to/from clipboard) not working as it should.  You have described it 
perfectly.


Regards

Mark MacKenzie

J. Landman Gay wrote:


I restarted WinXP, copied some text in Notepad, closed Notepad, 
reopened Notepad, and pasted. It worked. Then I relaunched Revolution, 
made a new stack with a field, and pasted. And that worked too. So it 
isn't consistent. Today's test seems to show that Rev doesn't 
automatically clear the clipboard.


I wish I could pin down when it fails, because I have a standalone 
with a registration dialog that users paste a serial number into. If 
they copy the serial from an email and launch my app, it only pastes 
sporadically. If the dialog is already open when they flip over to 
email to copy, it pastes every time.



___
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 Anomally [BUG]?

2006-11-10 Thread J. Landman Gay

Mark MacKenzie wrote:
I need to be able to do this as well, for a registration stack 
function.  I have awful trouble with the copy and paste function 
(to/from clipboard) not working as it should.  You have described it 
perfectly.


One thing you might have to do is add a pasteKey handler to the dialog 
card. In my app, there are not yet any menus loaded when the initial 
registration window appears, so there is no automatic editing 
capabilities. I don't need copying, but I did need pasting, so I added 
this to the card:


on pasteKey
 put the clipboardData[text] into fld myRegField
end pasteKey

Or you might want to use the selectedfield if you allow pasting to any 
field. If you do need the ability to copy, take a look at copyKey in 
the docs and write a handler to catch that message too.


Adding the pasteKey handler got it working for me on all platforms, 
except that on Windows it works only some of the time.




Regards

Mark MacKenzie

J. Landman Gay wrote:


I restarted WinXP, copied some text in Notepad, closed Notepad, 
reopened Notepad, and pasted. It worked. Then I relaunched Revolution, 
made a new stack with a field, and pasted. And that worked too. So it 
isn't consistent. Today's test seems to show that Rev doesn't 
automatically clear the clipboard.


I wish I could pin down when it fails, because I have a standalone 
with a registration dialog that users paste a serial number into. If 
they copy the serial from an email and launch my app, it only pastes 
sporadically. If the dialog is already open when they flip over to 
email to copy, it pastes every time.



___
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




--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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 Anomally [BUG]?

2006-11-10 Thread Martin Baxter

J. Landman Gay wrote:

Chipp Walters wrote:


Actually, I find copy/paste clipboard issues always occur when launching
Rev. Rev seems to always start with a clear clipboard on XP. I don't have
the same problem with copy/paste text in other apps.


I restarted WinXP, copied some text in Notepad, closed Notepad, reopened 
Notepad, and pasted. It worked. Then I relaunched Revolution, made a new 
stack with a field, and pasted. And that worked too. So it isn't 
consistent. Today's test seems to show that Rev doesn't automatically 
clear the clipboard.


I wish I could pin down when it fails, because I have a standalone with 
a registration dialog that users paste a serial number into. If they 
copy the serial from an email and launch my app, it only pastes 
sporadically. If the dialog is already open when they flip over to email 
to copy, it pastes every time.




I dunno either, but some time ago when I was experimenting with a linux 
version of my app, I found that keyboard shortcuts for menu items in 
general failed on that platform, so I included a commandkey handler in 
the card script, and that worked reliably. Just thought I'd mention it.


Martin Baxter
___
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 Anomally [BUG]?

2006-11-09 Thread Chipp Walters

Kay,
Isn't there a simpler recipe...like open up BBEdit, select text, copy, then
paste into fld text?

Frankly, I'm not sure I even understand where the bug lies, the failure to
copy the text by Rev, or the failure of Automator to put the text on the
clipboard in a timely matter?

If I were you, I might want to try and distill this into a simpler form,
where anyone can recreate the bug in the minimal number of steps, w/out
introducing so many different outside variables.

Oh, and I might try:
wait 10 seconds with messages

Good luck!

-Chipp
___
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 Anomally [BUG]?

2006-11-09 Thread Jim Ault
On 11/8/06 11:47 PM, Kay C Lan [EMAIL PROTECTED] wrote:
 The occasional failure of the IDE to paste the contents of the clipboard.

This has been discussed before on this list, probably about a year ago.
Don't know if there is a Bugzilla or not.

Yes, the clipboardData is not 100% reliable.  I did create one solution for
AppleScript, moving text by copy in Excel, paste into BBEdit, copy, then
paste into Rev in order to bring some table data from Excel.  This produced
cleaner formatting(tabs), but still was not 100% reliable.  Without the
BBEdit step, less than 50% reliable.

My end solution was to parse the returned 'result' for the quote/comma list
format of AppleScript.  Works fine for limited needs.

If the simple Applescript return does not work for you, I would suggest you
save as a tempFile.txt to the desktop from AppleScript, then
put url (file:pathfilenameUsed.txt) into theVarYouWant
delete file pathfilenameUsed.txt

I can post the script I use to pass variables directly to Excel, then use
the returned values in Rev.  This does not involve triggering Excel VBA
macros, although you could.

Jim Ault
Las Vegas

On 11/8/06 11:47 PM, Kay C Lan [EMAIL PROTECTED] wrote:

 Well folks with the opportunity to spend all yesterday scripting, what
 did I do. I went bug hunting. I've never submitted a bug into Bugzilla
 but I felt it was time I stepped up and gave it a shot so I went after
 the 'IDE anomaly' that irks me most.
 
 The occasional failure of the IDE to paste the contents of the clipboard.
 
 Here is my recipe. Sorry this is Mac specific as it uses Automator - I
 guess there is some Windows equivalent of Automator which might
 produce a similar result.
 
 Basically when you run this script nothing ends up in field Text,
 nothing in the msg box, but if you select any other application that
 handles text and select 'Paste' or the keyboard shortcut, the contents
 of your file will be pasted. Going back to Rev and using either the
 keyboard or the menu will NOT paste anything into field Text.
 
 TextEdit Test
 Step 1: Start TextEdit, create a new document and enter some text.
 From the 'Format' menu select Make Plain Text and save to your
 desktop with a useful name like 'Input.txt' I left the Encoding as
 'Western (Mac OS Roman)'
 
 Step 2: If you are familiar with Automator:
 i) Finder action to Ask For Finder Items
 ii) Finder action to Open Finder Item Open with TextEdit
 iii) TextEdit action to Get Contents of TextEdit Document
 iv) System action to Copy to Clipboard
 v) TextEdit action to New Text File Save as Output.txt to 'Desktop'
 
 
 If you are not familiar with Automator:
 a) Select 'New' from the 'File' menu.
 b) Choose 'Finder' in Library column, Applications folder.
 c) Select from the 'Action' Column: Ask for Finder Items
 The defaults should be: Type: Files, Start at: Desktop, Allow Multiple: No
 d) Select from the 'Action' Column: Open Finder Items
 Change Open with: from the Default Application to TextEdit
 e) Choose 'TextEdit' in the Library column
 f) Drag Get Contents of TextEdit Document from the Action column to
 the Automator window.
 g) Drag Copy to Clipboard from the Action column to the Automator window.
 h) Choose 'TextEdit' from the Library column.
 i) Drag New Text File from the Action column to the Automator window.
 Set 'Save as' to Output.txt and 'Where' to Desktop
 
 
 Step 3: Save as... Text to CB TextEdit as an application. The name
 must be the same as used in the Rev script.
 
 Step 4: Click the Automator 'Run' button to confirm that it operates
 as expected (delete the Output.txt file created on your desktop)
 
 Step 5: In Rev create a new stack with one button Start and one field Text
 Step 6: In the button place the following script:
 
 Be careful of line breaks, line numbers are commented at the end.
 
 on mouseUP  --1
 set the clipboardData[text] to empty  --2
 do tell application  quote  Text to CB TextEdit  quote 
 return  run  return  end tell  return  tell application 
 quote  Revolution  quote  return  activate  return  end
 tell as AppleScript  --3
 --do tell application  quote  Text to CB BBEdit  quote 
 return  run  return  end tell  return  tell application 
 quote  Revolution  quote  return  activate  return  end
 tell as AppleScript  --4
 wait 10 seconds  --gives Automator time to do it's thing  --5
 select text of field Text  --6
 paste  --7
 --the breakpoint is here so that you can use the Variable Watcher
 to see that tMyStore initially contains empty then it is empty.  --8
 breakpoint  --9
 put the clipboard into tMyStore  --10
 put the clipboardData[Text] into tMyStore  --11
 put tMyStore into msg  --12
 end mouseUp  --13
 
 You'll notice in the script above a 'do' statement at line 4 which has
 been commented out. Because TextEdit isn't the most powerful text
 editor around I thought I'd give it another go using BBEdit, and one
 further step, converting the file contents to ASCII. I imagine this
 might be 

Re: Clipboard Anomally [BUG]?

2006-11-09 Thread Kay C Lan

On 11/9/06, Chipp Walters [EMAIL PROTECTED] wrote:

Isn't there a simpler recipe...like open up BBEdit, select text, copy, then
paste into fld text?


Yes, that works perfectly well, and I've long since discovered my own
workarounds, but I guess I failed to express my point clearly. Not the
first time:-)


Frankly, I'm not sure I even understand where the bug lies, the failure to
copy the text by Rev, or the failure of Automator to put the text on the
clipboard in a timely matter?


The 'possible' bug is that the keyboard shortcut for pasting text in
Rev occasionally doesn't work. I experience this several times a Rev
session BUT can not reproduce it reliably. I know that others on the
list have experienced the same anomaly. Jim, in his solution mentions
a 'not 100% reliable', which again means hard to actually pin down,
even harder to troubleshoot.

Through other scripting I've been doing I came across this situation
where Automator puts text into the clipboard and EVERY other
application can paste that text EXCEPT Rev. This happens, for me
anyway, EVERY TIME. Yes, it could be a problem with TextEdit, BBEdit
or Automator. But I feel that if others were to try this and got a
100% FAILURE, then that will help Rev quickly locate if the problem is
with Rev or one of the other Apps. If it is with Rev I fell that this
might go a long way in solving the random failure of Rev to paste the
clipboard.

Yes I do applogise, my recipe does look as though it is long and
tedious to work through, but actually, if you've done any work with
Automator, the whole process of creating a small text file, the
Autmator app and the Rev Stack should not be more than 10min.

Thanks to those who can spare the time:-)
___
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 Anomally [BUG]?

2006-11-09 Thread Kay C Lan

On 11/9/06, Chipp Walters [EMAIL PROTECTED] wrote:


Isn't there a simpler recipe...like open up BBEdit, select text, copy, then
paste into fld text?


Sorry, I didn't even make that clear:-(

As a recipe for showing the bug, no, what you propose does not do it.
Or doesn't do it frequently. I do have a firm belief that the
'trigger' for the bug is switching between apps. I typically have
several apps open and copy and paste code snippets from them. This
includes Preview and/or Acrobat, BBEdit and CopyPaste. But it's never
predictable.

As a recipe for getting BBEdit text into a Rev field, what you suggest
works 99.9% of the time, and I acknowledge that my process isn't a
logical way to get a text file into Rev, but I'm more focused on a
100% repeatable situation where the clipboard contains text, but Rev
won't paste it.

Now I hope I've expressed myself clearly:-)
___
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 Anomally [BUG]?

2006-11-09 Thread J. Landman Gay

Kay C Lan wrote:

On 11/9/06, Chipp Walters [EMAIL PROTECTED] wrote:

Isn't there a simpler recipe...like open up BBEdit, select text, copy, 
then

paste into fld text?


Sorry, I didn't even make that clear:-(

As a recipe for showing the bug, no, what you propose does not do it.
Or doesn't do it frequently. I do have a firm belief that the
'trigger' for the bug is switching between apps. I typically have
several apps open and copy and paste code snippets from them. This
includes Preview and/or Acrobat, BBEdit and CopyPaste. But it's never
predictable.

As a recipe for getting BBEdit text into a Rev field, what you suggest
works 99.9% of the time, and I acknowledge that my process isn't a
logical way to get a text file into Rev, but I'm more focused on a
100% repeatable situation where the clipboard contains text, but Rev
won't paste it.

Now I hope I've expressed myself clearly:-)


Do you have an openfield script in the field that won't accept a paste? 
Someone recently notified me of a problem with that, but I haven't had 
time to verify it yet. I don't think all openfield scripts cause a 
problem, but some particular ones might. Maybe we can narrow it down.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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 Anomally [BUG]?

2006-11-09 Thread Chipp Walters

Kay,

Can you paste via the menu? If so, then I imagine there is a problem with
the key shortcut, which would be an IDE bug and you could create a
frontscript plugin to override (if you really had to have this functionality
now). If you cannot paste via the menu, then perhaps you can put in the msg
box:

put the clipboarddata[text]  (I think that's the correct syntax)

and see if the data is even on the clipboard at all. If it's not on the
clipboard, then you can switch to another program (other than BBedit or
TeachText) and see if you can paste it there. If you cannot, then perhaps
there's a problem with Automator. If you can paste it there, and it never
shows in Rev, you have an engine bug.

best,

Chipp
___
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 Anomally [BUG]?

2006-11-09 Thread J. Landman Gay

Chipp Walters wrote:

If you cannot paste via the menu, then perhaps you can put in the msg
box:

put the clipboarddata[text]  (I think that's the correct syntax)

and see if the data is even on the clipboard at all.


Speaking of clipboards, I'm having some trouble in Windows. I found that 
if I have something on the clipboard and then I do some other action in 
the OS -- like launching an application -- the clipboard gets emptied. 
For example, I had some text on the clipboard, then I launched Rev, 
opened a stack, and tried to paste and the clipboard was gone. I thought 
it was a Rev bug, but when I repeated the experiment and opened Notepad 
instead, the same thing happened. But if both apps were already running, 
then the clipboard transfered over as long as I didn't do anything else 
in between. What makes that happen, and is there a workaround?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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 Anomally [BUG]?

2006-11-09 Thread Jim Ault
On 11/9/06 9:32 PM, Chipp Walters [EMAIL PROTECTED] wrote:
 Kay,
 
 Can you paste via the menu? If so, then I imagine there is a problem with
 the key shortcut, which would be an IDE bug and you could create a
 frontscript plugin to override (if you really had to have this functionality
 now). If you cannot paste via the menu, then perhaps you can put in the msg
 box: 

The keyboard shortcut not working for cut, copy, paste on Mac OSX and Rev
2.6.1 and for 2.7.2 has been discussed before (not sure about WinXP).  I
experience it every week and just start using the menu when it occurs.
Restarting Rev will fix it, but when developing, it is not worth the restart
just for this.  This is not limited to text between apps, but also copy
object, paste object, duplicate object within Rev.

From my days of programming with Excel intensively on Win and Mac, the
clipboard has many definitions (bit maps, charts, cell ranges, spinners,
etc) that I got used to clipboard data not being 'transportable' between
apps.  I just assumed that Rev was managing the clipboard in its own way and
the compatibility with the system clipboard environment was not perfect.

I could be wrong and it is a bug.  My opinion is not to trust the Rev
clipboard, just like the Excel variations I found.

Jim Ault
Las Vegas


___
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 Anomally [BUG]?

2006-11-09 Thread MisterX

on windows, you just cannot rely on menu shortcuts, anywhere... 

On Metacard they work though! Though the clipboard has it's issues too in MC
(like text between backslashed being stripped out! MC v2.5.1)

Launching new apps to paste into them certainly works (however, you will
loose your rev stack's selection for which another frontscript is needed)...

Lots of bugzillas since 2.1.2 have been posted but these features don't seem
to be tested for long because they go through every PC release unchecked...

I made a plugin 2 years ago to address this issue but it was ignored at
large as I remember - but it works great here! Trying to fix the html
problems of pasting out of rev also didn't work as I posted a week or 2 ago
- but that post too was ignored at large...

Regards,
Xavier

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jim Ault
 Sent: Friday, 10 November, 2006 07:26
 To: How to use Revolution
 Subject: Re: Clipboard Anomally [BUG]?
 
 On 11/9/06 9:32 PM, Chipp Walters [EMAIL PROTECTED] wrote:
  Kay,
  
  Can you paste via the menu? If so, then I imagine there is 
 a problem 
  with the key shortcut, which would be an IDE bug and you 
 could create 
  a frontscript plugin to override (if you really had to have this 
  functionality now). If you cannot paste via the menu, then 
 perhaps you 
  can put in the msg
  box: 
 
 The keyboard shortcut not working for cut, copy, paste on Mac 
 OSX and Rev
 2.6.1 and for 2.7.2 has been discussed before (not sure about 
 WinXP).  I experience it every week and just start using the 
 menu when it occurs.
 Restarting Rev will fix it, but when developing, it is not 
 worth the restart just for this.  This is not limited to text 
 between apps, but also copy object, paste object, duplicate 
 object within Rev.
 
 From my days of programming with Excel intensively on Win 
 and Mac, the
 clipboard has many definitions (bit maps, charts, cell 
 ranges, spinners,
 etc) that I got used to clipboard data not being 
 'transportable' between apps.  I just assumed that Rev was 
 managing the clipboard in its own way and the compatibility 
 with the system clipboard environment was not perfect.
 
 I could be wrong and it is a bug.  My opinion is not to trust 
 the Rev clipboard, just like the Excel variations I found.
 
 Jim Ault
 Las Vegas
 
 
 ___
 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: Clipboard Anomally [BUG]?

2006-11-09 Thread Chipp Walters

On 11/9/06, J. Landman Gay [EMAIL PROTECTED] wrote:


Speaking of clipboards, I'm having some trouble in Windows. I found that
if I have something on the clipboard and then I do some other action in
the OS -- like launching an application -- the clipboard gets emptied.
For example, I had some text on the clipboard, then I launched Rev,
opened a stack, and tried to paste and the clipboard was gone. I thought
it was a Rev bug, but when I repeated the experiment and opened Notepad
instead, the same thing happened. But if both apps were already running,
then the clipboard transfered over as long as I didn't do anything else
in between. What makes that happen, and is there a workaround?



Hi Jacque,
Actually, I find copy/paste clipboard issues always occur when launching
Rev. Rev seems to always start with a clear clipboard on XP. I don't have
the same problem with copy/paste text in other apps. I do have problems
copy/paste images to Photoshop on occassion, but there is a registry hack
for it.

best,
Chipp
___
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