pcjunki Posted October 9, 2014 Share Posted October 9, 2014 I have no idea how to do this, or where to start. I have a script that launches my local intranet website, logs me in, then I minimize it I then launch another script that launches our company's Symantec Endpoint manager logs me in, ( I do my normal checking to make sure no computers have any virus..ect ect) from there I have 2 windows of ie open, and what I do is I grab the tab of one window, and drag it to the other instance of the other window so I only have 1 ie window with 2 tabs. my question is, or is it possible to join the 2 windows into 1 with 2 tabs? Link to comment Share on other sites More sharing options...
MikahS Posted October 9, 2014 Share Posted October 9, 2014 Why not just open a new tab and navigate to the desired page and close the other window? Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
pcjunki Posted October 9, 2014 Author Share Posted October 9, 2014 cause I keep them open and up all day at work Link to comment Share on other sites More sharing options...
MikahS Posted October 9, 2014 Share Posted October 9, 2014 (edited) Moving a window with one tab will automatically close that window and open it in the other window under a new tab. EDIT: Essentially opening the tab moved in the new window -> Then, closing the old window. Edited October 9, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
pcjunki Posted October 9, 2014 Author Share Posted October 9, 2014 so, how do I do this automatically? Link to comment Share on other sites More sharing options...
MikahS Posted October 9, 2014 Share Posted October 9, 2014 If I'm not mistaken your competence is not an issue here, as you have created two scripts to open these windows. Just modify one (probably the symantic one) to open a new tab and navigate to the page that you login and minimize. Then, that should alleviate having two scripts and you'll only need to run one When you try to do this definitely come back and post problems you are having with a reproducer script Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
pcjunki Posted October 9, 2014 Author Share Posted October 9, 2014 i used to do this a couple years ago, and on purpose, separated the single script into 2 scripts. reason why, because sometimes the intranet was down, or Symantec was down, and cause a mess with my script....ect ect so i just have two now Link to comment Share on other sites More sharing options...
MikahS Posted October 9, 2014 Share Posted October 9, 2014 (edited) Use a HotKeySet to set a key to call each function to open them individually. That way if one function fails, the entire script won't fail and you'll be able to still use the hotkey to run the other function. If symantec is down, just check the title to see if the window has been opened already, if it hasn't then open it and navigate to the other page. Edited October 9, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ 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