gseller Posted August 22, 2007 Share Posted August 22, 2007 I like it like this... $inpSrcz = GUICtrlCreateList("", 75, 110, 250, 100, $LBS_STANDARD , $WS_EX_ACCEPTFILES) ;Create an input for the Source of files to backup. GUICtrlSetState($inpSrcz, $GUI_DROPACCEPTED);must be under $inpSrcz = GUICtrlCreateList This changes the input to a list box and allows files and folders from more than one folder at a time... Also, it looks good I think. According to the helpfile this should allow drag and drop files into the list box.. not sure why it is not working... Link to comment Share on other sites More sharing options...
Celeri Posted August 22, 2007 Share Posted August 22, 2007 I like it like this... $inpSrcz = GUICtrlCreateList("", 75, 110, 250, 100, $LBS_STANDARD , $WS_EX_ACCEPTFILES) ;Create an input for the Source of files to backup. GUICtrlSetState($inpSrcz, $GUI_DROPACCEPTED);must be under $inpSrcz = GUICtrlCreateList This changes the input to a list box and allows files and folders from more than one folder at a time... Also, it looks good I think. According to the helpfile this should allow drag and drop files into the list box.. not sure why it is not working... As far as reducing pictures go (if that's your bag), you can use Photoshop, load your photo --> Mode --> Indexed Color --> Palette = Local (selective) --> Forced (none) --> NO transparency --> Dither (none) --> and then reduce the colors from 255 to 0 until it hurts Photofilter (which is free) also does something similar although with less finesse. http://photofiltre.free.fr/ After that you can save a gif and use a program like "gifopt1.0" to remove all useless headers. Or the online version (one of them!) http://tools.dynamicdrive.com/imageoptimizer/ If you use GUICtrlCreateGraphic you'll see it accepts Gifs and Png (I suspect this is related to Internet Explorer). In your case BTW, I would also try JPG, and then strip all the headers with a program called stripper (in google type "stripper jpg" without the quotes) I am endeavoring, ma'am, to construct a mnemonic circuit using stone knives and bearskins.SpockMy UDFs:Deleted - they were old and I'm lazy ... :)My utilities:Comment stripperPolicy lister 1.07AutoIT Speed Tester (new!) Link to comment Share on other sites More sharing options...
gseller Posted August 22, 2007 Share Posted August 22, 2007 Thanks for that input Celeri, but we are discussing setting up the input to accept drag and drop. Here is what I have found that works as far as accepting the drag and drop. ;Here is what allows the edit box to accept drag and drop... $mainWindow = GUICreate(" Mast3rpyr0's Backup Utility", 400,300, @DesktopWidth/2-160, @DesktopHeight/2-45, -1, 0x00000018); WS_EX_ACCEPTFILESoÝ÷ Ù«¢+Øí!ÉÝÕ͸¥Ð½à¹ÍнÈɽÁÁѸ¸¸(ÀÌØí¥¹ÁMÉèôU% Ñɱ ÉÑ%¹ÁÕÐ ÅÕ½ÐìÅÕ½Ðì°ÜÔ°ÄÄÀ°ÈÔÀ¤)U% ÑɱMÑMÑÑ ´Ä°ÀÌØíU%}I=A AQ¤ The problem I am seeing is that when you run the code on there now you seem to have a terrible loop.. LOL it doesn'r want to shut off.. Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted August 22, 2007 Author Share Posted August 22, 2007 ya did you get that loop too that keeps asking for destination folder? thats what i came asking in here for. i guess its not important but it'd be a nice feature. I think i may start a new project in a minute. not a big one though so ill still develop this. My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
gseller Posted August 22, 2007 Share Posted August 22, 2007 Yes, I do see in your code that enerything is doubled in the if show prcess and else no show process.. Could that maybe be what is looping.. Off to work I go, no time to look.. Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted August 22, 2007 Author Share Posted August 22, 2007 ya i figure thats the problem but thats alot to change just to allow droping the name of 1 file into the input. My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
gseller Posted August 23, 2007 Share Posted August 23, 2007 Oh No, I get that from just running the code you have on the first page now. without modifications.. Link to comment Share on other sites More sharing options...
brian873 Posted August 23, 2007 Share Posted August 23, 2007 Hi Great utility just what i have been looking for. The only thing is when I run it from the exe or compile a new one with the code my backups are in a loop? Everything copys fine and I get the complete message then the process start to copy again and just loops. any ideas? Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted August 23, 2007 Author Share Posted August 23, 2007 ah i know exactly why it does that, its because if you allow it to do both quick and select it will do quick then select then go back to quick again. should i remove the feature?\ My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
gseller Posted August 23, 2007 Share Posted August 23, 2007 In my opinion I think I would rather have to run the app twice to do both rather than have the loop... I bet one of the really heavy hitters like gafrostor or daleholm could tell us how to fix it. Not to say that U are not a heavy hitter cause U are in my books. These guys just seem to come to th rescue when we really need em.. LOL Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted August 23, 2007 Author Share Posted August 23, 2007 we'll see if they take a look, ill fix it by monday if not. My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
brian873 Posted August 27, 2007 Share Posted August 27, 2007 looking forward to the update! Again, great work on this app... Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted August 28, 2007 Author Share Posted August 28, 2007 (edited) Sorry for the delay. Just started school again. Source and exe updated. Edited August 28, 2007 by Mast3rpyr0 My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Tlem Posted August 28, 2007 Share Posted August 28, 2007 Great job. Just 3 suggestions : - Add an option to mémorize the last state of the choices. - Add an command line option or a checkbox for a timer to launch the tool automaticaly. - Add an option to save a list of directory/files (A tab list by sample, or a filelist.txt). Best Regards.Thierry Link to comment Share on other sites More sharing options...
xircon Posted September 10, 2007 Share Posted September 10, 2007 (edited) Don't know if this is any use to you, this is my simple solution for burning a CD from a script, a lot of it is hard coded because, for example, my CD drive ain't going to move! Have included details of createcd program in blurb at top of program. CODE;Directory Burner Script ;Author Steve Fisher ;Simple script to select a directory and burn to CD. ;Requires CreateCD.exe Command-line CD Recording utility for Windows XP and Windows Server 2003 Alex Feinman ;Current Version 1.00.133 ;http://isorecorder.alexfeinman.com/CreateCD.htm $dir = FileSelectFolder("Choose a folder.", @DesktopDir) $str="c:\CreateCD.exe" & " -r:e " & chr(34) & $dir & "\*.*" & chr(34) & " -eject" if $dir <> "" Then Run(@ComSpec & " /c " & $str, "", @SW_SHOW) EndIf Edited September 10, 2007 by xircon Link to comment Share on other sites More sharing options...
Toppy Posted March 14, 2008 Share Posted March 14, 2008 Hi, sorry for sound noob, but is it possible to import/export OE mail and contacts to/from Vista Mail ? Thanks ! 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