SandhyaSuneel Posted November 18, 2015 Share Posted November 18, 2015 Hi All,I am trying to launch my application.Run("C:\Mediabeacon.exe") and now i am unable to switch the tab and start the application by send Send("{TAB}").Can some one please help me on this. Link to comment Share on other sites More sharing options...
SandhyaSuneel Posted November 18, 2015 Author Share Posted November 18, 2015 Hi All,I am trying to launch my application by using Run commandRun("C:\Mediabeacon.exe")and now i am unable to start my application, I code is here which i used.Run("C:\Program Files\MediaBeacon\MediaBeacon\MediaBeacon64.exe")WinWaitActive("MediaBeacon")Send("^{TAB}")Please help me on this.Thanks in advance. Link to comment Share on other sites More sharing options...
TheSaint Posted November 18, 2015 Share Posted November 18, 2015 Try the following, and see what you get.Run("C:\Program Files\MediaBeacon\MediaBeacon\MediaBeacon64.exe") WinWaitActive("MediaBeacon", "", 10) If WinActive("MediaBeacon", "") Then Send("^{TAB}") Else MsgBox(0, "Result", "Failed!") EndIf ExitThat waits for a maximum of 10 seconds for the window to become active.If you are trying to work with a specific button in the MediaBeacon window, then check out the Window Info Tool that comes with AutoIt. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
TheSaint Posted November 18, 2015 Share Posted November 18, 2015 Are you sure your RUN path is correct? It looks like it could have too many instances of \MediaBeacon\ Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 18, 2015 Moderators Share Posted November 18, 2015 SandhyaSuneel,Please stick to just the one thread in future - merged.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
TheSaint Posted November 18, 2015 Share Posted November 18, 2015 That was partly my fault, as I advised Sandy in the Chatbox, that here was where it should have been posted. I forgot to add, "don't repost, just ask to have it moved". Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 18, 2015 Moderators Share Posted November 18, 2015 TheSaint,No problem.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
SandhyaSuneel Posted November 18, 2015 Author Share Posted November 18, 2015 (edited) This is how my mb application looks and i need to switch tab to Admin, from here i need to start the applicaiton Edited November 18, 2015 by SandhyaSuneel Link to comment Share on other sites More sharing options...
TheSaint Posted November 18, 2015 Share Posted November 18, 2015 A couple of things.[1] Have you been able to replicate what you need manually (tabs, etc)?[2] That program may have a command-line facility with parameters to do what you want. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
SandhyaSuneel Posted November 26, 2015 Author Share Posted November 26, 2015 Hi All, Can some one help me where i am trying to start my .exe file without manual effort. Here is my codeRun("C:\Program Files\MediaBeacon\MediaBeacon\MediaBeacon64.exe")WinWaitActive("[CLASS:SunAwtFrame]")Send("^{TAB}").I am unable to switch the tab in the above Class. Please help me with it Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 26, 2015 Moderators Share Posted November 26, 2015 SandhyaSuneel,You are already receiving help here - no need to start yet another thread.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
SandhyaSuneel Posted November 26, 2015 Author Share Posted November 26, 2015 Thanks Melba23 Link to comment Share on other sites More sharing options...
TheSaint Posted November 26, 2015 Share Posted November 26, 2015 (edited) Run("C:\Program Files\MediaBeacon\MediaBeacon\MediaBeacon64.exe") WinWaitActive("[CLASS:SunAwtFrame]", "", 10) If WinActive("[CLASS:SunAwtFrame]", "") Then Send("{TAB 2}") EndIf Edited November 26, 2015 by TheSaint Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
SandhyaSuneel Posted November 26, 2015 Author Share Posted November 26, 2015 Thank you Saint TheSaint 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