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 Mike Lewis 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. Cactus612

    Trouble getting macro to loop in Outlook

    Well, after a little tinkering, I've gotten the macro to do what I want; it just doesn't do it how I want. The issue seems to be with our e-mail program rather than the macro. What seems to be at the root is this string...
  2. Cactus612

    Trouble getting macro to loop in Outlook

    Here's the full for...next loop: for i = 1 to (ypos-1) seats = strip(winstring (i,45,19)," ",1) dept_time = strip(winstring (i,33,4), " ", 2) arr_time = strip(winstring (i,39,4), "",2) action_code = winstring(i,28,2) if action_code = "WK" then goto skip_this_itin_line if action_code = "UN"...
  3. Cactus612

    Trouble getting macro to loop in Outlook

    Forgive my poor information. I'll try to clarify things. First, a tick equals .1 second Where the macro gets the information as to how many segments are in the itinerary is in this line for i = 1 to (ypos-1) This tells the macro to read the itinerary from row 1 to 1 row above where the cursor...
  4. Cactus612

    Trouble getting macro to loop in Outlook

    BTW, the macro needs to sit at the green light, or else it doesn't properly scrape the data off the displays.
  5. Cactus612

    Trouble getting macro to loop in Outlook

    Here's the last bit of code (edited for privacy). Perhaps saying Outlook was a bit inaccurate. It won't call Outlook by name. The macro simply composes an e-mail in whatever the default mail program is. At my company, it happens to be Outlook. label skip_this_itin_line next i label...
  6. Cactus612

    Trouble getting macro to loop in Outlook

    We must be using a simpler code method. Supposedly, though, this is CASL Macro language. We're not talking Extra! - just the in app text editor. We've already got the sessions established. All we set up is code that works with reservations. The items with dashes do not execute. Waiting...
  7. Cactus612

    Trouble getting macro to loop in Outlook

    sorry, here's the code that I'm using: reply "*i`<transmit>"; wait 5 ticks for i = 1 to (ypos-1) seg_nbr = strip(winstring (i,1,2), " ", 1) seats = strip(winstring (i,45,19)," ",1) if seats = "/UA" then seatsb = "" if seats = "/R" then seatsb = " " seatsa = subst (seats,"*","/") seatsb =...
  8. Cactus612

    Trouble getting macro to loop in Outlook

    I work for a major US airline that uses InfoConnect 9 to access our native system. What I'm trying to do is set up a macro that will scrape a passengers itinerary off an Attachmate screen, and put that information in an e-mail. I've got all the formatting set up, except that Outlook only saves...

Part and Inventory Search

Back
Top