Search found 18 matches

by allthenames
Fri Sep 28, 2012 2:51 am
Forum: Beginners
Topic: Trim
Replies: 6
Views: 10753

exception

How would I go about adding an exception here? For the times when the variable is less than 40 characters?

Thanks for your help/patience
by allthenames
Sat Aug 25, 2012 4:13 am
Forum: Beginners
Topic: Trim
Replies: 6
Views: 10753

Java?

Midstr>var,1,40,var


Any way to do this in Java?
by allthenames
Fri Jul 06, 2012 3:10 am
Forum: Beginners
Topic: Trim
Replies: 6
Views: 10753

perfect thanks
by allthenames
Thu Jun 28, 2012 5:03 am
Forum: Technical / Scripting
Topic: SMS Dialog Count Charaters
Replies: 5
Views: 8182

character limiting

Hi, I'm looking for something similar however without the input box. Something that will simply cut a variable to 40 characters.
by allthenames
Thu Jun 28, 2012 12:40 am
Forum: Beginners
Topic: Trim
Replies: 6
Views: 10753

Trim

Is there any way to trim or limit a variable to 40 characters? I am imputing data into excel and for my purposes the data can only be 40 characters long.

With the Trim> command?

Thanks for your help
by allthenames
Sat May 05, 2012 4:17 am
Forum: General Discussion
Topic: Editing CSV file
Replies: 10
Views: 16657

yep! it worked. I'll have to look into that dde code. Anyone else have any idea what i'm doing wrong here?
by allthenames
Sat May 05, 2012 3:31 am
Forum: General Discussion
Topic: Editing CSV file
Replies: 10
Views: 16657

it shows 5. No additional spaces. So thats working correctly I believe
by allthenames
Sat May 05, 2012 1:09 am
Forum: General Discussion
Topic: Editing CSV file
Replies: 10
Views: 16657

Thanks

Thanks it looks a little better except now i'm getting: 5*1.5 as "price" Let>k=1 Label>start setfocus>Excel* dderequest>Excel,C:\Program Files\screen-scraper basic edition\ItemsforVendio.txt,R%k%C9,cost,10 StringReplace>cell,SPACE,,cell Let>a=1.5 Let>price=%cost%*%a% MessageModal>cost MessageModal>p...
by allthenames
Fri May 04, 2012 8:26 pm
Forum: General Discussion
Topic: Editing CSV file
Replies: 10
Views: 16657

Editing CSV file

Trying to multiply "cost" by 1.5 and input the result in the next row as "price" Price always shows up as simply "price" rather than the numerical value Let>k=1 Label>start setfocus>Excel* dderequest>Excel,C:\Program Files\screen-scraper basic edition\ItemsforVendio.txt,R%k%C9,cost,10 StringReplace>...
by allthenames
Sun Nov 20, 2011 12:05 pm
Forum: Beginners
Topic: creating html pages from excel
Replies: 1
Views: 6705

creating html pages from excel

Hi, I just need a simple script that can create a filename and path based on a directory. For example CreateDir>C:\Users\Ben's Asus\Documents\%cell%\%cell%.txt with "cell" being the variable to save to. Here is my full script for reference. Let>k=1 Label>start let>ret=test setfocus>Excel* dderequest...
by allthenames
Sat Nov 19, 2011 1:00 pm
Forum: Technical / Scripting
Topic: Copy CSV to another Open Excel worksheet
Replies: 5
Views: 9218

Sorry that I'm thinking out loud. I believe I've realized my problem. I believe because the %fields_1% variable contains two columns it is creating an invalid file name. Is there any way to limit those results to each fields variable to represent one column? P.S these are "tab delimited" values Thanks
by allthenames
Sat Nov 19, 2011 12:48 pm
Forum: Technical / Scripting
Topic: Copy CSV to another Open Excel worksheet
Replies: 5
Views: 9218

Let>comma=, Separate>line,comma,fields ReadFile>C:\Program Files\screen-scraper basic edition\water.txt,TheFileData Separate>TheFileData,CRLF,Lines Let>comma=, Let>k=1 Repeat>k Let>CurrentLine=Lines_%k% //extract each field Separate>CurrentLine,comma,fields Let>filename=%fields_1%.txt WriteLn>C:\Use...
by allthenames
Sat Nov 19, 2011 10:04 am
Forum: Technical / Scripting
Topic: Copy CSV to another Open Excel worksheet
Replies: 5
Views: 9218

This is almost exactly what I'm looking for. Except maybe a lot different. I am trying to create web pages from an excel sheet using each line for a page and each cell as a variable. Therefore it would require the program to go through each line one at a time as it creates each page. I don't know if...
by allthenames
Thu Oct 13, 2011 4:09 am
Forum: Beginners
Topic: if null variable
Replies: 1
Views: 6764

if null variable

I'm looking for a simple script to press the back button if a variable is returned as "null" or is not a number.

This is a "screen scraping script" which gathers variables from copy/paste

so if f=null
then press backspace
else
then carry on

something like that. thanks for your help
by allthenames
Mon Jan 17, 2011 1:37 am
Forum: Beginners
Topic: Multiplying variables
Replies: 4
Views: 7289

wow

that worked beautifully. thanks. now i just have a simple easy question. i'm trying to do the click tag function and its not working. heres my new script // Generated by MacroScript WebRecorder 2.1 // Recorded on Wednesday, January 12, 2011, at 09:50 AM //Move the mouse cursor out of harm's way to a...
Sign up to our newsletter for free automation tips, tricks & discounts