TheSaint Posted April 22, 2009 Share Posted April 22, 2009 (edited) OK, I thought I'd share this while I'm developing it.Many thanks to BugFix for the API code ... see here.Please remember that this is only in it's infancy at the moment, and there will be many features and controlling elements coming ... not to mention that existing stuff may change completely. It could quite easily become an Addon for one of your own programs too ... the trick is in the parameters and where the CD details are located.Basically I'm developing this (amongst other things) for my CDIni Database program, which is still available here as v3.6, but is now at v5.8. But I'm too involved in it to provide an update to the forum just yet, but it will be coming soon. It has had many features and improvements added to it since I last uploaded, which I'll go into with a lot more detail another time, but let's just say it can now Query the online FreeDB database, extract CDText, create an Ipod Notes list, backup to an importable zip file (which means you can easily share databases with others), do very comprehensive and powerful searches, etc, etc. Aside from the CDCover element, I'm currently working on a Music Charts database and Viewer, which can be Queried by the CDIni Database to get track years for Various Artist CD's, etc (I've been regularly receiving Chart emails for years now, which I save as texts, and which will be imported into the program, as well as comprehensive charts I collected years ago).As things currently stand (v5.8), you can right-click on an album in the Database, and select the 'Create A CD Cover For Album' option. What you then get, is what you'll see, if you try out the code & files available below.These are the current files, but I may combine some of them eventually.CDCover.au3InputOnTop.au3Insert.au3You will need to compile them to use them, and CDCover.au3 will either need to be updated to a later version of AutoIt or compiled with v3.2.4.9 or you can just use the compiled version I've provided in the zip below. All the required files are now also in this zip (including another ini to play with), and you still have to compile 2 of them and create the shortcut with the specified parameters (switches).CDCover.zip (previous downloads: 2)If you downloaded the files individually, then place those 3 compiled files in a folder, and make a sub-folder called Database. Then place the following unzipped .ini file into it.COLD_CHISEL.zipThen create a shortcut for CDCover.exe, and place the following two parameters on the command-line.(1st) 1BEAA13This is the CDID, so you can play with the other 3 in the .ini file if you wish.(2nd) "COLD CHISEL"Don't forget the inverted commas.i.e. H:\_Backups\Uploaded\_Ready\CDCover.exe 1BEAA13 "COLD CHISEL"How To Use Steps1) Run the shortcut.2) Click on the INSERT button.3) Left-click on either Left or Right Spine or the Rear Insert to edit them.4) Right-click on the Rear Insert to EXIT via the menu command (if you need to).5) The PRINT button just closes the main program at the moment, which will leave you with the Insert only ... which you could do a Screen Capture of if you're keen, but sizes will need to be adjusted, as I haven't even looked at that aspect yet.Now let me know what you think. I'm also not adverse to having others work with me on this, but can't promise how often I'll respond. Currently, this is the sum of my experience with API calls and DllStructCreate, and I've also not delved very far into RichEdit stuff, which I will obviously need to, to make this program great (i.e. work how it should). Then I'll have to learn about the Printing elements as well. All round, a learning experience for me.Enjoy! Edited April 22, 2009 by TheSaint Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
Valuater Posted April 22, 2009 Share Posted April 22, 2009 How about making an installer? ... that is a bit confusing. 8) Link to comment Share on other sites More sharing options...
Yashied Posted April 22, 2009 Share Posted April 22, 2009 My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
TheSaint Posted April 22, 2009 Author Share Posted April 22, 2009 How about making an installer?... that is a bit confusing.8)A good idea, that I'll get around to eventually. But is it really that confusing? Apart from CDCover.exe, I didn't want to have to supply the files twice. As soon as I or someone else updates CDCover.au3 for later versions of AutoIt, I'll no longer provide it as an executable ... except in it's final form. I thought it nice for people to read the scripts online, otherwise as you say, I could have provided them in one of my zip installer packages. The program's only really a demo at this stage, so I didn't want to get too fussy over how it's provided just yet. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
TheSaint Posted April 22, 2009 Author Share Posted April 22, 2009 (edited) That means you didn't put the parameters in the shortcut properly. There must be a space between each parameter and the filepath too. Or going by the uneven number of downloads, you haven't got all the required files. The full command-line example I provided, was copied straight out of my shortcut's properties, and works fine for me. Edited April 22, 2009 by TheSaint Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
TheSaint Posted April 22, 2009 Author Share Posted April 22, 2009 OK, I've relented, and provided all the required files in the one zip (CDCover.zip). Just unzip it to your preferred location. Compile the two un-compiled scripts. Create the shortcut for CDCover.exe, using 1BEAA13 "COLD CHISEL" as the two command-line parameters in it's properties field. Then follow the rest of the instructions (How To Use Steps) listed above (1st post). Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) 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