Search found 14 matches

by miles.williams
Tue Jun 14, 2005 3:08 pm
Forum: Technical / Scripting
Topic: Assigning text to a variable. Problem, text contains tabs.
Replies: 11
Views: 12502

SUCCESS !!!

Thank you guys I was pulling my hair out over that one, it works a treat ! Another problem solved.
by miles.williams
Wed Jun 08, 2005 11:06 am
Forum: Technical / Scripting
Topic: Assigning text to a variable. Problem, text contains tabs.
Replies: 11
Views: 12502

hmm

That appears to have not worked, I'll supply the entire section of script that might make things clearer : Previous to this I have copied and writeln'd text to a file c:\reminstruct.tmp... Let>linenum=1 ReadLn>c:\reminstruct.tmp,%linenum%,line Let>instructions=%line%%CR% Let>linenum=%linenum%+1 labe...
by miles.williams
Wed Jun 08, 2005 9:14 am
Forum: Technical / Scripting
Topic: Assigning text to a variable. Problem, text contains tabs.
Replies: 11
Views: 12502

Thank you very much

I know nothing about VB yet, but just to clarify : VBEVal>Replace("%INSTRUCTIONS%",vbTab,""),INSTRUCTIONS This will replace a tab space (vbTab) with nothing (what is between the "") Is that right ? If this is the case could I replace it with " " ? (seven spaces, not showing up properly) Or would I n...
by miles.williams
Wed Jun 08, 2005 8:30 am
Forum: Technical / Scripting
Topic: Assigning text to a variable. Problem, text contains tabs.
Replies: 11
Views: 12502

Re: Anyone ?

miles.williams wrote:Is there anyone out there that can shed some light on the subject ? If my post was a little too complicated, then in summary, I want to character replace the invisible gap (tab) with something else, like 5 "space"s
- Whoops sorry.
by miles.williams
Wed Jun 08, 2005 8:27 am
Forum: Technical / Scripting
Topic: Assigning text to a variable. Problem, text contains tabs.
Replies: 11
Views: 12502

Anyone ?

Is there anyone out there that can shed some light on the subject ? If my post was a little too complicated, then in summary, I want to character replace the invisible gap (tab) with something else, like 5 "space"s
by miles.williams
Mon Jun 06, 2005 12:24 pm
Forum: Technical / Scripting
Topic: How can we open window by giving partial title?
Replies: 3
Views: 6149

when typing in a URL in windows you only need to put in yahoo then press CTRL and enter and it will fill in the www. and .com

You could get macro scheduler to start a shortcut, windows would do the rest.
by miles.williams
Mon Jun 06, 2005 6:19 am
Forum: Technical / Scripting
Topic: Save, Open etc..
Replies: 1
Views: 4065

Silly question

I realise that this is a silly question but why are you "reinventing the wheel" ? Just use notepad ? Surely it already does what you are making ?
by miles.williams
Fri Jun 03, 2005 6:14 pm
Forum: Technical / Scripting
Topic: Press Right *10 DOES NOT RESPECT SK_DELAY TIMING
Replies: 1
Views: 3846

Just an idea.

looks like you are trying to get text from a file ? If so whynot get MS to read specific characters from the file, saving your computer from opening notepad and moving etc... I noticed what you are talking about when trying to slow a macro down to allow other apps to keep up, I just put "presses" in...
by miles.williams
Fri Jun 03, 2005 4:35 pm
Forum: Technical / Scripting
Topic: if within another if?
Replies: 1
Views: 3606

err....please explain...

Could you give an example or a little more details, I'm not sure I understand why you would want to.
by miles.williams
Fri Jun 03, 2005 3:48 pm
Forum: Technical / Scripting
Topic: Assigning text to a variable. Problem, text contains tabs.
Replies: 11
Views: 12502

Assigning text to a variable. Problem, text contains tabs.

I am copying text from an alarm system, writing it to a file, then assigning it to a variable, then entering it into a fault logging / ticketing system, the problem is that sometimes there is a Tab in the alarm text, this is being read as Press Tab and is shifting the focus and causing all sorts of ...
by miles.williams
Wed May 18, 2005 2:52 pm
Forum: Technical / Scripting
Topic: Character problem within a variable.
Replies: 8
Views: 12479

vars

I am in agreement with your, ideally I would just be able to surround the variable with bracket or character of somesort and it be ignored as possible commands and just treated as text. The reason I posted on here is because I like my scripts to be "tidy" 8)

Thanks again for your help.
by miles.williams
Wed May 18, 2005 2:34 pm
Forum: Technical / Scripting
Topic: Character problem within a variable.
Replies: 8
Views: 12479

stringreplace

I am doing both, your idea and mine, to see which works better, not that I think there will be much (if any) preformance issues with a line or two of text. I had never seent eh stringreplace command before, it is really helpful, there is a few macros that I am going to pop back and adjust with this ...
by miles.williams
Wed May 18, 2005 2:03 pm
Forum: Technical / Scripting
Topic: Character problem within a variable.
Replies: 8
Views: 12479

Cheers

Thank you for the reply, there is a little problem though, although I think you might be on to something with the string replace command. The text that I am assigning to %brief% is literally that, variable, the text is being copied from an alarm monitor and as you can imagine these alarms are differ...
by miles.williams
Fri May 13, 2005 9:00 am
Forum: Technical / Scripting
Topic: Character problem within a variable.
Replies: 8
Views: 12479

Character problem within a variable.

Hi guys, maybe you can help ..? I have a macro that assignes the following to a variable %brief% :- CFESJC02 has reported :- /usr/var/isis 94% full When trying to pass this and other variables to another macro I am faced with a problem : Macro>STKcreate.scp /impact=%impact% /brief=%brief% /msgtxt=%m...
Sign up to our newsletter for free automation tips, tricks & discounts