Re: I can not copy text from TextEdit or Pages to rev

2010-07-21 Thread J. Landman Gay

On 7/21/10 10:25 AM, Reinhold Venzl-Schubert wrote:

Hi!

I cannot copy text from TextEdit or Pages (Mac) to rev.


I just tested with TextEdit and Rev 4.0 on OS X Snow Leopard, and it 
copies and pastes fine for me. No problems.



I can copy text from rev to TextEdit or Pages, but the text is only

> black, no colors!

You will get plain text in TextEdit unless you change the format to 
"Rich Text". When I do that, the colors and styling are pasted correctly.


I didn't try Pages, my copy if very old.

--
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: I can not copy text from TextEdit or Pages to rev

2010-07-21 Thread Richard Gaskin

Reinhold Venzl-Schubert wrote:


I cannot copy text from TextEdit or Pages (Mac) to rev.
I can copy text from rev to TextEdit or Pages, but the text is only black, no 
colors!

Is it a bug in rev?


Might be.  If you can paste elsewhere I'd say it is.

This may be related to a similar issue reported by others using Linux.

Which OS version are you using, and which version of Rev?

And does this happen only with the script editor, or with other Rev 
fields also?


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


I can not copy text from TextEdit or Pages to rev

2010-07-21 Thread Reinhold Venzl-Schubert
Hi!

I cannot copy text from TextEdit or Pages (Mac) to rev.
I can copy text from rev to TextEdit or Pages, but the text is only black, no 
colors!

Is it a bug in rev?

Reinhold___
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: windows shell & copy text

2006-09-15 Thread Mark Wieder
sims-

Wednesday, September 13, 2006, 9:40:43 PM, you wrote:

> With OS X  Applescript  I can use the following to place hilited text

I haven't tried it, but maybe something like this would do the trick:

http://www.autohotkey.com/

