Mikrom, I finished my whole script and it froze up a few times -- would you mind looking over it? Sometimes it goes faster than the AS400 is ready to accept input and it freezes!
Questions:
1. is there a way to analyze the text on screen so I can create more complex macros? eg. if screen =...
Everything worked like a charm this morning! Many thanks!
is this language one that I can define subs and then call upon them in a specified order? For example, this would run in sequential order unless otherwise specified by one of these subs, correct?
Sub1
Series of events
end sub
sub2...
So... I could have the first date represented by "call subSub1_(my_date)" and the second date represented y "call subSub1_(my_date2)" all within the same sub?
'SUBSUB1 DEMONSTRATES INPUT FROM THE DIM MY_DATE TEXTBOX BEING UTILIZED
sub subSub1_(date_mmddyy)...
microm,
The following macro works perfectly, but there's a little left to be desired. For instance: there are multiple times within one macro that I will need to recall the data for 'my_date' and 'my_date2'... is there any way I can do this without creating a prompt for each instance? I don't...
Thanks, I was able to get it working with your help! Thank-you VERY much!
One more quick question: How would I make my macro pause, and have a pop-up box appear that says, "Do xxxx now, then press okay to continue" and then continue the macro after "Ok" is pressed?
Okay here is a simple way to pick your brain and get to the solution. I know there are easier examples to use, but I understand this one (and I'm very tired):
Question: If I ran this and put in a "1" to activate Macro1, what additional code would need to be inserted or changed to make the...
Thanks, I've got your example working pretty well, but I can't figure our how to take the messagebox INPUT and have it used later in the subs!
I will look at your 2nd example here and see how it works.
I'm sorry if I'm overlooking your answers, but I am very new to this. Thanks for your help...
It keeps throwing an error and I don't really know how to get an InputBox into this because I can't find any resources or parameters for using an InputBox, do you know how to craft the macro below into prompting me for my input?
[PCOMM SCRIPT HEADER]
LANGUAGE=VBSCRIPT
DESCRIPTION=
[PCOMM SCRIPT...
Mikron, you've nailed it! It is definitely NOT an AS/400 program, but rather a macro!
That link you posted was helpful, but I still can't make much sense of it...I will try to play with InputBox and see if I can make it do what I want!
Also, are there any resources for what some of these...
This is within an AS400 program. I can't seem to make that function as it's purely VBSCRIPT. No HTML!
Any ideas how to just add yesterday's date in MMDDYY format as a SendKeys "DATEHERE"?
Forgive my newbieness, but I am trying to make my workday more efficient and am pretty new to scripting macros!
Here is my goal: to have a macro that prompts me for input once for a value that can be recalled and re-used. (I wish I knew the terminology, but don't - so bear with me!). Below is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.