Author Topic: Copy/paste ability within PS  (Read 1099 times)

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Copy/paste ability within PS
« on: September 23, 2008, 01:02:17 pm »
Any chance of enableing copy and past in the quest window?
« Last Edit: September 27, 2008, 10:27:42 am by neko kyouran »
Tontow's MapMaker Tool 2.0 : http://hydlaaplaza.com/smf/index.php?topic=33954.0 - Make your own maps by walking around and useing the /pos Command!
Site: http://sites.google.com/site/tontowmerlin/

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: new gui mods brought to you by planeshift3dmods
« Reply #1 on: September 23, 2008, 01:59:57 pm »
Any chance of enableing copy and past in the quest window?

that would not be a gui mod so no way.

Enaudni

  • Traveller
  • *
  • Posts: 38
    • View Profile
Re: new gui mods brought to you by planeshift3dmods
« Reply #2 on: September 23, 2008, 02:20:01 pm »
PT has a cross platform copy/paste plugin for CS and being open source I'd think it would be possible to use. Not a gui mod as caarrie said but definitely doable in other ways.
Posts: 1292 + whatever it says on the left ;)

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: new gui mods brought to you by planeshift3dmods
« Reply #3 on: September 23, 2008, 11:11:12 pm »
Can you give a link so I can take a look at it?

Edit: I know past can be down with a 3ed party program useing sendkeys in VB 6.0 .
« Last Edit: September 23, 2008, 11:13:21 pm by Tontow »
Tontow's MapMaker Tool 2.0 : http://hydlaaplaza.com/smf/index.php?topic=33954.0 - Make your own maps by walking around and useing the /pos Command!
Site: http://sites.google.com/site/tontowmerlin/

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: new gui mods brought to you by planeshift3dmods
« Reply #4 on: September 24, 2008, 12:10:56 am »
PT has a cross platform copy/paste plugin for CS and being open source I'd think it would be possible to use. Not a gui mod as caarrie said but definitely doable in other ways.
PT uses CEGUI so I'm not too sure they wrote the copy and paste code themselves.  Then again I'm looking through CEGUI's source code and I see the following in its editable text boxes:

Quote
/*************************************************************************
   TODO:

   Clipboard support
   Undo support
*************************************************************************/

EDIT:  OK so PT did write their own clipboard code, and they did it as a CS plugin so it should be reusable by any CS project GPL-compatible CS projects.  What it does is allow you to store and retrieve textual data to and from the system clipboard regardless of platform since they implemented it four times.  But you're still stuck with implementing text selection within the text box, and it seems CEGUI allows this but PAWS does not.  Also, there is no undo support.

EDIT 2:  I just realized their plugin is licensed under the GPL so it's not like they're gonna hand it over to Crystal Space or anything (which is LGPL) unless they relicense it.  So in reality it can only be used by GPL-compatible projects and not necessarily projects that use Crystal Space.  That still means PS can use it, but that makes my previous edit incorrect.  Also I'd rather it be a part of CS, and not have to download PT code to compile PS.
« Last Edit: September 24, 2008, 08:42:19 pm by Tuxide »

Tuathanach

  • Associate Developer
  • Hydlaa Citizen
  • *
  • Posts: 206
  • Arch Chancellor of the Knowledge Seekers
    • View Profile
    • Knowledge seekers
Re: new gui mods brought to you by planeshift3dmods
« Reply #5 on: September 26, 2008, 01:35:29 pm »
Some excellent mods \\o//
Shindroks Crater Project Wiki
Interested contact Myself or Zunna.
We are contactable ingame, by PM or on Discord

Tontow

  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: new gui mods brought to you by planeshift3dmods
« Reply #6 on: September 26, 2008, 01:51:09 pm »
I could make a Past utility that would past the contents of the clipboard in visual basic 6.0, but I have no clue how to program a copy.  Is there any intrest in a Pasting program?
Tontow's MapMaker Tool 2.0 : http://hydlaaplaza.com/smf/index.php?topic=33954.0 - Make your own maps by walking around and useing the /pos Command!
Site: http://sites.google.com/site/tontowmerlin/

Enaudni

  • Traveller
  • *
  • Posts: 38
    • View Profile
Re: new gui mods brought to you by planeshift3dmods
« Reply #7 on: September 26, 2008, 03:01:02 pm »
Tuxide: You might contact Rolenun. He wrote text highlighting for paws once and I had it working long ago.  The PT clipboard plugin was started with the initial plan of being used in PS it just wasn't wanted at the time possibly because those changes to paws were too intrusive (unicode support for instance).  PS could port over to CEGUI or implement the text highlighting and all in paws.  Also you wouldn't need to download PT code to compile PS, you'd just need to host your own version of the plugin in your own repo's leaving the copyright stuff in the file headers.  Its perfectly legal.

Regards,

Brant
Posts: 1292 + whatever it says on the left ;)

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: new gui mods brought to you by planeshift3dmods
« Reply #8 on: September 26, 2008, 11:55:48 pm »
Also you wouldn't need to download PT code to compile PS, you'd just need to host your own version of the plugin in your own repo's leaving the copyright stuff in the file headers.
What I'm saying is I would prefer if this plugin was LGPL and a part of Crystal Space but that's just me.

Enaudni

  • Traveller
  • *
  • Posts: 38
    • View Profile
Re: Copy/paste ability within PS
« Reply #9 on: October 07, 2008, 05:02:22 pm »
Actually res didn't want it in CS, hence why its in our tree.
Posts: 1292 + whatever it says on the left ;)

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: Copy/paste ability within PS
« Reply #10 on: October 07, 2008, 05:21:07 pm »
Still, I would prefer it if the plugin was LGPL.  I can be a license agreement nazi too if I wanted.

Enaudni

  • Traveller
  • *
  • Posts: 38
    • View Profile
Re: Copy/paste ability within PS
« Reply #11 on: October 07, 2008, 05:47:12 pm »
I don't see why it couldn't be considering what it is, I'll email Rolenun :)
Posts: 1292 + whatever it says on the left ;)