Jump to content
Sign in to follow this  
careca

How can i auto select an item in a drop down menu in IE?

Recommended Posts

careca

Hi ppl, so that's it, i have to use IE, and i'd like to make some sort of script or something like that to auto-select items in drop down menus, got the names, ids and classes, but lack the means to put it on a script or whatever that works.. searched around, but it's too messy for me, and i don't get it, so i thought maybe someone can show me in baby steps how it can be done.


Spoiler

Paster - Main function is to paste text, but has more functions. (No longer mantained, switched to String Trigger)

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
Palestinian

Look in the help file for _IEFormElementGetObjByName and _IEFormElementOptionSelect

Share this post


Link to post
Share on other sites
careca

Hi, im so sorry, forgot to mention, without using autoit.. could be almost sure had posted in a different section of the forum...


Spoiler

Paster - Main function is to paste text, but has more functions. (No longer mantained, switched to String Trigger)

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
Palestinian

Am sorry, without using AutoIt? you lost me there...

Share this post


Link to post
Share on other sites
careca

So.. here at work almost everything is locked up, can't install progs, add-ons, only have IE9.. so i was thinking of a way to automate some stuff i got to do, and being a newbie to javascript, started to read some stuff, and ended up with this thing that is set to open with IE on double click, it's supposed to open youtube and write 123 into the search input. Can you see the deal?

<!DOCTYPE html>
<html>
<body>
<script language="javascript">
window.open("https://www.youtube.com","_self", fullscreen=1);
location.assign("https://www.youtube.com")
document.getElementsByName("search_query").value="123"; 
document.getElementById("masthead-search-terms").value="456"; 
</script>
</body>
</html>

Spoiler

Paster - Main function is to paste text, but has more functions. (No longer mantained, switched to String Trigger)

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
Palestinian

Yes I can see the deal, but I fail to see how you expect to get Javascript support in here, try doing the same using AutoIt and you will get help, you can download the portable "zip" version of AutoIt and use it, you don't have to install anything and it can run on a windows limited user account.

Share this post


Link to post
Share on other sites
careca

I know, i thought i posted on the section of developers that deals with other languages, as for the autoit portable, as i said it's all locked and won't allow any exe's besides the ones of applications already installed, has a symantec protection thing and numerous layers of protection so stop ppl from running stuff.

Could a moderator move this topic into developer section please?


Spoiler

Paster - Main function is to paste text, but has more functions. (No longer mantained, switched to String Trigger)

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×