-- 
-Mark Wieder
 [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: windows shell & copy text

2006-09-13 Thread sims

At 11:09 PM -0600 9/13/06, Dar Scott wrote:
There is a way, with an external, to get the contents of field, if 
it is a standard field in a recognizable window hierarchy.  I have 
seen some tools that create a tree so one can find the path to the 
field.

There is also a way to find the frontmost window.


Thanks Dar, but the goal is to get only the hilited text from that 
field onto the clipboard.



In the Applescript I sent, the following does a 'command key C' or 
copy which gets the

hilited text of the frontmost window:

tell application "System Events"
key code 8 using command down
end tell

So, I need to be able to do a 'copy' using the frontmost window.

ciao,
sims

European Rev Conference  2006
www.techietours.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: windows shell & copy text

2006-09-13 Thread Dar Scott


On Sep 13, 2006, at 10:40 PM, sims wrote:


Is there a Windows method for doing the same thing?


There is a way, with an external, to get the contents of field, if it  
is a standard field in a recognizable window hierarchy.  I have seen  
some tools that create a tree so one can find the path to the field.   
There is also a way to find the frontmost window.


Maybe some of those tools are available in a command-line form and  
shell() can be used to find the data.


Dar

--
**
Dar Scott
Dar Scott Consulting  and  Dar's Lab
8637 Horacio Place NE
Albuquerque, NM 87111

Lab, office, home:  +1 505 299 9497
Fax:call above first
Skype:  ask

http://www.swcp.com/dsc
[EMAIL PROTECTED]

Computer programming
**


___
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: windows shell & copy text

2006-09-13 Thread sims
With OS X  Applescript  I can use the following to place hilited text 
from the font most application

onto the clipboard:
--
tell application "System Events"
	set frontApp to name of first application process whose 
frontmost is true

end tell
tell application  frontApp
activate
tell application "System Events"
key code 8 using command down
end tell
end tell
-

Is there a Windows method for doing the same thing?

Please excuse the repeated question but this is important for me  :-/

ciao,
sims

European Rev Conference  2006
www.techietours.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


windows shell & copy text

2006-09-07 Thread sims


With OS X  Applescript  I can use the following to place hilited text 
from the font most application

onto the clipboard:
--
tell application "System Events"
	set frontApp to name of first application process whose 
frontmost is true

end tell
tell application  frontApp
activate
tell application "System Events"
key code 8 using command down
end tell
end tell
-


Is there a shell script in Windows that will do the same?

ciao,
sims

European Rev Conference  2006
www.techietours.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: Problems with copy text

2003-11-12 Thread Bill Vlahos
Thanks Klaus. That did it.

I modified the script to be able to do multiple lines.

put empty into tCopy -- initialize tCopy
repeat for each item tItem in (the hilitedLines of fld "Directory")
  put line tItem of field "Directory" & return after tCopy
end repeat
set clipboarddata["text"] to tCopy
Bill Vlahos

On Nov 12, 2003, at 11:59 AM, Klaus Major wrote:

Hi Bill,

I have a list field which I populate with data and search. When a 
search entry is found in the field
I set the hilitedline of it so that the user sees a line found in 
addition to the outlined word.

This looks fine but when I try to copy it nothing gets to the 
clipboard. If I click on the line
and select copy then the correct information goes to the clipboard.
Really?

Here nothing gets copied when i select a line in a listfield and do 
"copy"...

Anyway, you can do the "copy thingie" manually by adding these lines 
where necessary:

set clipboarddata["text"] to line (the hilitedlines of fld 
"Directory") of fld "Directory"

You get the picture...

Here is the find script which is the script of a field:

local lineNumberFound
on keyDown
find empty -- gets rid of the find box around text and resets 
find to the beginning
pass keyDown
end keyDown
on keyUp
  find field "Search Text" in field "Directory"
  put the foundLine into lineNumberFound
  set the hilitedLine of field "Directory" to word 2 of 
lineNumberFound
## here,

end keyUp
on returnInField
  send mouseUp to button "Find Next"
  put the foundLine into lineNumberFound
  set the hilitedLine of field "Directory" to word 2 of 
lineNumberFound
##here...

end returnInField
on arrowKey theKey
  if theKey is "up" then put word 2 of lineNumberFound - 1 into 
lineNumberFound
  if theKey is "down" then put word 2 of lineNumberFound + 1 into 
lineNumberFound
  set the hilitedLine of field "Directory" to lineNumberFound -- 
actually hilite line
## and/or here...
## Works for me...
  --  put the "Line " & hilitedLine of field "Directory" into 
lineNumberFound -- "Line " is a dummy to get the number as 2nd word
end arrowKey

Is there something else I need to set in the search to "really" 
select the line?
No, should work this way...

Mac OS 10.3.1 Rev 2.1.2
Dito :-)

Hope this helps and hope i understood you right ;-)

Bill Vlahos
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Problems with copy text

2003-11-12 Thread Klaus Major
Hi Bill,

I have a list field which I populate with data and search. When a 
search entry is found in the field
I set the hilitedline of it so that the user sees a line found in 
addition to the outlined word.

This looks fine but when I try to copy it nothing gets to the 
clipboard. If I click on the line
and select copy then the correct information goes to the clipboard.
Really?

Here nothing gets copied when i select a line in a listfield and do 
"copy"...

Anyway, you can do the "copy thingie" manually by adding these lines 
where necessary:

set clipboarddata["text"] to line (the hilitedlines of fld "Directory") 
of fld "Directory"

You get the picture...

Here is the find script which is the script of a field:

local lineNumberFound
on keyDown
find empty -- gets rid of the find box around text and resets find 
to the beginning
pass keyDown
end keyDown
on keyUp
  find field "Search Text" in field "Directory"
  put the foundLine into lineNumberFound
  set the hilitedLine of field "Directory" to word 2 of lineNumberFound
## here,

