kcvinu Posted February 21, 2015 Share Posted February 21, 2015 Hi there, I made a script to rename the default file of chrome's "Save As" window. default file name is "unnamed". And chrome will automatically replace that filename to "unnamed(1)" to "unnamed(99)". But after saving your 99th image, there is no automatic file naming. So i made a script for that. But i would like to run this script when i click on the "Save Image As" context menu item in chrome. Is it possible ? If so, then how. Thanks in advance. Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
topten Posted February 21, 2015 Share Posted February 21, 2015 Why dont you make it already executed, sitting in the tray and listening for the event? kcvinu 1 Link to comment Share on other sites More sharing options...
JohnOne Posted February 21, 2015 Share Posted February 21, 2015 You should really look into how create your own context menu entry. kcvinu 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
kcvinu Posted February 21, 2015 Author Share Posted February 21, 2015 (edited) Hi topten, As far as i know, if i start this script with windows, i need to write an infinite while loop and state a condition. If the condition is true, my function will work. But for that, i need to waste my processor power for all time by using an infinite loop. Am i right ? Edited February 21, 2015 by kcvinu Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
topten Posted February 21, 2015 Share Posted February 21, 2015 If you check other processes which exist on your computer- You will be surprised that hundreds of them exist on the computers of users and 90% of them are listenning to something. This should'nt affect the processor power much. kcvinu 1 Link to comment Share on other sites More sharing options...
kcvinu Posted February 21, 2015 Author Share Posted February 21, 2015 Hi JohnOne, Yes.. i need to learn how to create my context menu entry in explorer and a web browser. Can you suggest some good examples ? Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
kcvinu Posted February 21, 2015 Author Share Posted February 21, 2015 Hi topten, So you mean adding one script with an infinite while loop won't be a problem ?. Then it's ok. I thought that doing such is a bad idea. Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
topten Posted February 21, 2015 Share Posted February 21, 2015 I would suggest to use IE.au3 library it is more flexible than chrome for learning. With that (IE) you can navigate onto webpage, read the contents of HTML and then parse the images on the website kcvinu 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now