Search found 1381 matches

by support
Mon Nov 21, 2005 6:18 pm
Forum: Beginners
Topic: send> command prob.
Replies: 5
Views: 6843

Hi, Please explain exactly what you mean by "It stopped working". I expect it IS working, but just isn't doing quite what you are thinking it should do. The area you highlighted has some Send commands but you have no proceeding SetFocus or, for that matter, any other window functions. The characters...
by support
Mon Nov 21, 2005 3:14 pm
Forum: Technical / Scripting
Topic: msg_stayontop and focus problem ver 7.4.009 date 20-10-2005
Replies: 6
Views: 7631

Can you post script snippet showing problem? message will stay on top above any other windows if you have msg_stayontop set to 1 but does not grab focus.
by support
Mon Nov 21, 2005 7:44 am
Forum: Technical / Scripting
Topic: Data from Oracle
Replies: 2
Views: 3787

Create a VBScript function which opens the datasource and assigns the recordset result of the SQL statement to a global VBScript variable (Dim the variable before the functions). Then have another VBScript function which retrieves the next row (or a specified row - i.e. it takes a row number as a pa...
by support
Thu Nov 17, 2005 2:05 pm
Forum: Technical / Scripting
Topic: String handling
Replies: 7
Views: 7658

Quotes are needed in VBEval and Complex Expressions. VBScript expects strings in quotes. Complex Expressions need strings in quotes so that it can differentiate between strings and numbers and variables.

Pos is a complex expression function
Position is a native Macro Scheduler function.
by support
Thu Nov 17, 2005 2:02 pm
Forum: Technical / Scripting
Topic: replace character in line
Replies: 4
Views: 5805

If you always want to replace character 27 with A: //extract chars 1 to 26 MidStr>line,1,26,firstbit //extract chars 28 onwards Length>line,L MidStr>line,28,L,lastbit //Put them together with replaced character: Let>newline=%firstbit%A%lastbit% If you just want to replace all occurences of a charact...
by support
Thu Nov 17, 2005 11:56 am
Forum: Enhancement Suggestions
Topic: cc or bcc with smtpsendmail
Replies: 5
Views: 12482

Hi, I have just checked the code and I can see that semicolons OR commas are acceptable in the recipients list. So you can use either. Of course if the recipients are hardcoded into the command then you need to use semicolons, but you can use commas if you like when using a variable. We are adding S...
by support
Thu Nov 17, 2005 10:31 am
Forum: Technical / Scripting
Topic: String handling
Replies: 7
Views: 7658

No, sorry, Ich habe keinen blassen schimmer. I have read your previous message and it is all wrong. I think you do not understand what Position is supposed to do because your expectations appear to be wrong. Or I am still misunderstanding you. Please try this script. I have tested it with your data ...
by support
Thu Nov 17, 2005 8:21 am
Forum: Technical / Scripting
Topic: replace character in line
Replies: 4
Views: 5805

If it's always in the same position just use MidStr.
by support
Wed Nov 16, 2005 9:15 pm
Forum: Enhancement Suggestions
Topic: cc or bcc with smtpsendmail
Replies: 5
Views: 12482

Can't be commas, that doesn't make sense! Commas are delimiters between parameters so commas would just cause an error or failure. recipients is first parameter of SMTPSendMail command. If you have three recipients separated by commas SMTPSendMail will think first one is recipients, second is server...
by support
Wed Nov 16, 2005 8:25 pm
Forum: Beginners
Topic: GetRectCheckSum error
Replies: 2
Views: 4841

Well you forgot the endif, so it thought you wanted legacy syntax. You also need to make sure you the latest version that supports if/else/endif. Your script should have looked like this: GetRectCheckSum>37,363,40,365,grcs1 if>%grcs1%1046898 gosub>error3 Endif If you have 7.3 or above that will work...
by support
Wed Nov 16, 2005 5:40 pm
Forum: Technical / Scripting
Topic: clipboard
Replies: 4
Views: 5516

This is fixed in version 8.0.
by support
Wed Nov 16, 2005 5:39 pm
Forum: Technical / Scripting
Topic: String handling
Replies: 7
Views: 7658

I didn't understand a word of that. Position returns the index of the position of the substring in a string. It tells you where that substring starts in the given string.
by support
Wed Nov 16, 2005 4:18 pm
Forum: Beginners
Topic: trying to stop script
Replies: 9
Views: 10942

I'm having difficulty understanding what you want to do. Am I right in saying you want to show the error and then exit? If so surely you just to do Goto>end after the Gosup and put a label at the end of the script called end. If I have misunderstood you please post your entire script and explain wha...
by support
Wed Nov 16, 2005 1:49 pm
Forum: Technical / Scripting
Topic: IfWindowOpen
Replies: 3
Views: 5260

Trailing means "coming after". So it's a space at the end of the line.
by support
Wed Nov 16, 2005 1:08 pm
Forum: Technical / Scripting
Topic: IfWindowOpen
Replies: 3
Views: 5260

This means it can't find the label. Perhaps it is spelt different or has a space before or after it. Hard to know without seeing your full unedited script. It if looks right then check for trailing blanks on the IfWindowOpen line and the Label line.
Sign up to our newsletter for free automation tips, tricks & discounts