
paullab
Active Members-
Posts
63 -
Joined
-
Last visited
Profile Information
-
Location
UK
paullab's Achievements

Wayfarer (2/7)
1
Reputation
-
armoros reacted to a post in a topic: PStools Front End (for easy Remote control of PC's)
-
Something I use to organise/merge music ripped from the various laptops in the house. what it does is loop through a source directory (as well as any sub-directories) reading mp3 file properties and copying them into a target directory containing a very specific directory and file structure. The source directory can have any structure as we use the file properties to derive the target structure & file names. Albumn Artist --> Albumn ----> Track# - Track Name I look in 3 places for an artist as sometimes the albumn artist is not populated, or the contributing artist is populated with the albumn artist There is some manipulation of ARTIST name to make it easier to filter out errors in that in all instances the word 'The' is moved to the end. eg. 'The Who' becomes 'Who, The' this does NOT happen with albumns or tracks. Other directory/filename manipulation is as follows: in all instances, if an artist, albumn or track is not available it is replaced with the string 'Unknown'All ocurences of illegal filename characters as well as ,!` are removedinstances of & or = are replaced with 'and'_ and - are changed to spaces.any instances of .. are replaced with a .all instances of multiple whitespace is replaced with a single space.everything is changed to Proper Case"/"Title Case"File Processing is as follows if we do not have the file on our target directory, then we create it.if we already have the file and the new one is of similar length (+- 20 seconds) we take the one with the highest bitrate.if there is more than 20 seconds we take the longer one.lastly, if we have p[rocessed any mp3 files and there is albumn art in our source folder, then that is also processed.By default a log file is created detailing any new filed created. detailed logging includes shedloads more, check the code. this uses a bespoke version of _GetExtProperty() specifically for speed. NO SOURCE mp3 file is deleted, you will have to do this manually, or change the code. IMPORTANT before you use this for real, hit the 'Check ini' button and browse to an mp3 file with known properties. then use the results displayed to update the ini file and restar the app. remember that there is a difference between contributing artist (the default presented) and albumn artist the higher values are nornmally the albumn artist and the lower ones contributing artist/s Typical ini file contents for Windows 7 (These are NOT the same for vista.) [Defaults] Artist=216 Artist1=20 Artist2=13 Albumn=14 Year=15 Title=21 Track=26 Duration=27 Bitrate=28 The original au3 (downloaded 32? times) has been replaced with one that makes it a lot easier when setting setting up the ini file on something that is not Win 7 Music Organiser.txt Music Organiser.au3
-
Collect, display & use TreeView data
paullab replied to ideleon007's topic in AutoIt GUI Help and Support
have a look here for an autoit script that does pretty much everything ou are looking for. -
Added a small pause between writing the wallpaper file and setting it as the wallpaper as not doing this on a win 7 PC seemed to cause an inordinate amount of CPU use. Also added a small configuration popup available from the tray menu. see original post for updated source
-
how to make autoit script that sets file as wallpaper?
paullab replied to E1M1's topic in AutoIt General Help and Support
have a look at this http://www.autoitscript.com/forum/index.php?showtopic=105962&view=findpost&p=748483&hl=wallpaper&fromsearch=1 -
A quick and dirty that display a set of fairy lights around the desktop only tested on a single monitor. needs the 15 images from the zip file in the same folder as the exe Edit these Globals if you change images nmbers, size or want a different spacing. Global $iDots = 15 ;Number of images Global $iXpos = 48 Global $iYpos = 48 Global $iXoffset = 64 Global $iYoffset = 64 Global $iDotSize = 48 Xmas Lights.zip
-
yes I know there are a load of wallpaper rotators out there, but I wanted one where I would specify a folder of wallpapers as well as a folder of overlays (I use holiday photos as the wallpaper and the kids as an overlay) The program reads a list of wallpaper files into an array and randomises it. The same is done with the list of overlays. I when walk through the wallpapers and overlays and create a wallpaper/overlay combinaton for display on the desktop what this does is create a new image with a second image overlaying the first. this code scales the second image to a percentage of the desktop height and places it at the bottom of the screen and with a right margin sucked out of the ini file (two lines commented out and another two uncommented will centre the overlay in the wallpaper.) I run this on a Windows 7 PC (the best windows OS ever!) and I have fairly elevated rights, so if you are having problems, check folder rights or use other folders. It also handles high quality jpgs as background images which I really like. I have jpg files as the backround and png's as the overlay (transparency support is why I use then) but you can use just about anything There is a tray menu that allows you to Turn overlays on/off skip to the next Overlay skip to the next wallpaper Skip to the next Wallpaper/Overlay Set Exit the application (clear overlay automatically.) Remember the trailing '\' on file paths in the ini file everything between the pairs of ############## are the contents of an example ini file THIS SHOULD BE CREATED BERFORE RUNNING THE PROGRAM ############## ; Interval - Minutes between changes ; Scale - % of desktop HEIGHT ; Margin - Right Margin ; WithOverlay - do we want overlays (1=Yes) anything else is no. ; ClearOnExit - clear the overlay on exit. ; OverlayPath - path to overlays ; WallpaperSourcePath - Path to wallpapers to use ; WallpaperPath - where we put the resultant compound image [Defaults] Interval=5 Scale=60 FileType=BMP Margin=1 WithOverlay=1 ClearOnExit=1 OverlayPath=C:\Users\paul\Pictures\overlay\overlay\ WallpaperSourcePath=C:\Users\paul\Pictures\Backgrounds\ WallpaperPath=C:\Users\paul\AppData\Roaming\Microsoft\Windows\Themes\ ############## original wallpaperupdate.au3 downloaded 81 times Painting.ico Wallpaperupdate.txt Wallpaperudate.au3
-
have a look at the slideshow in my signature and then run from there
-
An Advent Calendar for Christmas (Stays on top of all windows)
paullab replied to paullab's topic in AutoIt Example Scripts
Put simply what it does is 1. Display the image it finds in the ini file (you will has to supply your own) 2. it overlays the image with the days of the month (like a calendar) 3. It hides those portions of the image that fall into next month or last month 4. It hides those portions of the image that have dates greater than today this means that the image is slowly revealed as the month goes by sort of like the calendars where you get a piece of chocolate for each day in december! you did however point out a bug in the edit settings code (Thats what happens when you hack something together out of something else) You may want to increase the size of the image display in the ini file if it is on a childs PC -
An advent Calendar (Stays on top of all windows) The program displays an image behind a 7x5 grid. Each day a new portion of the image is made visible. Days for the first and last week that do no belong to the current month are NOT displayed This means that for december 2008 the last 4 days of the last week are not displayed. You can specifiy (via an ini file). The image to be displayed The Size and position of the image The image is scaled to fit and then centred vertically & horizontally in the viewport defined by the width and height There is also the ability to hide the image if it gets in the way, left clicking on an image hides it for you A Taskbar menu allows you to Toggle the Viewstate Edit & save the settings Exit the application The embedded files (advent.ini & advent.jpg) are only exctracted if they do not already exist. This means that you can fiddle with the image as well as the settings as much as you want. REMEMBER to edit the paths for the image & ini file FileInstall look for ** edit here ** and change as needed To email your nice new EXE without problems use the passthru program available from the link in my signature. or from Here the attached zip contains the au3 source code, a sample ini file as well as the icon Advent.zip
-
BAD,BAD, BAD somehow uploaded a file with the incorrect save settings function. now fixed also now trap errors when no slideshow exists an fixed a bug for when the slideshow folder has no subfolders in the slideshow creation functions. In addition after opening an image in fullscreen mode you can now move to the next image by right clicking the right 3rd of the image
-
sorry about that, as is obvious I am rubbish at documentation.If you have the app running (not full screen) and right click on the Middle of the small image, the image will be shown full screen, copied to the clipboard, and the show will be paused
-
Have a look at the init function. unless you rename the file slideshow.txt to slideshow.ini it will try and run FULL SCREEN. (but because you have not yet creagted a show file it will be blank). the second gui is accessed from the taskbar menu.
-
right, the warnings are nothing to worry about, that is simply because the structure of the code is a little unusual (at least as far as au3check is concerned). The second error is caused by poor error trapping. (I will fix later) you have tried to create a new show where the root directory you have selected does not have any sub-directories. to get around this for now, simply create an empty folder in the root you have selected
-
As a btw when T16 is active you can use the / on the numpad to Toggle input State T16(1), Num(2), Type(3), 'Case'(4) where Input Modes are: T16: predictive input mode using the num keypad and a T16 word list. you MUST be in 'T16' or 'Num' mode to send text to your target applicatoin. Num: deactivate T16 input and enable the num keypad for normal use with the exception that '/', '*' and 'Enter' are still hooked. Type: deactivate T16 input and type using the keypad e.g. double 8 = b triple 8 = c single 9 = d etc. Case: is only there to enable you to toggle the case of input text using the * key Ab c - Sentence case (Default) Ab C - Title Case ABC - Upper Case abc - Lower case if however you are looking for simple typing, then your solution is a lot more elegant
-
Agreed, why we don't simply call them applications or features, as applicable, is beyond me