CrewXp Posted April 7, 2006 Share Posted April 7, 2006 I don't know really what's wrong, but any example I run in the help file, won't run. I see the text an all, but the button that's usually there is just a X now. What could be wrong? Thx Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 7, 2006 Moderators Share Posted April 7, 2006 I don't know really what's wrong, but any example I run in the help file, won't run. I see the text an all, but the button that's usually there is just a X now. What could be wrong? ThxWell showing us the code your trying to run, may help a tad here Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
greenmachine Posted April 7, 2006 Share Posted April 7, 2006 I think he's talking about within the helpfile. In each topic there is an example script at the bottom with a button after it that says "open script" or "run script" (I forget because the button doesn't exist for me anymore either). Link to comment Share on other sites More sharing options...
CrewXp Posted April 7, 2006 Author Share Posted April 7, 2006 yea, greenmachine. That one. I don't know why... Link to comment Share on other sites More sharing options...
greenmachine Posted April 7, 2006 Share Posted April 7, 2006 I don't either. I also can't remember when it started (which would probably help) because I just ignored it and never ran them. Link to comment Share on other sites More sharing options...
CrewXp Posted April 7, 2006 Author Share Posted April 7, 2006 well this is the code in the help file for a random example: <p><b>Example</b></p> <p class="codebox"> <br> <span><span class="S4">TCPStartup</span><span class="S8">()</span><br> <br> <span class="S4">msgbox</span><span class="S8">(</span><span class="S3">0</span><span class="S8">,</span><span class="S7">"IP???"</span><span class="S8">,</span><span class="S4">TCPNameToIP</span><span class="S8">(</span><span class="S7">"TheMachineNextToYOU"</span><span class="S8">))</span><br> <span class="S0"></span></span><br> <br><OBJECT id=hhctrl type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" width=58 height=57> <PARAM name="Command" value="ShortCut"> <PARAM name="Button" value="Text:Open this Script"> <PARAM name="Item1" value=",Examples\Helpfile\TCPNameToIP.au3,"> </OBJECT> <p> </p> Anyone have any ideas? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 7, 2006 Moderators Share Posted April 7, 2006 (edited) This is what my example has in the help file:TCPStartup() msgbox(0,"IP???",TCPNameToIP("TheMachineNextToYOU")) Edited April 7, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
CrewXp Posted April 7, 2006 Author Share Posted April 7, 2006 lol, no I went into the help file and grabbed that out. Thats the code for the submit button. I can read the rest perfectly. It's just that example (instead of being a button), is a X on my help page. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 7, 2006 Moderators Share Posted April 7, 2006 lol, no I went into the help file and grabbed that out. Thats the code for the submit button. I can read the rest perfectly. It's just that example (instead of being a button), is a X on my help page.Ha!! my bad... I was really stumped on what ya'll were talking about... but thanks for clarifying. This cold medicine should have a warning to stay away from text conversations on the label!! Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
pecloe Posted April 7, 2006 Share Posted April 7, 2006 (edited) @CrewXp same thing happened to me and i had to register a dll (help provided from this forum) i'll try to search for my old post and get back. edit: found it quote jdeb The HelpFile is using an OCX to show the button to open the script. Try doing "regsvr32 hhctrl.ocx" from the command prompt with current dir c:\windows\system32. Else you might want to check hhctrl.ocx. Edited April 7, 2006 by pecloe Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted April 7, 2006 Moderators Share Posted April 7, 2006 @CrewXpsame thing happened to me and i had to register a dll (help provided from this forum) i'll try to search for my old post and get back.edit: found it quote jdebThe HelpFile is using an OCX to show the button to open the script.Try doing "regsvr32 hhctrl.ocx" from the command prompt with current dir c:\windows\system32.Else you might want to check hhctrl.ocx.Cool now I have the Open Script button back. Should this not be included in the next beta? Link to comment Share on other sites More sharing options...
Developers Jos Posted April 7, 2006 Developers Share Posted April 7, 2006 Cool now I have the Open Script button back. Should this not be included in the next beta?What should be included ? the regsrv32 command is normally not needed... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted April 7, 2006 Moderators Share Posted April 7, 2006 (edited) What should be included ? the regsrv32 command is normally not needed...Maybe not normally, but if it is required on more than one computer I would consider it needed.Edit: Wording Edited April 7, 2006 by big_daddy Link to comment Share on other sites More sharing options...
Developers Jos Posted April 7, 2006 Developers Share Posted April 7, 2006 Maybe not normally, but if it is required on more than one computer I would consider it needed.Edit: WordingMaybe a FAQ, but the I don't think we should be doing the regsrv32 command to register the OCX when we are not distributing it. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted April 7, 2006 Moderators Share Posted April 7, 2006 Maybe a FAQ, but the I don't think we should be doing the regsrv32 command to register the OCX when we are not distributing it.A FAQ would be good. Link to comment Share on other sites More sharing options...
CrewXp Posted April 9, 2006 Author Share Posted April 9, 2006 alright, it opens it now. Thanks. haha.. but it opens a txt file now. Is that just a file association problem? How could I fix that? Thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted April 9, 2006 Developers Share Posted April 9, 2006 (edited) alright, it opens it now. Thanks.haha.. but it opens a txt file now. Is that just a file association problem? How could I fix that? ThanksWhich example is a .txt file ?What editor are you using ? Edited April 9, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
CrewXp Posted April 9, 2006 Author Share Posted April 9, 2006 all examples open with notepad i mean. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 9, 2006 Developers Share Posted April 9, 2006 (edited) all examples open with notepad i mean.That is correct since Notepad is associated with Edit by the AutoIt3 installer for the au3 file extension..Try SciTE4AutoIt3 i you want to be able to run from the editor and lots more ... Edited April 9, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Valuater Posted April 9, 2006 Share Posted April 9, 2006 (edited) Crew, I strogly suggest you get and use this( it will lead you to the correct files you need to install..)... and alot morehttp://www.autoitscript.com/forum/index.php?showtopic=21048#8) Edited April 9, 2006 by Valuater 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