Jump to content

Recommended Posts

Posted (edited)

More of a scrap than a script, anyway here it is:

shugo_img_.au3

Hope you like it! B)

Here is the program I used to create this, the instructions are included in the README:

image.zip

Edited by erifash
  • Moderators
Posted

Actually, I like that quite a bit erifash!!

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Very cool, I wish I was that good. B)


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted

Thanks! It was pretty easy to create, I was just working on it off and on for quite a while. B)

Modest too. :o


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

  • 3 months later...
Posted (edited)

Can I ask what you are trying to solve with line 28 in copy.au3.

$write = StringReplace(StringReplace(StringReplace(StringReplace(StringReplace($write, "|00", "|"), "|000", "|"), "|0000", "|"), "|00000", "|"), "|000000", "|0")

I think you are trying to remove leading 0's. Am I right?

But your hex call above limits the length to 6 chars. So... Are you getting any leading 0s. And so are these calls redundant and slowing your code down?

Edited by andyswarbs
Posted

Can I ask what you are trying to solve with line 28 in copy.au3.

$write = StringReplace(StringReplace(StringReplace(StringReplace(StringReplace($write, "|00", "|"), "|000", "|"), "|0000", "|"), "|00000", "|"), "|000000", "|0")

I think you are trying to remove leading 0's. Am I right?

But your hex call above limits the length to 6 chars. So... Are you getting any leading 0s. And so are these calls redundant and slowing your code down?

I am not sure if it slows it down significantly, but it does reduce the length of the final string.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...