end keyUp
on returnInField
  send mouseUp to button "Find Next"
  put the foundLine into lineNumberFound
  set the hilitedLine of field "Directory" to word 2 of lineNumberFound
##here...

end returnInField
on arrowKey theKey
  if theKey is "up" then put word 2 of lineNumberFound - 1 into 
lineNumberFound
  if theKey is "down" then put word 2 of lineNumberFound + 1 into 
lineNumberFound
  set the hilitedLine of field "Directory" to lineNumberFound -- 
actually hilite line
## and/or here...
## Works for me...
  --  put the "Line " & hilitedLine of field "Directory" into 
lineNumberFound -- "Line " is a dummy to get the number as 2nd word
end arrowKey

Is there something else I need to set in the search to "really" select 
the line?
No, should work this way...

Mac OS 10.3.1 Rev 2.1.2
Dito :-)

Hope this helps and hope i understood you right ;-)

Bill Vlahos
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Problems with copy text

2003-11-12 Thread Bill Vlahos
I have a list field which I populate with data and search. When a 
search entry is found in the field I set the hilitedline of it so that 
the user sees a line found in addition to the outlined word.

This looks fine but when I try to copy it nothing gets to the 
clipboard. If I click on the line and select copy then the correct 
information goes to the clipboard.

Here is the find script which is the script of a field:

local lineNumberFound
on keyDown
find empty -- gets rid of the find box around text and resets find 
to the beginning
pass keyDown
end keyDown
on keyUp
  find field "Search Text" in field "Directory"
  put the foundLine into lineNumberFound
  set the hilitedLine of field "Directory" to word 2 of lineNumberFound
end keyUp
on returnInField
  send mouseUp to button "Find Next"
  put the foundLine into lineNumberFound
  set the hilitedLine of field "Directory" to word 2 of lineNumberFound
end returnInField
on arrowKey theKey
  if theKey is "up" then put word 2 of lineNumberFound - 1 into 
lineNumberFound
  if theKey is "down" then put word 2 of lineNumberFound + 1 into 
lineNumberFound
  set the hilitedLine of field "Directory" to lineNumberFound -- 
actually hilite line
  --  put the "Line " & hilitedLine of field "Directory" into 
lineNumberFound -- "Line " is a dummy to get the number as 2nd word
end arrowKey

Is there something else I need to set in the search to "really" select 
the line?

Mac OS 10.3.1 Rev 2.1.2

Bill Vlahos

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: copy text

2002-09-20 Thread Roger . E . Eller


Yves,

There has got to be a more graceful method, but this works for me...

  put thePath/to/theFile into tPath
  put URL("file:"&tPath) into fld "theTx"
  select the text of fld "theTx"
  doMenu "Copy"

Roger Eller
[EMAIL PROTECTED]

> Hi,
>
> I've a text file and want to place the text in the clipboard
>
> put thePath/to/theFile into tPath
> put URL("file:"&tPath) into theTx
>
> how can I place the text of theTx in the clipboard... ?
>
> (the goal is to paste it later in another software)
>
> Thanks.
> --
> Greetings.
>
> Yves COPPE



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: copy text

2002-09-20 Thread Scott Rossi

Recently, "Yves Coppé"  wrote:

> I've a text file and want to place the text in the clipboard
> 
> put thePath/to/theFile into tPath
> put URL("file:"&tPath) into theTx
>
> how can I place the text of theTx in the clipboard... ?

Not sure if there's an updated way to do this, but the old way is to paste
the text into a field, select the text of the field, and copy.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



copy text

2002-09-20 Thread Yves Coppé

Hi,

I've a text file and want to place the text in the clipboard

put thePath/to/theFile into tPath
put URL("file:"&tPath) into theTx



how can I place the text of theTx in the clipboard... ?

(the goal is to paste it later in another software)

Thanks.
-- 
Greetings.

Yves COPPE

Email : [EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution