Jump to content

Leanna

Members
  • Posts

    5
  • Joined

  • Last visited

Leanna's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. hannes08 Thank you very much! You helped me a lot! Works perfect.
  2. Hello! I have three arrays $F1 = StringSplit(“24|42|03|24|24|03|42”, “|”) $F2 = StringSplit( “11|10|60” , “|”) $F3 = StringSplit( “42|24|03” , “|”) How can I do the following: 1. To transform an array $F1 into array $R2 = “02|01|03|02|02|03|01” – every value here is the index in $F3 of $F1 value I.e. $F1[1] = 24 – it is the second element in $F3=> $R[1] = 01. …. $F1[6] =03 – it is the third element in $F3 => $R[6] = 03 How to make a new array? 2. To substitute every value in $F1 according to following key 24=11, 42=10, 03=60 (an array will be longer, thats why IF is not comfortable) The outcome should be $R2 = “10|11|60|10|10|60|11” Thank you!
  3. Yes, this works, it opens chrome. But what I need is to open a preopened tab with the Name Yahoo!. And the Yahoo tab may be not active. For example I have several tabs opened in Chrome: Google Yahoo and Amazon. Google tab is active. But i need to activate Yahoo tab. Is that possible?
  4. I've tested it. Opt("WinTitleMatchMode",2) WinActivate("[TITLE:Yahoo! - Google Chrome]") Works the same as WinActivate("[TITLE:Yahoo! - Google Chrome]") i.e. If chrome is inactive and the tab Yahoo is active - it activates Chrome, but if Chrome is inactive and Yahoo tab is inactive - nothing happens. Is there something else for solution? Thank you for trying to help.
  5. Hello, Could you help me, how can I activate a Chrome tab? The tab is not active among other Chrome tabs. WinActivate("[TITLE:Yahoo! - Google Chrome]") This code works only if "Yahoo! - Google Chrome" is an active tab in Chrome, in this case it works even if chrome is minimized or inactive.The code doesn't work if another tab is active for ex. Google tab. Could you help me to solve it?
×
×
  • Create New...