Posted 22 January 2004 - 01:27 PM
Hmmm, version 4 is not as good as version 5 since there are sooo many new functions in it and it's more professional. You need a howto? Yay... i think the software is quite easy to use.
First... open a new project and go to "Project" - "Window Settings"
Do all the things you want to... window size, icon, boarders, and so on...
Now search for a wallpaper as a background and insert it in "Page settings" in "style" - "Image"
Buttons... There are some as a default in apms5 so you may haven't to create new ones. If you want to have your own pics as a button in your menu (like me ;D), you will have to go to "Tools" - "Button Maker". This is a quite cool piece of software that creates apms5 compatible buttons. There are some options for the buttons but it's quite easy to understand... You will check it without my help ;D.
Now the functions... You may have some objects in your project like buttons, headlines, texts or whatever... Each object can obtain a function (actions) for onClick, onEnter and onLeave... You will mostly use onClick-Functions... clear like crystal i hope... whatsoever, the most important adtion is File.Open because it's able to launch all files with the default software for the extension the file has.
usage: File.Open("Path\\to\\File.ext","{_SourceFolder}",SW_MAXIMIZE);
// the 2 '\' are not a mistake, that's the correct syntax!
// '{_SourceFolder}' is your working directory and redirects to the root of the disc where the autorun menu will be stored later...
// 'SW_MAXIMIZE' is an option to start the software in maximized mode... there is also 'SW_MINIMIZE' ;D.
One more important function is Page.Jump which brings you to another page of your project.
usage: Page.Jump("Page");
// 'Page' is the name of the Page. *doh*
One really horny feature is the "Paragraph". It's a textfield, not more or less. You can write some text in here... but what's so cool??? ehehe, here is a piece of script i wrote for all of you guys out there:
text = TextFile.ReadToString("Textfile.txt");
Paragraph.SetText("Paragraph", text);
Use this as an onEnter-Action in a Paragraph. This will read the contents of a file and insert it into the paragraph. I used it to read my serial.txt which is located in the root of my dvd. This file is also used by cdshell so i have only to change the textfile and everythin is up to date again ;D.
What else can I say?... Yea, make your own experience, I can't post all my knowledge here because this would take me hours ;D. So, for more details have a look @ the help file of apms5 or hit the question here into this board in this thread and i will be there ;D.