ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ªÑɲ§ì¨ú°±滞¦b¬Y个ÊI页¤Wªº问题

[µo°Ý] ªÑɲ§ì¨ú°±滞¦b¬Y个ÊI页¤Wªº问题

¥»©«³Ì«á¥Ñ DanielWONG ©ó 2024-7-13 13:44 ½s¿è

¨C¤Ñ»Ý­nVBA¦Û动§ì¨ú¤L¤Q个ªÑ²¼ªº¥æ©ö«H®§¡A¤@¯ë还®¼顺§Qªº¡A¦ý¦b¬Y¨Ç¤£©T©wªºªÑ²¼ÊI页¤W¡Aµ{§Ç¤@ª½°±滞¦b¨º¤Q¤À钟¨ì¤@¤p时³£¤£¦V«e¨«¡A»Ý­n¤â动REFRESH¤@¤U¤~©¹¤U¨«¡A§Ú写¤F¤U­±ªºµ{§Ç·Q让ÊI页¤@¬q时间¦Z¦Û动¨ê·s¡A

¥»©«³Ì«á¥Ñ DanielWONG ©ó 2024-7-13 13:50 ½s¿è
  1. starttime = Timer
  2. Set Lastprice = Selechrome.FindElementById("labelLast")
  3. Set Openprice0 = Selechrome.FindElementById("valPrevClose")
  4. Set Total0 = Selechrome.FindElementById("cp_pLeft")

  5. If Timer - starttime > 10 Then
  6. Selechrome.Refresh
  7. Set Lastprice = Selechrome.FindElementById("labelLast")
  8. Set Openprice0 = Selechrome.FindElementById("valPrevClose")
  9. Set Total0 = Selechrome.FindElementById("cp_pLeft")
  10. Else
  11. End If
½Æ»s¥N½X

TOP

but not work well

TOP

        ÀR«ä¦Û¦b : ¤ß¤¤±`¦sµ½¸Ñ¡B¥]®e¡B·P«ä¡Bª¾¨¬¡B±¤ºÖ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD