ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Alpha on November 18, 2014, 12:00:45 AM

Title: Question about Menu's & the info in them... Can you copy info to clipboard?
Post by: Alpha on November 18, 2014, 12:00:45 AM
If I used Event property on the items in a box and then displayed the corresponding #property strings for each item all in one big list menu...   Is it possible to copy that info directly out of the list menu to the clipboard?   Ultimately I'd be producing a txt file out of the information but instead of using UOA's vender agent to do it I was wondering if copying out of a menu was possible?    I know I could execute and write info to a file but it's been awhile since I've played with that stuff and didn't know if a simple copy/paste would do it?
Title: Re: Question about Menu's & the info in them... Can you copy info to clipboard?
Post by: Crome969 on November 18, 2014, 02:08:02 AM
If I used Event property on the items in a box and then displayed the corresponding #property strings for each item all in one big list menu...   Is it possible to copy that info directly out of the list menu to the clipboard?   Ultimately I'd be producing a txt file out of the information but instead of using UOA's vender agent to do it I was wondering if copying out of a menu was possible?    I know I could execute and write info to a file but it's been awhile since I've played with that stuff and didn't know if a simple copy/paste would do it?

If euo has a function to Clipboard.Set(TexT).
Else you could do as followed :

Write a Service in C# (or other languange) wich checks for a file your euo client writes. If the File exist, read out the content and use Clipboard.SetText(String Text). After successfully setting Text to Clipboard, delete the file.

Should be very easy .-)
Title: Re: Question about Menu's & the info in them... Can you copy info to clipboard?
Post by: manwinc on November 18, 2014, 03:20:18 AM
Be easier just to export to a text file. I think Roadkill had a writefast dos array that would write multiple lines at once.
Title: Re: Question about Menu's & the info in them... Can you copy info to clipboard?
Post by: Alpha on November 18, 2014, 07:55:47 AM
Ah.. ok thx for the info.   Ultimately I'm trying to use the old program SWarmorCalc again put in piles of Legendary / Major Artifacts into the executable.   The part that takes a wee bit of time is changing the txt file of the armor pieces so that it includes versions of each piece that are adjusted appropriately AS IF you enhanced with Barbed / Horned etc...    So the goal is to be able to use EUO to read through the properties of ARMOR in a chest and write a text file which would basically contain multiple versions of each given piece adjusted correctly for special materials.   The more options I plug into SWarmorCalc the better the chances that craziness pops out....   The Wheel Turns....   What once was will be again....\

I used to use SWarmorCalc exclusively before imbuing came out and now with the crazy Arty's it's worth using again.