TuMbLeWeEd Posted April 19, 2005 Share Posted April 19, 2005 (edited) Was tyred to go to my explorer window or manual open several AutoIt files!So i made this thing (much improvement to do)Sart the script or better the exe and it shows only a tray icon (you can compile it yourself) Press the CTRL+ALT+P hotkey and SciTE wil start the project selector on the left sideCTRL+ALT+P again to hide it and restore the SciTE window I have all my projects placed in sepparate dirs with all the files for that project in the same dir.Now what i do is make a tree pro project for AutoIt files, Exe Files and Other filesSelect a project and the "Open Project" button and the current open files in SciTE will be closed and all .au3 files in the project dir wil be opend.Or move tru the tree and select a au3 file to open extra in SciTE (current will stay open)Exe files will be runned on selection and others will be opend in the default program.Note there is a context menuSee attached file for the sourceUpdate version 0.2: Fixed some nasty bugsFixed the FileClose($search) iforgot.(thanks jdeb for pointing me to it ) Here version 0.3Fixed some various bugs (again) ,added some things and changed hotkey to CTRL+ALT+P:: Version 0.4bSolved a lot of bugs, + added some new stuff : Version 0.5Version 0.5bSolved dual monitor dockingAdded choise for 3 editor's (Scite,TextPad & Crimson editor=If installed) "it uses the selected one on cancel"Option to put on/off the tree iconsRedone the treerefresh with thanks to gafrostIncluded the exe (it gives 16 warnings if you compile it yourseff)ProjectSelector0.5c.zip Edited April 30, 2005 by TuMbLeWeEd My AutoIt stuffChatBichProjectSelectorWindow control grabberUsefull LinksPort forwarding with routers Link to comment Share on other sites More sharing options...
zcoacoaz Posted April 19, 2005 Share Posted April 19, 2005 (edited) Good job Edited April 19, 2005 by Xenogis [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
steveR Posted April 19, 2005 Share Posted April 19, 2005 Very helpful. You should ask the devs if they can make this standard. AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass. Link to comment Share on other sites More sharing options...
jpm Posted April 19, 2005 Share Posted April 19, 2005 Why not. You need to reference the install Scite by using the registry value. For some people they are not install in "c:\Program Files\AutoIt\Scite\Scite.exe" There is no real info relative only to Scite. JdeB use the AutoIt info assuming that Scite is install below. I think $SciteExe= RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\SciTE.exe","") You get an erro if Scite is not installed. Trying to browse several dir lead to a crash Anyway that's very good and a good start Link to comment Share on other sites More sharing options...
Developers Jos Posted April 19, 2005 Developers Share Posted April 19, 2005 Very nice !It should be able to use it with any Editor ....Trying to browse several dir lead to a crash<{POST_SNAPBACK}>The program needs to close the filehandle on line 150: FileClose($search) 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...
MHz Posted April 19, 2005 Share Posted April 19, 2005 Very helpful. You should ask the devs if they can make this standard.If your refering to the Developers of Scite, for a project manager. Indeed would be a nice addition.Info here on a request by somebody.The addition would surely help to manage the scripts to catagory etc.The pic above looks real nice. Link to comment Share on other sites More sharing options...
TuMbLeWeEd Posted April 19, 2005 Author Share Posted April 19, 2005 (edited) If your refering to the Developers of Scite, for a project manager. Indeed would be a nice addition.Info here on a request by somebody.The addition would surely help to manage the scripts to catagory etc.The pic above looks real nice. <{POST_SNAPBACK}>Thanks for the response dudes! Note there is a new version to download in the first post(fixed some verry nasty bugs)Need some info, how do i refresh the tree? (now it ads the same info twice,damn )How do you remove all entrys, dont find it in the helpfile! Want to add somthings and need the refresh for that!-Adding new projects-Refresh if new file added-Working contextmenuIf you have some usefull suggestions, trow in a post and i will try to add it!Can take a wile as i'm going for a job today Edited April 19, 2005 by TuMbLeWeEd My AutoIt stuffChatBichProjectSelectorWindow control grabberUsefull LinksPort forwarding with routers Link to comment Share on other sites More sharing options...
jpm Posted April 19, 2005 Share Posted April 19, 2005 Can take a wile as i'm going for a job today <{POST_SNAPBACK}>I cross finger for you Link to comment Share on other sites More sharing options...
TuMbLeWeEd Posted April 19, 2005 Author Share Posted April 19, 2005 I cross finger for you<{POST_SNAPBACK}>Hope that helps My AutoIt stuffChatBichProjectSelectorWindow control grabberUsefull LinksPort forwarding with routers Link to comment Share on other sites More sharing options...
jpm Posted April 19, 2005 Share Posted April 19, 2005 Hope that helps <{POST_SNAPBACK}>I am sure Link to comment Share on other sites More sharing options...
kjactive Posted April 19, 2005 Share Posted April 19, 2005 Looks very nice and a great idear but how and where to place the script and what to write in Scite properties - I can't make it work and there are no documentations attached, it would be nice if peoble wrote some documentations to scripts like how to install and other basics... Kåre Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... Link to comment Share on other sites More sharing options...
TuMbLeWeEd Posted April 19, 2005 Author Share Posted April 19, 2005 (edited) Looks very nice and a great idear but how and where to place the script and what to write in Scite properties - I can't make it work and there are no documentations attached, it would be nice if peoble wrote some documentations to scripts like how to install and other basics...KÃ¥re <{POST_SNAPBACK}>Dont need no probs to be set in sciteJust compile it and run it, stays in the tray unthil F10 pressedStarts up scite (if its not running), then shows the project selector on the leftPress F10 again and it restores the SciTE window and the app window hidesF11 exits the app Edited April 19, 2005 by TuMbLeWeEd My AutoIt stuffChatBichProjectSelectorWindow control grabberUsefull LinksPort forwarding with routers Link to comment Share on other sites More sharing options...
kjactive Posted April 19, 2005 Share Posted April 19, 2005 (edited) Well that could be written in a small topics - BUT the F10 / F11 is a dangerious one as all sort of programs use this in a misk like my optical mouse/Keyboard use F10 and that fired up a program in this path and further more the application started up in full screen model and did not started SciTE at all but released a bug and crashed... I got latest Scite, AutoIt3 and all is funtion just fine... Global system accelerators attachments is just dangeres things and has to go wrong - I think that AutoIt Gui has to move ahead from this in some manner and only leave this global as a option... Though a nice idear with a project manager related to SciTe... Kåre Edited April 19, 2005 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... Link to comment Share on other sites More sharing options...
zeroZshadow Posted April 19, 2005 Share Posted April 19, 2005 i lauchned it, and directly pressed F10 ERROR: C:\Documents and Settings\zeroZshadow\Bureaublad\ProjectSelector.au3 (208) : ==> Subscript used with non-Array variable.: While $text[0] <> $treeArray[$text[1]-$offset][2] While $text[0] <> $treeArray^ ERROR btw make a "NEW PROJECT" button that just creates a map with the project name (inputbox) with 3 maps in it, named au3, exe, other. or whatever you want to name those or.... don't make the dirs but anyway, a new project button would be nice.(nad fix that bug, i'm searching for more) *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip... Link to comment Share on other sites More sharing options...
TuMbLeWeEd Posted April 19, 2005 Author Share Posted April 19, 2005 (edited) i lauchned it, and directly pressed F10ERROR:C:\Documents and Settings\zeroZshadow\Bureaublad\ProjectSelector.au3 (208) : ==> Subscript used with non-Array variable.: While $text[0] <> $treeArray[$text[1]-$offset][2] While $text[0] <> $treeArray^ ERRORbtw make a "NEW PROJECT" buttonthat just creates a map with the project name (inputbox) with 3 maps in it, named au3, exe, other.or whatever you want to name those or.... don't make the dirs but anyway, a new project button would be nice.(nad fix that bug, i'm searching for more)<{POST_SNAPBACK}>I will look in to it(fixing a lot off problems at the moment), still dous anyone now how to refresh a treeview? Edited April 20, 2005 by TuMbLeWeEd My AutoIt stuffChatBichProjectSelectorWindow control grabberUsefull LinksPort forwarding with routers Link to comment Share on other sites More sharing options...
MHz Posted April 20, 2005 Share Posted April 20, 2005 Global system accelerators attachments is just dangeres things and has to go wrong - I think that AutoIt Gui has to move ahead from this in some manner and only leave this global as a option...Are you confusing hotkeys with accelerators? Au3 gui seems to follow the same rules as other programs. Can you not use windows drivers for your keyboard and mouse? That is what I do. Link to comment Share on other sites More sharing options...
buzz44 Posted April 20, 2005 Share Posted April 20, 2005 Might want to ask gafrost, he seems to be on fire with his functions. I needed to delete all the files from a ListView and he helped me . Might be able to help you. qq Link to comment Share on other sites More sharing options...
GaryFrost Posted April 20, 2005 Share Posted April 20, 2005 (edited) Might want to ask gafrost, he seems to be on fire with his functions. I needed to delete all the files from a ListView and he helped me . Might be able to help you.<{POST_SNAPBACK}>Just finished up the ListBox UDFs and sent them to Jdeb, working on the ones for the ComboBox, then maybe I'll go back and clean up and do a better job on the ListView ones.Keep waiting for some of the bugs to get worked out of this one, got a pretty good idea on how to make it so you can have multiple folders in the ini and have it loadgot the ini part working have to iron out the treeview stuff after some of the bugs get worked out of this. Edited April 20, 2005 by gafrost 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...
zeroZshadow Posted April 20, 2005 Share Posted April 20, 2005 yo about the refresh. do you want that you first delete the WHOLE list and then rebuild it?? or refresh only what is changed?? *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip... Link to comment Share on other sites More sharing options...
TuMbLeWeEd Posted April 20, 2005 Author Share Posted April 20, 2005 (edited) The easy way for me to fit the rest of the code would be a total rebuild, as i refer to an array that is indexed in the same order as the tree( dont have to search tru the whole array then, but building the tree takes longer)Have done it on a very dirty way that messes up my event's :I just delete the whole gui and call the main function to build it up again wich is o so not the way to go with the event stuff, and wich is logical if i did tink a little bit more about it This treeview thing is making me nuts Have to find a way to do the the refresh first, as the chance is there that the solution to this is totaly incompatible with wat i'm doing now gafrost:the multiple folders is very easy to implement now, but the same problem as above, gonna wait with it untill i have the tree-basterd under controlEDIT: FOUND IT, and it's very simple (feel like an idiot )Here's the ting, delete the control and create it again (all events working)I posted an update in the first post Edited April 20, 2005 by TuMbLeWeEd My AutoIt stuffChatBichProjectSelectorWindow control grabberUsefull LinksPort forwarding with routers 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