GaryFrost Posted January 31, 2006 Author Share Posted January 31, 2006 v 1.0.1.15Added DoubleClick on TreeView for Preview/EditProblem is there seems to be a refresh/paint problem on TreeView justlike the Slider on the ListView GuiThese Problems seem to tie in with using the GUIRegisterMsgI may be doing something wrong, but I'm stumped if I am SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
xircon Posted January 31, 2006 Share Posted January 31, 2006 (edited) Can't compile Csnippet.au3 - First error : Invalid Compiler directive OK Keyword:#Compiler_Res_FileVersion_AutoIncrement Value:n Fixed by rem out a few lines but now I get: (0,0) : ERROR: TraySetItemOnEvent(): undefined function. ^ C:\Documents and Settings\steve.fisher\Desktop\snippet.au3(74,53) : ERROR: GUIRegisterMsg(): undefined function. GUIRegisterMsg($WM_COPYDATA, "_Scite_MY_WM_COPYDATA") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\steve.fisher\Desktop\snippet.au3 - 2 error(s), 0 warning(s) Edited January 31, 2006 by xircon Link to comment Share on other sites More sharing options...
GaryFrost Posted January 31, 2006 Author Share Posted January 31, 2006 Can't compile Csnippet.au3 - First error : Invalid Compiler directiveOKKeyword:#Compiler_Res_FileVersion_AutoIncrementValue:nFixed by rem out a few lines but now I get:(0,0) : ERROR: TraySetItemOnEvent(): undefined function.^C:\Documents and Settings\steve.fisher\Desktop\snippet.au3(74,53) : ERROR: GUIRegisterMsg(): undefined function.GUIRegisterMsg($WM_COPYDATA, "_Scite_MY_WM_COPYDATA")~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\Documents and Settings\steve.fisher\Desktop\snippet.au3 - 2 error(s), 0 warning(s) You need the latest beta and latest Au3Check SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
GaryFrost Posted February 2, 2006 Author Share Posted February 2, 2006 v 1.0.1.16Added Owner Drawn Menu'sNote: Holger is still trying to find a solution to problems due to using GUIRegisterMsgSee 1st post for source files and screen shots SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
xircon Posted February 9, 2006 Share Posted February 9, 2006 (edited) Just can't get this to work: AutoIt Error OK Line 0 (File "C:\Program Files\AutoIt3\SciTe\snippets\CSnippet.exe"): Local $a_PanelWidth[1] = [$temp_width] Local ^ ERROR Error: Can not redeclare a parameter inside a user function. Steve PS above error when using ctrl+alt+s to launch. compiles fine Edited February 9, 2006 by xircon Link to comment Share on other sites More sharing options...
GaryFrost Posted February 9, 2006 Author Share Posted February 9, 2006 The fix for this error was submitted on the 7th, it should be out in the next beta The below code is the code submitted to replace the original create function Func _GuiCtrlStatusBarCreate($h_Gui, $a_PanelWidth, $s_PanelText, $v_styles = "") Local $a_PW[1], $a_PT[1] If Not IsArray($a_PanelWidth) Then $a_PW[0] = $a_PanelWidth Else $a_PW = $a_PanelWidth EndIf If Not IsArray($a_PT) Then $a_PT[0] = $s_PanelText Else $a_PT = $s_PanelText EndIf If Not IsHWnd($h_Gui) Then $h_Gui = HWnd($h_Gui) Local $hwnd_Bar1, $x Local $style = BitOR($WS_CHILD, $WS_VISIBLE) If @NumParams = 4 Then $style = BitOR($style, $v_styles) $hwnd_Bar1 = DllCall("comctl32.dll", "long", "CreateStatusWindow", "long", $style, "str", "", "hwnd", $h_Gui, "int", 0) If Not @error Then _GuiCtrlStatusBarSetParts($hwnd_Bar1[0], UBound($a_PW), $a_PW) For $x = 0 To UBound($s_PanelText) - 1 _GuiCtrlStatusBarSetText($hwnd_Bar1[0], $a_PT[$x], $x) Next Return $hwnd_Bar1[0] EndIf SetError(1) Return 0 EndFunc ;==>_GuiCtrlStatusBarCreate SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
steve8tch Posted February 9, 2006 Share Posted February 9, 2006 Just looked at this for the first time ... its brilliant. Well done. Link to comment Share on other sites More sharing options...
Faustvii Posted February 9, 2006 Share Posted February 9, 2006 This look good.. Link to comment Share on other sites More sharing options...
GaryFrost Posted February 17, 2006 Author Share Posted February 17, 2006 v 1.0.2.1Added ToolbarDisabled Treeview for now due to the GUIRegisterMsg problemCombined Notify events to 1 functionsee 1st post for downloads and instructions SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted February 21, 2006 Moderators Share Posted February 21, 2006 The transparency slider won't move for me? Link to comment Share on other sites More sharing options...
GaryFrost Posted February 21, 2006 Author Share Posted February 21, 2006 The transparency slider won't move for me? see the notes from the 1st post for v 1.0.1.15that problem still exists. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
GioVit Posted February 21, 2006 Share Posted February 21, 2006 Old Version of Code Snippet let me Paste a Snippet from any source, now only from Scite, it would be usefull if Code Snippet let me Paste from my internet browser Nice utility BTW, congraulations Link to comment Share on other sites More sharing options...
GaryFrost Posted February 21, 2006 Author Share Posted February 21, 2006 Old Version of Code Snippet let me Paste a Snippet from any source, now only from Scite, it would be usefull if Code Snippet let me Paste from my internet browserNice utility BTW, congraulations Thanks,Sorry about losing that ability, but the main objective for me was to interface it with SciTE, which with JdeB's help we did, now just waiting for a few bugs to get worked out in the beta. Trying to decide on a better way of storing the snippets, going to hit a wall storing them in an ini.Been thinking about storing the categories and snippet names in the ini then have another folderthat actually has .au3 files with the snippet name as the prefix that can be read in. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
DaleHohm Posted February 22, 2006 Share Posted February 22, 2006 Trying to decide on a better way of storing the snippets, going to hit a wall storing them in an ini.Sounds like a job for XML Gary...Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
GaryFrost Posted February 22, 2006 Author Share Posted February 22, 2006 Sounds like a job for XML Gary...Dale Sounds like it, i can see hitting the limit on an ini file real quick with add snippets SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Xander Posted February 23, 2006 Share Posted February 23, 2006 (edited) Did a beta-compile on it successfully, and edited in the changes into the Properties. It worked fine the first time I ran it, brought up the window and all, but the second time (and on), it gave me the following error (note the double quotes at the start):Error while launching:""C:\Program Files\AutoIt3\SciTE\Snippets\CSnippet.exe" with Params:"/CreateSnippet"The specified file was not found.The properties looks just like you'd expect it to, copied directly from this thread but I keep getting the same result.Advice? Edited February 23, 2006 by Xander Link to comment Share on other sites More sharing options...
Developers Jos Posted February 23, 2006 Developers Share Posted February 23, 2006 (edited) Did a beta-compile on it successfully, and edited in the changes into the Properties. It worked fine the first time I ran it, brought up the window and all, but the second time (and on), it gave me the following error (note the double quotes at the start):The properties looks just like you'd expect it to, copied directly from this thread but I keep getting the same result.Advice?The line looks good although it show 2 double quotes at the start....Can you show your settings from SciTEUser.properties ? (Cut and Paste them here...) Edited February 23, 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...
Xander Posted February 23, 2006 Share Posted February 23, 2006 (edited) The line looks good although it show 2 double quotes at the start....Can you show your settings from SciTEUser.properties ? (Cut and Paste them here...)Just quoting the command line for brevity:AU3.PROPERTIEScommand.17.$(file.patterns.au3)="$(SciteDefaultHome)\Snippets\CSnippet.exe" /CreateSnippetIt's all just copied/pasted from the first post of this thread. All paths are correct. Only thing that I can think of would be the numbering. It had only gone up to #15, but I left it at 17 thinking it wouldn't matter. {shrug}Side question: If I want it to save my Snippets to another location (ie. My Docs) , is this the best place to make that a universal change?"Global $file = @ScriptDir & "\Snippets.ini" Edited February 23, 2006 by Xander Link to comment Share on other sites More sharing options...
GaryFrost Posted February 23, 2006 Author Share Posted February 23, 2006 Just quoting the command line for brevity:AU3.PROPERTIESIt's all just copied/pasted from the first post of this thread. All paths are correct. Only thing that I can think of would be the numbering. It had only gone up to #15, but I left it at 17 thinking it wouldn't matter. {shrug}Side question: If I want it to save my Snippets to another location (ie. My Docs) , is this the best place to make that a universal change? For now yes, but I'm working on another version that will use xml for the snippets themselves SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 23, 2006 Developers Share Posted February 23, 2006 Just quoting the command line for brevity:AU3.PROPERTIESNot a good idea when you have put it in AU3.Properties.. you lose your settings the next time you update SciTE4AutoIt3. Put user definitions in the SciTEUser.properties....C:\Program Files\AutoIt3\SciTE\Snippets\CSnippet.exe{shrug} Line looks good when you are sure about the Subdirectory location and program name. ....If I want it to save my Snippets to another location (ie. My Docs) , is this the best place to make that a universal change?Leave that to Gary to answer... 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...
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