Search found 1091 matches

by Me_again
Sat Aug 25, 2012 5:17 pm
Forum: Beginners
Topic: Trim
Replies: 6
Views: 9758

We don't do Java here, but Google is your friend :wink:
by Me_again
Fri Aug 10, 2012 3:34 pm
Forum: General Discussion
Topic: Compile with extractable script tip
Replies: 4
Views: 9355

Compile with extractable script tip

I wanted to thank jrl for his "Compile with extractable script" tip posting http://www.mjtnet.com/forum/scripts-and-tips-f9.html - but I can't post there so I'll have to do it here.

Thanks for the program, must have been a lot of work, I can see a lot of use for it :D
by Me_again
Wed Jul 11, 2012 11:53 pm
Forum: Technical / Scripting
Topic: How do i read System Memory Areas
Replies: 2
Views: 3237

I can't test it at the moment but the bios information is in the registry:

HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosDate

HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosVersion

so you should be able to read it with MacroScheduler's RegistryReadKey> command.
by Me_again
Thu Jun 28, 2012 3:58 pm
Forum: Technical / Scripting
Topic: SMS Dialog Count Charaters
Replies: 5
Views: 7599

Re: character limiting

Hi, I'm looking for something similar however without the input box. Something that will simply cut a variable to 40 characters. Sounds too easy, maybe I'm missing something but can't you use MidStr> ? Edit: I now see you posted this in two places, at least you got the same answer both times :lol:
by Me_again
Wed Jun 27, 2012 10:01 pm
Forum: Technical / Scripting
Topic: FTPPutFile Multiple Files (2012)
Replies: 4
Views: 5281

Re: space fixed it

Removing the space fixed it; however, the file is corrupted. The file I am sending is a jpg image but it can't be viewed. .jpg is a binary file, but you are FTP'ing using ASCII mode (the ",,A" option), change to binary mode and it should be OK. Command Reference: Mode can be either A or I, where A ...
by Me_again
Mon Jun 25, 2012 9:36 pm
Forum: Technical / Scripting
Topic: Problem with variable
Replies: 3
Views: 3431

For a start the conditionals need to be re-defined. As you have them now the code will never get to the Else because any number that is greater than 1 is greater than zero so the first condition is met and then it's all over.

If>NumFound>0
Else>NumFound>1
by Me_again
Sat May 19, 2012 3:35 pm
Forum: Technical / Scripting
Topic: Separation help
Replies: 21
Views: 16968

Sneaky, but educational. A deal's a deal, I'll pay 5 for that :lol:


Hmmmm :oops: I've forgotten how to do it, can someone help me out?
by Me_again
Fri May 18, 2012 7:08 pm
Forum: Technical / Scripting
Topic: Separation help
Replies: 21
Views: 16968

jpuziano wrote:A solution in less than 8 lines is probably *impossible* but to make this interresting... I'll offer a Bounty.

5 Reputation points to anyone with the chops to pull it off.
I'll kick in 5 too, so come on folks, 10 points on the line here :lol:
by Me_again
Fri May 18, 2012 1:14 am
Forum: Technical / Scripting
Topic: Separation help
Replies: 21
Views: 16968

Very nice :) I think your whole line regex will be hard to beat. (The pattern can be directly in the regex line so < 8 is the target.)
by Me_again
Thu May 17, 2012 6:23 pm
Forum: Technical / Scripting
Topic: Separation help
Replies: 21
Views: 16968

There is probably a regex solution too. There sure is... and its shorter and simpler too! Well, this is shorter and simpler :wink: Let>pattern=[ ]{1,} Readfile>c:\dirfile.txt,data Separate>data,crlf,Line Let>kk=0 Repeat>kk Add>kk,1 Let>value=Line_%kk% RegEx>pattern,value,0,matches,num,1, ,value Sep...
by Me_again
Tue May 15, 2012 10:48 pm
Forum: Technical / Scripting
Topic: Separation help
Replies: 21
Views: 16968

JRL's posted code works for me, not sure why it doesn't work for you.

There is probably a regex solution too.
by Me_again
Tue May 15, 2012 4:14 am
Forum: Technical / Scripting
Topic: Separation help
Replies: 21
Views: 16968

If the problem really is multiple spaces then try: Readfile>c:\dirfile.txt,data Separate>data,crlf,Line Let>kk=0 Repeat>kk Add>kk,1 Let>value=Line_%kk% Separate>value,space,item Let>ff=%item_count%-9 If>ff>0 Let>qq=0 Repeat>qq Add>qq,1 StringReplace>value, , ,value Until>qq=ff EndIf Separate>value,s...
by Me_again
Wed May 09, 2012 9:36 pm
Forum: Technical / Scripting
Topic: How to use DelArray
Replies: 6
Views: 6676

Yeah, I was looking for the DelComment command :lol:

I pointed you to some help on suffixformat but then realized that it wasn't actually very helpful :(
by Me_again
Wed May 09, 2012 9:02 pm
Forum: Technical / Scripting
Topic: How to use DelArray
Replies: 6
Views: 6676

never mind...
by Me_again
Sat May 05, 2012 4:17 pm
Forum: General Discussion
Topic: Editing CSV file
Replies: 10
Views: 15569

Thanks JRL, I was thinking it might be a TAB

Code: Select all

To test replace MessageModal>cost with MDL>#%cost%# you should get

#5#

if there's a TAB or CRLF you may get

#5     # or 

#5
#
Sign up to our newsletter for free automation tips, tricks & discounts