Search found 12 matches
- Thu May 29, 2008 5:29 pm
- Forum: Technical / Scripting
- Topic: Format Excel Cell
- Replies: 14
- Views: 14387
LF causes only the first found line to be written to excel. All subsequent lines are omitted somehow. I also tried CRLF and CR when DDEPoke>Excel. None allow me to simulate an ALT-ENTER press within Excel. //subStoreStatus------------------------------------subStoreStatus SRT>subStoreStatus ReadFile...
- Thu May 29, 2008 5:15 pm
- Forum: Technical / Scripting
- Topic: Format Excel Cell
- Replies: 14
- Views: 14387
Format Excel Cell
I have a M Scheduler script that reads a text file and combines specific lines into one variable. When the script has gathered all of the lines it needs, it writes it to excel. My text file looks like this: #0004: Job description 01/19/08 Step 1: do this 01/22/08 Step 2: do this after 01/24/08 Step ...
- Thu May 29, 2008 4:06 pm
- Forum: Beginners
- Topic: Remove line from .txt / convert .pdf to .txt /format cell
- Replies: 10
- Views: 10318
- Thu May 29, 2008 3:26 pm
- Forum: Beginners
- Topic: Remove line from .txt / convert .pdf to .txt /format cell
- Replies: 10
- Views: 10318
1. You can loop through the text file, writing the "keeper" lines to a new file, and skipping by the "throw away" lines. Thanks Bob, that sounds effective enough. I'll give that a try and see what it comes up with. EDIT: Ok, I looped it but i cant seem to omit the blank line nor the odd character. ...
- Thu May 29, 2008 2:28 pm
- Forum: Beginners
- Topic: Remove line from .txt / convert .pdf to .txt /format cell
- Replies: 10
- Views: 10318
Remove line from .txt / convert .pdf to .txt /format cell
I have a large text document from which I am importing particular lines of text into excel; however, I need to delete or completely remove any and all lines that begin with one of the following: [code] Page Task Name Start Finish "blank line with no text written to it. like a CRLF" [/code] After the...
- Thu May 29, 2008 11:55 am
- Forum: Beginners
- Topic: find first character of line
- Replies: 5
- Views: 7352
I have a couple more questions if you don't mind answering them. After all of the lines have been combined into a single line of text, such as the above code does, is it possible to enter soft returns that will simulate the ALT-ENTER that is in excel. I would like to have a crlf in between each line...
- Wed May 28, 2008 8:20 pm
- Forum: Beginners
- Topic: find first character of line
- Replies: 5
- Views: 7352
find first character of line
I have a text file that contains data I need to insert into an Excel file. I have found a way to search for the specific starting line of my data; however, I need to find a way to detect the final line of data. This is what a few lines of my data would look like: #0001: Job description 01/19/08 Step...
- Mon Mar 17, 2008 4:38 pm
- Forum: Enhancement Suggestions
- Topic: GetCursorType>resultvar
- Replies: 20
- Views: 44425
ID the current Cursor
I love the new waitcursorchanged> timeout! Great addition. However, waitcursorchanged is telling me when the cursor changes, and I use this feature quite often, but Is there a way to identify the current cursor or even Declare/define the current cursor so that next time the "cursor changes" I can sa...
- Fri Mar 14, 2008 1:52 pm
- Forum: Technical / Scripting
- Topic: detect "line number" for error code
- Replies: 1
- Views: 3251
detect "line number" for error code
Is there a function that can detect the current line of code so that I can output it into an error log? For example [code] Let>k=%k%+1 ScreenCapture>X,Y,x,y,C:\whatever\%k%.bmp WriteLn>Error found in Line %detectCurrentLineNumber% refer to %k%.bmp [/code] I have been manually inserting the correspon...
- Mon Mar 10, 2008 7:19 pm
- Forum: Beginners
- Topic: IF statement syntax
- Replies: 4
- Views: 6256
Found it. What a pain. I had called a variable named HC31 however, in my declarations above, This variable did not exist. I had named it HC21 instead of 31. All is well now. It would be great to have a feature that told you when your error is variable related instead of saying "( is expected" or "% ...
- Mon Mar 10, 2008 7:08 pm
- Forum: Beginners
- Topic: IF statement syntax
- Replies: 4
- Views: 6256
- Mon Mar 10, 2008 6:32 pm
- Forum: Beginners
- Topic: IF statement syntax
- Replies: 4
- Views: 6256
IF statement syntax
The following snippet checks 768 different pixels to see if the color at each spot matches one of 78 colors stored in 78 variables. The variables are declared at the beginning of the script. The scrip is writing the exact number of entries to the textfile every time.HC1-HC78 represent the colors. I ...