how to use wget to input a string into a text box and hit "download" button - wget

I'm trying to batch query a website with wget. The box name contains spaces such as "Enter sequence here", and I need to click "Submit" button to search. Any ideas how to pass this to wget? Thank you.

The box name contains spaces such as "Enter sequence here", and I need
to click "Submit" button to search. Any ideas how to pass this to wget?
wget is not browser automation tool, you would need other software if you want webbrowser to execute preprogrammed actions.
However, if above does send request to server and you are interesting in retrieving response to said request then wget might suffice. Please open developer tools (or similar - name might vary depending on browser) in your browsers (press F12 in Chrome) select network (or similar) then fill form and click Submit. Did new request appear? If so check its' verb, URL and headers, then construct suitable wget command based on this informaion.

Related

Log into a website using command line through a Progress 4GL UI

I am using the command "start " to open a website when a user clicks a button. The button is part of a UI written in Progress 4GL (ADM). Using the "start" command I am able to open the website. But, is there some way to pass on Login credentials as well so as to log into the website?
Here's the code snippet I am using on click of a button -
OS-COMMAND SILENT start "<website>".
You can pass parameters using a "?" in the URL. For example, to pass a search value into Google, you can use this URL:
OS-COMMAND SILENT START "http://www.google.com?q=searchvalue".
Your browser will display Google's page with "searchvalue" already in the Search field.
Look at the source of your webpage and find the username and password field names. Use those in the URL, separated by a "&". That should fill in the values when your START command opens the web page.

Is it possible to make a Confluence Search + Redirect Script which works based on URL/tags in the url

I would like to write a plug-in which fetches all the pages addresses/titles (or other identifiers) and redirects the user based on some input string probably a tag in the URL. Does making this sort of plug-in sound feasible? Alternatively, does this plug-in already exist?
I imagine an external script sends the user to "myconfluencewiki.com/redirectme#funnycats". From here the script looks through the wiki and finds "myconfluencewiki.com/fun/funnycats" and sends the user there instead. It does this by finding the title so that it works even if the page was originally on "myconfluencewiki.com/animals/funnycats".
There are some add-ons for redirections: Redirection, Advanced Redirection or HomePage Redirect.
If you still needs to develop your own add-on, the "path converter" module can be handy.
Regards,
Gorka

Choosing Fax Attachment during DocuSign Embedded Signing results in "cancel" event

I am making API calls to create an embedded signing URL token that enables our end user to see a DocuSign document. One of the tabs on the document is a file attachment. The file attachment appears when the user clicks on the tab, giving the option to "Choose File" or "Send By Fax".
If the user clicks on "Send By Fax", he/she gets a message saying that a cover sheet will be printed at the end of the signing process. The user can click on "OK".
After all of the tabs are validated a "FINISH" button appears. The user clicks on "FINISH" and then a "Send Attachment By Fax" message appears. The user clicks on "Print Cover Page" which downloads the cover page PDF. The user prints the PDF.
Then the user clicks on DONE, to close the dialog. Control is returned to the ReturnURL along with the parameter "event=cancel".
According to the documentation (https://www.docusign.com/p/RESTAPIGuide/RESTAPIGuide.htm#REST%20API%20References/Post%20Recipient%20View.htm?Highlight=fax_pending), the event parameter should be "event=fax_pending".
Is there any way to get the correct event parameter ("event=fax_pending" rather than "event=cancel") when awaiting a fax? Without the correct parameter, when we parse the response parameters we are lead to believe that the user canceled when in fact he/she is just planning to fax the attachment.
I just tried to repro this and was not able to repro. It is possible that you are on the older signing experience and experiencing a bug.
My experience:
1) Send envelope from a template
2) Create recipient view with respective information
3) access recipient view
4) Click Continue
5) Click "Other Actions" dropdown
6) Select "Print & Sign"
7) Click "Fax"
8) Click Download to download the PDF
9) Click "Finish"
10) Get result: default URL &?event=fax_pending appended
My result was:
https://www....com/?event=fax_pending
I did post a support request to support#docusign.com, and after a few days got a definitive answer. This event result is a known bug. However support told me of a work-around that is satisfactory for our purposes, which is to suppress the fax option during the attachment process. Here are the steps I followed:
log in to demo.docusign.net (na2.docusign.net for production)
click on preferences (drop-down in upper right)
click on branding (at left)
click on edit (to edit the brand)
click on resources
under signing resource click on Download Master
That downloads an XML file.
Add the following element as the last sub-element of : false
Save the file.
Click on Upload Captive Resource and upload the changed file

how to send facebook message automatically without api

guys
now i knew how to send message without using facebook api,
i could use url to fill the message textarea in facebook's website
www.facebook.com/messages/[user_id]?msg_prefill=XXX
but here i'd like to know how to send this message automatically
in April, i found a way to click "send" button automatically (find "send" button in html text and click it),
but now facebook hide theses html text so that i can't find this button in html text.
Therefore, can anybody provide some ways or point to send message automatically.
thanks
Use the console in you browser (usually F12 to open) firefox console is the most powerfull, your console should have a command like "element inspection" or similar, use this tool to analize the button you want, read ing the code you should find someting like "on click" or simsimilar, after this you will find a java command to push the button. Anyway to do this kind of stuff without being a programmer,use selenium IDE, very easy,only for firefox,you must download it from firefox as add on. Good luck!

IndexTank: why does InstantSearch ask me for a username and password?

I downloaded the tarball from the IndexTank JQuery Github page and extracted the archive as the instructions told me to.
I edited the test.html file and added my IndexTank public API URL and also my index name as per the instructions.
Then I opened the test.html file in Chrome and tried to use the search field.
So, my question is this:
Why, everytime I search for something, am I prompted with a browser popup asking me to enter in my username and password?
You need to go to your dashboard, click on Manage for your index and enable Public Search API. The option is right below the scoring functions.