KenE Posted January 21, 2005 Share Posted January 21, 2005 Hello, I'm using the latest build of AutoIt 3.0.103 beta, released today the 21st. When I open an example script form the Help file using the 'Open this Script' button, and then try to do a Save As to save the example file elsewhere to play with, I get the following error from Notepad: Common Dialog error (0x3002) I have no problems with Notepad when working with files that have not been opened via this button. Running under XP SP1a. Help file was opened directly from the application directory. Link to comment Share on other sites More sharing options...
Wolvereness Posted January 22, 2005 Share Posted January 22, 2005 Did you copy and paste from the autoit.chm? Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote] Link to comment Share on other sites More sharing options...
killaz219 Posted January 23, 2005 Share Posted January 23, 2005 (edited) The only thing "open the script" does is run it, you'd need to copy it if you wanted to mess with it somebody correct me if i'm mistaken Edited January 23, 2005 by killaz219 Link to comment Share on other sites More sharing options...
Administrators Jon Posted January 23, 2005 Administrators Share Posted January 23, 2005 Open this script should open the script in your default .au3 editor. Everyone seems to be having a different experience so I think that feature is going to have to go. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
CyberSlug Posted January 23, 2005 Share Posted January 23, 2005 Open this script should open the script in your default .au3 editor. Everyone seems to be having a different experience so I think that feature is going to have to go.<{POST_SNAPBACK}> Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
CyberSlug Posted January 23, 2005 Share Posted January 23, 2005 Here's the problem: http://list-archive.xemacs.org/xemacs-nt/1...6/msg00359.htmlI think I know a fix... Please try http://www.autoitscript.com/fileman/users/public/CyberSlug/autoit_cyberslug.chm Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
SvenP Posted January 23, 2005 Share Posted January 23, 2005 Here's the problem: http://list-archive.xemacs.org/xemacs-nt/1...6/msg00359.htmlI think I know a fix... Please try http://www.autoitscript.com/fileman/users/public/CyberSlug/autoit_cyberslug.chm<{POST_SNAPBACK}>Sorry to tell, but your 'fix' results in no action at all when clicking the 'open this script' button.And...the hhctrl command 'Shortcut' will indeed RUN the file you enter at 'Item1'. So it will use the Shell-open action onto it, not the Shell-Edit action.I've done some investigations, but the only way to 'edit' the script is by hard-coding the name of an editor to the 'Item1' parameter. Or by using the command: RUNDLL32 SHELL32.DLL,OpenAs_RunDLL <filename.au3> but that one could also lead to some confusion.Regards,-Sven Link to comment Share on other sites More sharing options...
CyberSlug Posted January 23, 2005 Share Posted January 23, 2005 (edited) Sorry to tell, but your 'fix' results in no action at all when clicking the 'open this script' button.<{POST_SNAPBACK}>I just tried on another WinXP SP2 (English language) computer, and it worked for me. What version of Windows do you have? I know that there is a bug Windows 2000 SP4 that JdeB posted a solution for.The file association for the Open command is notepad.exe %1 though notepad.exe "%1" should also work.SciTE always worked, by the way. Edited January 23, 2005 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
SlimShady Posted January 23, 2005 Share Posted January 23, 2005 @CyberSlug: Did you try it on a fresh install? That's the point of testing, that it works for new users too. Link to comment Share on other sites More sharing options...
SvenP Posted January 23, 2005 Share Posted January 23, 2005 I just tried on another WinXP SP2 (English language) computer, and it worked for me. What version of Windows do you have? I know that there is a bug Windows 2000 SP4 that JdeB posted a solution for.The file association for the Open command is notepad.exe %1 though notepad.exe "%1" should also work.SciTE always worked, by the way.<{POST_SNAPBACK}>I've WinXP SP1a english. But the OS is not the problem: On a 'fresh' AutoIT3 install, the "shell-open" value of the "Au3Script" regkey is: C:\Program Files\AutoIt3\AutoIt3.exe "%1" %*Regards,-Sven Link to comment Share on other sites More sharing options...
Administrators Jon Posted January 23, 2005 Administrators Share Posted January 23, 2005 I've WinXP SP1a english. But the OS is not the problem: On a 'fresh' AutoIT3 install, the "shell-open" value of the "Au3Script" regkey is: C:\Program Files\AutoIt3\AutoIt3.exe "%1" %*Regards,-SvenShouldn't be. I changed it last week. If you do an "upgrade" install it won't be changed though, have to do a clean install. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
KenE Posted January 24, 2005 Author Share Posted January 24, 2005 The only thing "open the script" does is run it, you'd need to copy it if you wanted to mess with itsomebody correct me if i'm mistaken<{POST_SNAPBACK}>Seems to me that if my default editor is Notepad, and I wanted to mess with it, that I should be able to use the Save As feature to save it to another location and edit it. It's a convenience thing really... The point is that the method that AutoIt uses to open the file in Notepad somehow breaks Notepad's ability to save the file under a new name. I understand that I cannot simply edit and save, but Save As should work! Link to comment Share on other sites More sharing options...
CyberSlug Posted January 24, 2005 Share Posted January 24, 2005 Did you try the version I posted above?Description of problem: http://list-archive.xemacs.org/xemacs-nt/1...6/msg00359.htmlI think I know a fix... Please try http://www.autoitscript.com/fileman/users/...t_cyberslug.chm Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
KenE Posted January 24, 2005 Author Share Posted January 24, 2005 Did you try the version I posted above?<{POST_SNAPBACK}>It doesn't do anything when I use your compiled .chm I'll just deal with it. The only reason I brought it up in the first place was to let you guys know that there was a problem. <Ctrl-A> <Ctrl-C> <Ctrl-N> <Ctrl-V> Done. It would save about 2 seconds if you could fix it though! 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