Evil_Has_Survived Posted April 25, 2006 Share Posted April 25, 2006 ok I need to know, if I make a script turn it into a exe or compile it, and then send it to people I want it to work without them having to download autoit, there must be something in the autoit folder that runs everything I could add the whole folder, but I don't want any uneeded files, I want it to be small to put it in a ... say floppy, although scripts don't take up much the autoit folder would. well at first I thoguht there was a way to run scripts with out including the autoit folder, but my step bro need to download it, and same with his dad, but my friend didn't need to, atleast I don't think he had it. Thanks in advance Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 25, 2006 Share Posted April 25, 2006 um yeah thats the entire point of scripting that you can compile and send it to people Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 25, 2006 Author Share Posted April 25, 2006 um yeah thats the entire point of scripting that you can compile and send it to peopleyes I know but, I don't understand why it didn't work on there computer. Thanks in advance Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 25, 2006 Share Posted April 25, 2006 post the script that didnt work on their comp Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 25, 2006 Author Share Posted April 25, 2006 post the script that didnt work on their compexpandcollapse popup; Press Esc to terminate script, Pause/Break to "pause" Global $Paused HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{NUMPAD9}", "Terminate") HotKeySet("+!d", "ShowMessage");Shift-Alt-d ;;;; Body of program would go here;;;; MsgBox(64, "Done.", "©2006 - John Matthews push shift-alt-d for help.") While 1 If WinExists("Diablo II") Then HotKeySet("{Space}", "close") Else ToolTip( "The game isn´t running!",0,0) ;Exit(0) EndIf Sleep(100) WEnd ;;;; Functions Func Close() Send("!{F4}") EndFunc Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) HotKeySet("{Space}") ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc Func ShowMessage() MsgBox(4096,"","©2006 - John Matthews help topic; 1 push NUMPAD9 to shut the script off... 2 push pause to turn the script on/off if on space = log out if off space = chat with out getting booted... 3 shift-alt-d for this help topic.") EndFunc that was the first one I send them since all of us like diablo Thanks in advance Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 25, 2006 Share Posted April 25, 2006 (edited) hmmm thats a lil weird IDK why it wouldnt work for them, could just be there OS do u happen to know what OS they have?, i know windows but what version Edited April 25, 2006 by thatsgreat2345 Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 25, 2006 Author Share Posted April 25, 2006 Windows XP Thanks in advance Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 25, 2006 Share Posted April 25, 2006 for one i found an error with ur hotkeyset u didnt tell ti where to go when space was pressed While $Paused sleep(100) HotKeySet("{Space}") ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 25, 2006 Author Share Posted April 25, 2006 for one i found an error with ur hotkeyset u didnt tell ti where to go when space was pressed While $Paused sleep(100) HotKeySet("{Space}") ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") yes I know I kept it like that so it logs out of diablo then I hit 3 more times to shut off the maphack(cheat) , shut off my music, and it shuts off the script I could use terminate hotkey but space is faster Thanks in advance Link to comment Share on other sites More sharing options...
Uten Posted April 25, 2006 Share Posted April 25, 2006 So what happens when they try to run it? Does it do anything or nothing at all? Tried to send them a few other simpler programs? maybee a porgram with a simple msgbox in it? Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 25, 2006 Author Share Posted April 25, 2006 So what happens when they try to run it? Does it do anything or nothing at all?Tried to send them a few other simpler programs? maybee a porgram with a simple msgbox in it?nothing happens Thanks in advance Link to comment Share on other sites More sharing options...
Uten Posted April 25, 2006 Share Posted April 25, 2006 How odd. The size of your exe is >180kb ? I know that Norton Internet security will block some programs and don't lett them run (without telling the owner). Could this be the situation? Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 25, 2006 Moderators Share Posted April 25, 2006 How odd. The size of your exe is >180kb ? I know that Norton Internet security will block some programs and don't lett them run (without telling the owner). Could this be the situation?MsgBox(64, 'Test', 'Testing')That one line compiled to 180kb's on mine... 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...
Evil_Has_Survived Posted April 25, 2006 Author Share Posted April 25, 2006 MsgBox(64, 'Test', 'Testing')That one line compiled to 180kb's on mine... lol really Thanks in advance Link to comment Share on other sites More sharing options...
SpookMeister Posted April 25, 2006 Share Posted April 25, 2006 It makes sense when you think about what it is doing. The compiled .exe is basically just the Autoit executable(180k) + your script (whatever size) all crammed together into one file. [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 25, 2006 Author Share Posted April 25, 2006 If I make a script that needs to be used with beta , and compile it and send it to someone will that work for them to. Thanks in advance Link to comment Share on other sites More sharing options...
SpookMeister Posted April 25, 2006 Share Posted April 25, 2006 yep as long as you compile it with the beta compiler [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 25, 2006 Author Share Posted April 25, 2006 ok thanks Thanks in advance 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