LeHuynhNam Posted December 9, 2008 Share Posted December 9, 2008 (edited) i have a small soft which was skinned very beautifull by Ezskin 1-2-3 but i don't like i have to copy both *.exe and ezskin folder. i want my *.exe can still be skinned without ezskin folder. And i also want to ask, if i want to skin my gui with Blue Vista what should i do? Edited December 9, 2008 by LeHuynhNam Link to comment Share on other sites More sharing options...
November Posted December 9, 2008 Share Posted December 9, 2008 Hi there, Maybe an installer... or include all necessary files in the script. Cheers Old Scriptology Visual Ping 1.8 - Mass Ping Program with export to txt delimited. Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code. Desktop 2 RGB - Pick a color in the desktop and get the RGB code. ShootIT 1.0 - Screen Capture full and partial screen [font="'Arial Black';"]Remember Remember The Fifth of November.[/font] Link to comment Share on other sites More sharing options...
DeeRiee Posted December 9, 2008 Share Posted December 9, 2008 use FileInstall() Function See in the Help file Link to comment Share on other sites More sharing options...
LeHuynhNam Posted December 9, 2008 Author Share Posted December 9, 2008 (edited) use FileInstall() FunctionSee in the Help filethanks for quick reply, i'll try! but any people know how to skin my gui with Blue Vista skin? Edited December 9, 2008 by LeHuynhNam Link to comment Share on other sites More sharing options...
LeHuynhNam Posted December 9, 2008 Author Share Posted December 9, 2008 sorry! Can u give me the code, i don't know how to do it with fillinstall() and decorate my gui with skin! Link to comment Share on other sites More sharing options...
LeHuynhNam Posted December 10, 2008 Author Share Posted December 10, 2008 Any Help? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 10, 2008 Moderators Share Posted December 10, 2008 (edited) Any Help?Maybe you should take the advice of your floating pic in your signature (Follow the forum rules... Don't bump a post from your last post within 24 hours).Edit:The bottom line:I believe Valuaters EzSkin funcs rely on the images to be on the hard disk. Having said that, I'm not sure you can use a resource method to store your images, which means you have two choices.1. FileInstall all your pics for your program when you compile (If you can't figure out how to use this, I'm surprised you were able to use EzSkin).2. Do as the others suggest and use an installer and just package your files with the necessary images in the right directories.A tool that may help you package up your images within your script:http://www.autoitscript.com/forum/index.ph...c=34805&hl= Edited December 10, 2008 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
LeHuynhNam Posted December 10, 2008 Author Share Posted December 10, 2008 sorry! i promise i'll never do like that, Thanks for remind me! I'm a newbie and also learner of english, i can't understand all not much. So can u give me the code to do this! such as an example scripts. So i can learn from it Link to comment Share on other sites More sharing options...
Andreik Posted December 10, 2008 Share Posted December 10, 2008 sorry! i promise i'll never do like that, Thanks for remind me! I'm a newbie and also learner of english, i can't understand all not much. So can u give me the code to do this! such as an example scripts. So i can learn from it This is an example of FileInstall() FileInstall("C:\Picture1.jpg",@TempDir & "\Backgroud.jpg") When you compile your script Picture1.jpg will be embed in your script. If you run your compile script the Picture1.jpg from your script will be extracted in temp dir and you'll have Background.jpg, a picture that you can use what you want. It is not very complicated, see the SmOke_N link above if you don't undersand, but in help file is described very well FileInstall function. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
LeHuynhNam Posted December 10, 2008 Author Share Posted December 10, 2008 no, i know FileInstall() function, but i mean how can i do to skin my gui. In this case i use Ezskin to skin my gui but i always have to put my *.exe in the same directory with Ezskin Folder. I want to skin my gui without skin folder using FileInstall(). And i don't know how to do it? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 10, 2008 Moderators Share Posted December 10, 2008 (edited) no, i know FileInstall() function, but i mean how can i do to skin my gui. In this case i use Ezskin to skin my gui but i always have to put my *.exe in the same directory with Ezskin Folder. I want to skin my gui without skin folder using FileInstall(). And i don't know how to do it?I've answered this question. You'll have to test (on your own) if you are able to compile your images as resources, then if you are able to load those images from memory and use them in Ezskin.I doubt seriously Valuater (the creator of Ezskin) has the option to do this with his function (considering that the resource option is much newer than Ezskin)... As much as I doubt anyone will do the work or provide you with step by step detail on how to possibly achieve it...I would think you would have to re-write all the Ezskin functions to accept memory addresses or hard drive locations. Edited December 10, 2008 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
LeHuynhNam Posted December 10, 2008 Author Share Posted December 10, 2008 I've answered this question. You'll have to test (on your own) if you are able to compile your images as resources, then if you are able to load those images from memory and use them in Ezskin.I doubt seriously Valuater (the creator of Ezskin) has the option to do this with his function (considering that the resource option is much newer than Ezskin)... As much as I doubt anyone will do the work or provide you with step by step detail on how to possibly achieve it...I would think you would have to re-write all the Ezskin functions to accept memory addresses or hard drive locations.Can u give me an example script which will be compliled with skin and no skin folder! i don't understand not much! I can compile my scripts with an icon or a picture with FileInstall() but i don't know when i use FileInstall() for EzSkin files and deleted my skin folder it doesn't work! Can u show me more clearly? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 10, 2008 Moderators Share Posted December 10, 2008 Can u give me an example script which will be compliled with skin and no skin folder! i don't understand not much! I can compile my scripts with an icon or a picture with FileInstall() but i don't know when i use FileInstall() for EzSkin files and deleted my skin folder it doesn't work! Can u show me more clearly?I've answered this question. You'll have to test (on your own) if you are able to compile your images as resources, then if you are able to load those images from memory and use them in Ezskin.I doubt seriously Valuater (the creator of Ezskin) has the option to do this with his function (considering that the resource option is much newer than Ezskin)... As much as I doubt anyone will do the work or provide you with step by step detail on how to possibly achieve it...I would think you would have to re-write all the Ezskin functions to accept memory addresses or hard drive locations. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
LeHuynhNam Posted December 10, 2008 Author Share Posted December 10, 2008 Did u mean i rewrite the EzSkin.au3? Link to comment Share on other sites More sharing options...
Zedna Posted December 10, 2008 Share Posted December 10, 2008 (edited) Did u mean i rewrite the EzSkin.au3?Yes, he did.I think it's possible what you want but it's not such simple as you think.Look at my resource UDFhttp://www.autoitscript.com/forum/index.php?showtopic=51103With this UDF you can embed/use pictures into/from AutoIt's EXE file.If you use resource UDF you must rewrite EzSkin.au3. Edited December 10, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
LeHuynhNam Posted December 10, 2008 Author Share Posted December 10, 2008 (edited) I've read this topic. Can u show me How can i rewrite Ezskin.au3. when i viewed its code i can't understand what it is! I'm a newbie please show me step by step! Edited December 10, 2008 by LeHuynhNam Link to comment Share on other sites More sharing options...
Valuater Posted December 10, 2008 Share Posted December 10, 2008 I'm glad you like EzSkin...As I have been asked numerous times..The EzSkin Location is hard coded, however, this may changed very easily.just look at line # 698 you will see... (or just search for @ScriptDir)Global $213A908B3713BB99 = @ScriptDir & $213AE08D5A13BB99You may change this @ScriptDir to any folder/location you wish.You should not make any other changes.. just the folder location8)As for FileInstall() you can use the Installer that SmOke_N made AFAIK I have also used a zip file to include numerous files beforeI hope, this helps, but I will not re-write the code8) Link to comment Share on other sites More sharing options...
Zedna Posted December 10, 2008 Share Posted December 10, 2008 I will not rewrite Ezskin.au3 for you. If you are beginner then take it as it is and don't make too complicated wishes. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
LeHuynhNam Posted December 11, 2008 Author Share Posted December 11, 2008 I'm glad you like EzSkinAs for FileInstall() you can use the Installer that SmOke_N made AFAIK I have also used a zip file to include numerous files beforeI hope, this helps, but I will not re-write the code8)Thank you so much! i did it! I changed @scriptdir to @tempdir and i will use FileInstall() to install Ezskin folder with file to @tempdir and then use it! so i can have Stand Alone *.exe, isn't it? Link to comment Share on other sites More sharing options...
Valuater Posted January 9, 2009 Share Posted January 9, 2009 (edited) I answered this before#1...As I have been asked numerous times..The EzSkin Location is hard coded, however, this may changed very easily.just look at line # 698 you will see... (or just search for @ScriptDir)Global $213A908B3713BB99 = @ScriptDir & $213AE08D5A13BB99You may change this @ScriptDir to any folder/location you wish.You should not make any other changes.. just the folder location... you can place XSkin stuff in there too!2 use this from Smoke to install all the fileshttp://www.autoitscript.com/forum/index.ph...c=34805&hl=8) Edited January 9, 2009 by Valuater 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