Jump to content



Photo

Selecting And Pressing Enter In Autofill Linkedin Advance Fields

enter linkedin scripting advancefields ubot

  • Please log in to reply
10 replies to this topic

#1 zikria.akbar

zikria.akbar

    Member

  • Members
  • PipPip
  • 25 posts
  • LocationMIlan
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 12 January 2017 - 03:21 AM

HI Guys, 

I bring a little challenge for all of you to Select and pressing Enter in Autofill LinkedIn Advance fields...

Please find the attached.

 

Any help will be appreciated.

Thanks,

Zikria

https://www..linkedin.com/in/zakbar 

 

Attached Files

  • Attached File  123.jpg   96.68KB   0 downloads


#2 bestmacros

bestmacros

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 421 posts
  • LocationIsrael
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 12 January 2017 - 10:51 AM

I recommend you to not invest your time in developing the bot for LinkedIn right now because very soon LinkedIn will change user interface for all accounts and you'll have to rebuild most of your LinkedIn bot software.

In general this kind of auto fill popups can be tracked by wait for element command and when just clicking on it or scraping it


bestmacros.jpg


#3 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 3229 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 12 January 2017 - 12:58 PM

Hard to say without knowing what page that is on but if you can select it you can use the {ENTER} keyword inside of your type text to send an enter key, so your text may look like:

your text here{ENTER}


#4 LoWrIdErTJ - BotGuru

LoWrIdErTJ - BotGuru

    Botguru.net

  • Moderators
  • 4777 posts
  • LocationMichigan
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 12 January 2017 - 10:48 PM

I replied on email to this same question and mentioned what to do.   Got no response back.



#5 zikria.akbar

zikria.akbar

    Member

  • Members
  • PipPip
  • 25 posts
  • LocationMIlan
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 13 January 2017 - 01:50 AM

 Thank you so much, guys, here and also, on email.  I solved the issue with following. 

        type text(<data-artdeco-is-focused="true">,your_text,"Standard")
        type text(<data-artdeco-is-focused="true">,"\{DOWN\}","Standard")
        click(<class="type-ahead-result-info">,"Left Click","No")
        plugin command("WindowsCommands.dll", "keyboard event", "Enter", "Key Press")

Also, Thank you for the suggestion not to build the BOT these days. But I am updating my BOTs with new interface.

Thank you so much once again.

Best,
Zikria


Edited by zikria.akbar, 13 January 2017 - 01:52 AM.


#6 zikria.akbar

zikria.akbar

    Member

  • Members
  • PipPip
  • 25 posts
  • LocationMIlan
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 13 January 2017 - 02:06 AM

Hello everyone, By the way I stuck now on another point now. Maybe you guys can suggest me something again.
LinkedIn was showing this kind of result in search: "" 10000 results, save search"

So, to get right loops to scrape LinkedIn results, I was using the following path.

 

 

        set(#scrape,$scrape attribute(<id="results_count">,"innertext"),"Global")
        
set(#lenvarscrape,$text length(#scrape),"Global")
        
if($comparison(#lenvarscrape,">= Greater than or equal to",50)) {
            
then {
                
set(#varlengthtodel,52,"Global")
            }
            
else {
                
set(#varlengthtodel,21,"Global")
            }
        }
        
wait(3)
        
set(#finallength,$substring(#scrape,0,$subtract(#lenvarscrape,#varlengthtodel)),"Global")
        
if($comparison(#finallength,"> Greater than",1000)) {
            
then {
                
set(#loops,100,"Global")
            }
            
else {
                
set(#loops,$divide(#finallength,10),"Global")
            }
        }

 

With above I was removing the on going text from the numeric value. Now LinkedIn is showing results like this “”Showing 34,083 results””” so on both sides we have some text. Can you guys help me to remove the text on both sides to get the numeric value only.
Thank you so much in advance.
Best, Zikria

#7 zikria.akbar

zikria.akbar

    Member

  • Members
  • PipPip
  • 25 posts
  • LocationMIlan
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 13 January 2017 - 02:19 AM

I found the solution for my second question, by using REPLACE function :$

 

thank you



#8 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 3229 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 13 January 2017 - 11:12 AM

        plugin command("WindowsCommands.dll", "keyboard event", "Enter", "Key Press")

 

I would use {ENTER} instead of this. This will act as if you are pressing enter on your keyboard so if you ran the bot and had another window that is active (with the bot in the background) it would press enter in the active window instead of in your program.



#9 zikria.akbar

zikria.akbar

    Member

  • Members
  • PipPip
  • 25 posts
  • LocationMIlan
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 13 January 2017 - 03:40 PM

thanks for the suggestion. :) it works well too.



#10 a7wazian

a7wazian

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts
  • OS:Windows 7
  • Total Memory:4Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 05 February 2017 - 07:43 PM

I would use {ENTER} instead of this. This will act as if you are pressing enter on your keyboard so if you ran the bot and had another window that is active (with the bot in the background) it would press enter in the active window instead of in your program.

hi
i need example for us {enter} :unsure:

x9R4n.jpg

 

I want to write comments on Instagram and send .But I do not want to use plugin command("WindowsCommands.dll", "keyboard event", "Enter", "Key Press").

 

 

 

2Jzpd.jpg

 

tnx my bro :)



#11 a7wazian

a7wazian

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts
  • OS:Windows 7
  • Total Memory:4Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 06 February 2017 - 11:01 AM

I would use {ENTER} instead of this. This will act as if you are pressing enter on your keyboard so if you ran the bot and had another window that is active (with the bot in the background) it would press enter in the active window instead of in your program.

:D  my bro i find this on http://network.ubots...-view/?p=122895

is your post.

You're Great :rolleyes:







Also tagged with one or more of these keywords: enter, linkedin, scripting, advancefields, ubot

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users