This is the latest version of my additions to the PAM. These include the unfinished eject when exit to the now addition of changing wallpaper. It will change the wallpaper to one in "App/DefaultData/Wallpaper/MyWallPaper.bmp". It will change it back to the previous wallpaper after exiting. I know the eject might be bothersome to some(an extra message box on closing), but I might get different results and be able to fix it. Anyone wanting thier hands on a newest "beta" of some needed changes, please try this out. Lastly, I almost forgot, the right click on the menu items don't do anything, despite they are labeled "Delete Icon" and "Delete Application".(I program that after I fix the eject thing.) Thanks to everyone who helps!
- old
http://eyecreate.googlepages.com/PortableAppsMenu.exe
source
http://eyecreate.googlepages.com/PortableAppsMenuSource.zip - new version
http://www.mediafire.com/?7zgyy4qzzow
eyecreate
EDIT:This file, if you didn't know, replaces the one in "portableapps/portableapps menu", not the root of the drive. Also, If you don't want the background changing, then just delete or rename your bitmap. Nothing will load then.
Where's the source?
----
Ryan McCue
Person 1: Oh my god. You will never believe what just happened.
Person 2: What?
Person 1: I can't remember, I've forgotten.
"If you're not part of the solution, you're part of the precipitate."
Sorry, the top is updated with link.
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
error code 5.
Whats that?
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
That's the error code for the safely remove code I put in. You can ignore it for now, but the error code actually means:"File access denied" I hope to get it solved really soon.
John Haller:I know you said you were planning on putting this in a upcoming release, but have you actually tried implementing it? If so, please spread some light on the subject.
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
I changed the eject code to use CM_Request_Device_Eject, but it claims to have completed successfully, while the device is not ejected. Any pointers here?
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
Isnt CM_Request_Device_Eject a .net code and not a Delphi one.
it is a windows api code.
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
Two advices:
- If you want use ini files, don't use unit Registry. There is an a unit called IniFiles with class TIniFile in Delphi (John uses it).
- In procedure sbtnApplication1MouseDown you use two variable: iControl and delinfo. For first variable, is better called I (standard coding ) and second variable is useless.
Good luck.
the delinfo variable is to be put to use, so it is useless as of now. It will hold info for which app to delete. On using the Registry unit, I thought that becuase I was editing the registry, that I would need it included. Would it work still if I replaced it with IniFiles?
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
the delinfo variable is to be put to use, so it is useless as of now. It will hold info for which app to delete.
Ah ok, but you use variable global and not local.
On using the Registry unit, I thought that becuase I was editing the registry, that I would need it included. Would it work still if I replaced it with IniFiles?
Ah, I read TRegIniFile in your source and I thought you use this class to modify a inifile. Anyway is better to use TRegistry class to modify windows registry:
thanks, El Salvador, I'll try to change it to the non-INI way.
btw, delinfo is global becuase it will need global scope.
Does anyone have an idea on the CM_Request_Device_Eject problem, as I seem stuck at that right now.
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
how this feature work? so far I did not figure out how to. any tips ?
this feature will change the wallpaper IF you have a bmp file in PortableApps\PortableAppsMenu\App\DefaultData\Wallpaper called MyWallpaper. Also, would people want the feature that i put in to make the menu only appear once. Meaning that you couldn't have two menus up at once. This would prevent accidental clicking, for those who are click happy and also would prevent autorun problem(it autoruns multiple times) you have on modded u3 drives(last doesn't apply to everyone)
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
I already know where to put the wallpaper to swap but what should i do to make it actualy work, what config file on the source do I have to modify in order to activate it?
if you download the portableappsmenu exe i have at the top, then it will do that...i also am trying to get auto eject feature that isn't going so good...
btw, that exe needs to be in portableapp\portableappmenu to work, not the root folder. does that explain things?
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
I done like describe with no success for the wallpaper change,I did have hard time to download it do. with regular standard download engine from the web browser the download never complete and stop at around 6XX Kb out of 1.8 Mb , tried it several times and was able to get it via download accelerator?
I hope it isn't my files are corrupted, I re-up them somewhere else... Also, I added the device pull-out things from andyduke's mods. Now the wallpaper will revert even if you just pull your drive out. I hope to add the device eject I planned later.
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
I am making some changes (alot) to the menu again, and I wanted to know a bit about the menu internals. One thing in specific, is I know that you can't delete folders while the menu is up. Is there a way in the menu to "free up" these folders so they can be deleted? I tried ClearButtons(), but it doesn't change anything. Otherwise, I should, before long, have deletion of just icons, deletion of actual apps, wallpaper enable/disable, and quick/simple app maker built in.
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
At this point why not just wait till John releases the next beta or version?
I was supposed to be last week, hopefully it will be this week.
For those who have fought for it, freedom has a flavor the protected will never know.
"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)
his ears stop to slow him down...
"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Sounds like he's Dumbo when you say that. "Quick, his ears are creating too much drag!"
----
Ryan McCue
Cube Games
There are only two states in Australia: Queensland and Drunk
If you have any questions about the comment above, or anything, please don't hesitate to ask.
"If you're not part of the solution, you're part of the precipitate."
I can add John's stuff in when he releases it, but why should I wait for it? Is there something related to my problem that will be fixed or what? I actually wouldn't mind combining some of these features in with the version John has, but I guess that's up to him to decide...
Simeon: What does your comment mean? Do you think i should slow down or that I need to do something else?
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
I think I remember reading something about the menu locking the folders being fixed in the next release.
Or maybe that was the exe's in which case its already fixed.
For those who have fought for it, freedom has a flavor the protected will never know.
"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)
That would be useful...what else is supposed to be in it? I don't want to spend time duplicating things. It seems I read in another post with John that he made his own wallpaper swapper too.
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
I'm not really sure, just remember reading that part, or I think I remember reading it anyway ...
For those who have fought for it, freedom has a flavor the protected will never know.
"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)
well, so that John and others can see what I have so far, here is what I have (doesn't have all features).
whole folder(needs icons I made and updated things)
http://www.mediafire.com/?05h21a2jld5
source+folder
http://www.mediafire.com/?beevutkzwxv
Nobody should start to undertake a large project. You start with a small _trivial_ project, and you should never expect it to get large. If you do, you'll just overdesign and generally think it is more important than it likely is at that stage. Or worse,
was totally and entirely about John.
He has some ear infection slowing him down by preventing him from working on a PC or sleeping for long periods of time.
Thats the reason for him being "late" and not having posted the new menu-beta already.
If I were you and not too impatient, I'd wait for his beta.
"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Having the wallpaper switch automagically on insertion is fantastic, thanks! Is there a way to have it NOT stretch, though? I find myself having to bring a picture into PhotoShop and "enlarge canvas" so the image isn't distorted.
Great otherwise!
benway
Love it! I use will use it with SmithTech's Yin-Yang Wallpaper and Theme.
"America has never been an empire. We may be the only great power in history that had the chance, and refused – preferring greatness to power and justice to glory."
George W. Bush
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
I have recently downloaded the version of the menu with the wallpaper switching utility, and found that when the feature is active, it causes eject issues with Windows XP. I am not a programmer, and I have no idea how the code works. However, I have seen many threads on the eject feature, and I have found that with this feature on, Windows won't loose its hold on the USB drive after the menu is closed. Turning off the feature removes this issue. I have no idea if this information will help with the eject feature, nor do I know if anyone has noticed this yet, but I thought that it may be of use. If this is already fixed, please excuse my imposition.