Originally Posted by
daft009
this tool of yours looks awesome! thanks a lot for sharing!
though I would like to attempt to modify it for J as well, to maximise my points use.
Would I just add more origins/destinations in the qlikview code under "airports_temp:"?
have changed the imacro to business instead of first.
Correct. You would need to change 3 things for J availability:
- In the iMacros code, change line 75 to select Business from the drop-down menu
- In the QlikView code script (CTRL+E) under the Combinations tab, add or delete rows under airports_temp in the same format as what's already there, which is 2 comma-separated fields. The first field should be the 3-letter airport code. The second field should be enclosed in double quotes and should match what's in the Singapore site drop-down menu exactly (including capitalization).
- In the QlikView code script under the Data tab, you'll need to update line 39. This logic fixes a strange SQ "feature" which is that when first class is not available, the site returns economy class availability (which we obviously don't want when searching for Suites). Fortunately, they at least put up a message that "FIRST CLASS is unavailable" when they do that. This code block searches for that message. I don't know what the message would say if there's no business class availability. Presumably "BUSINESS CLASS is unavailable" but I don't know.
Also, I just noticed a bug in the QlikView app and uploaded a fixed version, so download that.