NetTalk Central

Author Topic: How about adding some helper funcions  (Read 2793 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
How about adding some helper funcions
« on: December 02, 2022, 03:01:47 PM »
How about some p_web helper functions like:

p_web.PushButton(string p_btnname)
    ex:    p_web.Script('document.getElementsByName(''bRefrescarMapa'')[0].click();')
p_web.ShowBusy(string p_left,string p_top)
    ex:    p_web.Script('$("#_busy").css(''left'',''50%'').css(''top'',''40%'').css(''display'',''flex'');')
p_web.HideBusy()
    ex:    p_web.Script('$("#_busy").css(''display'',''none'');')
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How about adding some helper funcions
« Reply #1 on: December 07, 2022, 01:38:46 AM »
noted. I'm not sure where this ends though. there are more-or-less an infinite number of things that could come into play here.