Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mikecoemd

    AS/400 Macro Date input

    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 =...
  2. mikecoemd

    AS/400 Macro Date input

    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...
  3. mikecoemd

    AS/400 Macro Date input

    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)...
  4. mikecoemd

    AS/400 Macro Date input

    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...
  5. mikecoemd

    AS/400 Macro Date input

    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?
  6. mikecoemd

    AS/400 Macro Date input

    That is a great example, but it keeps returning an error on line 19, which is "sub subSub1_(date_mmddyy)"!
  7. mikecoemd

    AS/400 Macro Date input

    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...
  8. mikecoemd

    AS/400 Macro Date input

    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...
  9. mikecoemd

    AS/400 Macro Date input

    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...
  10. mikecoemd

    AS/400 Macro Date input

    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...
  11. mikecoemd

    AS/400 Macro Date input

    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"?
  12. mikecoemd

    AS/400 Macro Date input

    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...

Part and Inventory Search

Back
Top