Problem with passing text with a string to Whatsapp application - excel

i wrote some rows of code in VBA to speed up some daily activities that i have to do at work.
My intention is to create an hyperlink to add in a cell, which opens Whatsapp application (not web), in a particular chat (given by the phone number), and shows a text that i have written.
The final hyperlink text is this:
whatsapp://send/?phone=&text=
At this point, when i click on the cell, Whatsapp application starts, shows the correct chat with the phone number passed by the string, but don't show the text of the message.
With Whatsapp open, showing the chat, if i click for a second time on the hyperlink, Whatsapp loads also the message that i wrote.
I think that this is some kind of bug, have you ever experienced this?
Thank you
P.S. Sorry for my english :(

Related

How to select a value from a pop screen and bring back to main screen in excel VBA through Selenium

I have a web form in which I need to enter repetitive data to configure the application and I am writing an excel macro in VBA to achieve this.
Data entry to all fields went well except one field. The field contains a pre-validated list of values, so there are two values SALES and SALES_TAX and when I put SALES, it opens up a pop up screen to select either through image or a radio button to bring the value back to main screen.
I could not able to achieve it and need some help on this please.
Thanks
AM
I am uploading a screenshot and few commands which I tried as below but failed to achieve the desired result,
Sceenshot
driver.FindElementByXPath("//input[#class='xo' and #id= 'N1:N8:0']").Click
driver.FindElementByXPath("//input[#id='N1:N8:0']").Click
driver.Actions.Click ("/SALES")pe here

subform excel 2013 work around

My main programming experience is with access, but now I have to develope in excel. However I used subforms alot but don't see how I can do the same or similar in excel.
What I'm trying to do is have a subform that shows notes. Each note has a date initials and body. On the main form is a button to add notes.
So when you open the main record page you see the ongoing activity without
the need to change pages and you can scroll back through the history of notes
.
Is it possible to have a scrollable text area as long as it can show multiple notes?
I`ve already spent quite a bit of time developing an application in Excel and
don't really want to switch to Access at this point as most of the rest of the app requires Excel.
Not looking for complete code but at least pointing me in the right direction.
Thanks
Pete

How do I take the title of a website and add it to an Excel spreadsheet using AppleScript + Excel

I'm pretty sure this is an easy task, but I can't seem to find what I'm looking for.
In short, I would like to use a keyboard shortcut take the title of the current page I'm on, and save it to an Excel document, basically creating a log of websites. If possible, I would like to add a link to the title that is saved in Excel.
I know how to add the Applescript as a service or workflow and such, but I can't wrap my mind around how to code this. The farthest I've gotten is grabbing the name of the website, but have no clue how to paste it to Excel, add a link to the title, then go to the next line.
Thank you for any assistance you may have.
Try these two lines of AppleScript
tell first document of application "Safari" to set pageTitle to name
tell first document of application "Safari" to set pageURL to URL

Google Form input validation via script before submission?

I have a form currently set up and I am wanting to link validation between 2 options. For example, we ask for a phone number. If they mistype their number, we don't know which one to dial or use. I was wondering if there was a script that will read their responses and check that they entered the same data into 2 certain boxes, so that if the boxes don't match, they get an error when they click submit to go back and check that their data matches.
It's not possible to add scripting behavior to a Google Form that runs when the form is being filled out. It's only possible to add scripting when the form is being created/edited or after it's been submitted.

excel spreadsheet data to web form

I'm looking to place my company's trailer inventory on a few free classified ad sites. Our inventory database (filemaker) can export data into an excel spreadsheet (column A-Make, B-Model, C-Year, etc.) including the URLs of the photos of each trailer.
Our dealer sites allow for bulk uploading through XML and that works great.
My problem is on the smaller free classified ad sites that have a web form that needs filled out (the example I'm using here has text fields and drop-down menus, but other sites have check boxes and radio buttons) then submitted for each individual trailer (about 90 trailers). I'm wondering how I can use the data in my spreadsheet to auto-fill the form with the information in row 1, submit it, re-navigate back to the form and repeat the process with the info in row 2 and so on. I know that I'm going to have to tailor my data and columns to fit each site (match column names to field names and change relevant data to match drop down options, etc.).
**edit Also (although not necessary) it would be nice if it was possible to have my photo URLs entered as well (if at all possible).
I've created a "test" account on http://www.horseclicks.com. Once logged in you have to click on "My Trailers" on the left and then the "add" button
user: excelhelp
pass: excel
Any takers??
This doesn't completely answer your question, but would save you some time entering the forms manually. If you know the names of input tags on the form you want to fill out, you can write a Javascript that will fill out the form for you: i.e., document.getElementById('your_name').value=Name[x]; etc.
In that example, Name would be an array that would contain a list of the names you wanted to put in the input field "your_name". You can easily turn an Excel sheet into a Javascript array by exporting to CSV and cut/paste into your code. Make it so that the value of x increases by 1 each time the script is ran.
Take your whole javascript, and turn it into one line that starts with "javascript:" and place this as a bookmark in your toolbar. Now you can go to the form, hit the your bookmark button and it will fill out the form. Hit submit, go back to the form, hit the button again...

Resources