star2 Posted May 23, 2007 Share Posted May 23, 2007 this is the script #Include <Constants.au3> #include <IE.au3> Opt("TrayMenuMode",1) ; Default tray menu items (Script Paused/Exit) will not be shown. $go = TrayCreateItem ("Google") $exititem = TrayCreateItem("Exit") TraySetState() While 1 $msg = TrayGetMsg() Select Case $msg = $go _IECreate ("www.google.com") Case $msg = $exititem ExitLoop EndSelect WEnd Exit the real script hase more than 20 tray item each has it's own [ IE create ] command whaen I click on any tray item it will open the IE window acording to it's command but after I close the IE window and try to click another tray item it simply stops working and even doesn't exit? can anybody help? [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
star2 Posted May 23, 2007 Author Share Posted May 23, 2007 any one? [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
jefhal Posted May 23, 2007 Share Posted May 23, 2007 The code you posted works fine for me. ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format Link to comment Share on other sites More sharing options...
star2 Posted May 23, 2007 Author Share Posted May 23, 2007 The code you posted works fine for me.after u run it just leave it for a few seconds go back to the tray it will be pausedoe maby the problem is in my pc [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
Gif Posted May 23, 2007 Share Posted May 23, 2007 (edited) this is it _IECreate ("www.google.com", 0, 1, 0, 0) (remove #include <IE.au3>) opens the default web browser Edited May 23, 2007 by c4nm7 Link to comment Share on other sites More sharing options...
star2 Posted May 23, 2007 Author Share Posted May 23, 2007 this might be it!!! _IECreate ("www.google.com", 0, 1, 0, 0) opens the default web browser I've used the _IECreate cause it create new window [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
Gif Posted May 23, 2007 Share Posted May 23, 2007 I've used the _IECreate cause it create new windowso it works now? Link to comment Share on other sites More sharing options...
star2 Posted May 23, 2007 Author Share Posted May 23, 2007 so it works now?thanks to u it's working fine now [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
Gif Posted May 23, 2007 Share Posted May 23, 2007 thanks to u it's working fine now i had the same problem long ago so i knew the solution !_IECreate ("www.google.com", 0, 1, 0, 0) Link to comment Share on other sites More sharing options...
star2 Posted May 23, 2007 Author Share Posted May 23, 2007 (edited) i had the same problem long ago so i knew the solution !_IECreate ("www.google.com", 0, 1, 0, 0)well, it's really perfectmy problem is that I don't like to read to muchbut even so I just do this reading thing alotthank you so much my friendcouldn't help saying that u have prety nice scriptsI've visited your stuff nice jop any advice to learn how to script up Edited May 23, 2007 by star2 [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
Gif Posted May 23, 2007 Share Posted May 23, 2007 well, it's really perfectmy problem is that I don't like to read to muchbut even so I just do this reading thing alotthank you so much my friendcouldn't help saying that u have prety nice scriptsI've visited your stuff nice jop any advice to learn how to script upwell there are 4 places that will help youhelp file , Au3Lib , Functions Page and of course spend a lot of time at the forums looking at example scripts and looking at other members questions at General Help and support forum...and the fact that it's summer will give you a lot of time for scripting Link to comment Share on other sites More sharing options...
star2 Posted May 23, 2007 Author Share Posted May 23, 2007 well there are 4 places that will help youhelp file , Au3Lib , Functions Page and of course spend a lot of time at the forums looking at example scripts and looking at other members questions at General Help and support forum...and the fact that it's summer will give you a lot of time for scripting yab this what I'm gonna do if I had the timecause I'm planing my wedding with my future wife [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
Gif Posted May 23, 2007 Share Posted May 23, 2007 yab this what I'm gonna do if I had the timecause I'm planing my wedding with my future wife , lol just saw 25 years oldwell wish you the best and good autoiting Link to comment Share on other sites More sharing options...
star2 Posted May 23, 2007 Author Share Posted May 23, 2007 , lol just saw 25 years oldwell wish you the best and good autoitingdon't be surprised I'm older than u but there's no shame of learning even if the teacher is so much yonger !!thanks for the scripts [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
Gif Posted May 23, 2007 Share Posted May 23, 2007 (edited) don't be surprised I'm older than u but there's no shame of learning even if the teacher is so much yonger !!thanks for the scriptslol you r welcome Edited May 23, 2007 by c4nm7 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