Navigating drop down menus

Get help with using AutoHotkey and its commands and hotkeys
dmoney7612
Posts: 1
Joined: 27 Mar 2019, 07:55

Navigating drop down menus

27 Mar 2019, 08:41

I am attempting to create a simple script for work that fills out SalesForce cases. As seen in the attachment, I'm able to get the text boxes filled out, but cannot seem to work a command that completes the "category" and "status" drop down menus. I've tried {Down} arrow and {Enter} commands, but was not having any luck with those. Does anyone have a solution for this? I appreciate any insights. Thanks folks!
Attachments
Capture.PNG
(22.96 KiB) Downloaded 32 times
Stavencross
Posts: 82
Joined: 24 May 2016, 16:42

Re: Navigating drop down menus

27 Mar 2019, 08:46

dmoney7612 wrote:
27 Mar 2019, 08:41
I am attempting to create a simple script for work that fills out SalesForce cases. As seen in the attachment, I'm able to get the text boxes filled out, but cannot seem to work a command that completes the "category" and "status" drop down menus. I've tried {Down} arrow and {Enter} commands, but was not having any luck with those. Does anyone have a solution for this? I appreciate any insights. Thanks folks!
I had to deal with this as well. Unfortuantly, without injecting javascript this is a pain. What I did is utilize the sales view in salesforce and pass my info in via URL parameters.

Here is a URL my script uses:

Code: Select all

<yoursalesforcedomain>/500/e?&RecordType=0120L000000NRX0&CF00N0L000006gk5O=%cleanAccountName%&CF00N0L000006gk5O_lkid=%accountId%&cas4=%cleanParentName%&cas4_lkid=%parentId%&ent=Case&00N0L000006BMrT=DDC-Websites&cas5=New+change&cas6=New+Change+`%28New+Service`%2Ftask`%29&nooverride=`%2F1`%2F&00N0L000006BMrO=%cleancategory%&cas11=%origin%&cas14=%cleanSubject%&cas15=%body%
You'll need to inspect the page and collect the correct field names though, as well as collect the record type, and know all the required information

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], Chemomancer, malikye, mikeyww, Nekrocow, Spawnova, theon, Timmy347, vmech and 39 guests