View Single Post
# 2 06-12-2011 , 05:20 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
Hi Caers,

Your #2 has already been created; https://www.exood4.com/melanie/
Also, you can now use QT's UI builder, so the issue of a UI builder is not really a problem any longer.

To your code:
With your implementation, why are you using so many hex strings? When many programmers see that; it automatically raises a red-flag, as it looks like you're trying to hide something. I'm guessing you're using this to write your files? Why not just code a copier in python, or even a shell script; other than with MEL. Doing it with hex strings will only confuse you; and others.

Anyways, I've tried many of your hex strings, and I keep getting a lot of x'es in the results. For example:

binascii.unhexlify('20202020202020202d636f6d6d616e 642078c978736f757263652078cc7878c97854657374205363 72697074203030312e6d656c78cc7878c9783b78cc786e78c9 782078c878')

' -command x\xc9xsource x\xccxx\xc9xTest Script 001.melx\xccxx\xc9x;x\xccxnx\xc9x x\xc8x'

And just to be clear; your first post makes it seem like this would work for any script. Is this the case? I just don't want people getting confused when they run it. user added image


Imagination is more important than knowledge.

Last edited by NextDesign; 06-12-2011 at 05:23 AM.