Jump to content


ZeMe

Member Since 29 May 2007
Offline Last Active Dec 28 2007 02:47 PM

Topics I've Started

Icon Preview Popup/dialog Box

15 September 2007 - 07:17 PM

Hi guys. Here's something I've dreaming about for the past few weeks:
I want someone to make a Dll or a Script (if it doesn't already exist) that will have the ability to display a file's or a folder's icons or pictures (exactly like windows "change icon" popup box in the "customize" tab after right-click -> properties on a folder.
I want this feature in a popup box and would be REALLY cool to have it integrated to the game window too (see screenshot 2)

Screenshot1: Posted Image Screenshot2: Posted Image

To conclude, the DLL must support the following features:
- Do exactly the same thing as windows "Change Icon" popup and return the path of the selected icon.
- Return 0 or -1 on cancel.

Would be very nice if the DLL could support the following feature:
- Enabled in Game Window

I believe this shouldn't be too hard because it seems to be working a little like the get_directory command in GM. (By the way, what I'm asking for should have been integrated in GM a long time ago and the command name could be get_icon) :mellow:

-Thanks guys

List Of Directories

13 September 2007 - 12:50 AM

Does anyone know if there's a script, a DLL or something I can use to make something that will look like that:
Posted Image
I want it to draw directories I have selected by pressing the add or open buttons. Next, the little green arrow shows the currently selected file. Finally, each file can be selected independently.

Thanks

Help With 'or' And '|' In Scripts

10 September 2007 - 09:21 PM

This is what I did and GM returns an error when I run my game

if global.bob='C:\' or 'c:\'
{
    sprite_index=abc;
    image_index=3;
    image_speed=0;
    exit;
}

here's the error:

___________________________________________
ERROR in
action number 1
of  Step Event
for object master:

In script script0:
Error in code at line 23:
   if global.bob='C:\' or 'c:\'

at position 25: Wrong type of arguments for ||.

What's wrong with my code and what similar code can I use?

Thanks in advance

Contextual Menu On Files & Folders

07 September 2007 - 11:42 PM

Does anyone know how can I make a contextual menu on folders which runs a command in my program (like create a file or read the the registry)

Example:
Lets say I want to create a file named test.txt inside a folder. The txt will contain information (user name). But this "user name" is not the same for all computers. What I need here is some sort of registry command (I know that contextual menus are modified in the registry) to execute my program in an invisible state to get the current user name (just like the parameter command which gets the folder's path).

I noticed that some programs like WinZip and other use some sort of registry command as I mentioned earlier. I also heard about Context Menu Handlers or something. What are they? Do they execute a program's "commands" without opening the program? or do they have a code in themselves and can do some taks?

Now, I want my game to create or install an option like that in windows folders' contextual menus and when I'll right-click a folder, in the contextual menu, an option called "test" will run the code in my game, creating the test.txt file containing the user name.

I hope you understand could help me a little. (because I don't understand this well.)

Thanks

Make Message Appear In Center Of Game Window?

24 August 2007 - 08:22 PM

How can I make a message (show_message('BlaBlaBla')) appear in the center of my window (Game) Instead of the center of the screen?