You are here

Portable Apps Menu Mod Draggable R21 B * Outdated *

89 posts / 0 new
Last post
xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Portable Apps Menu Mod Draggable R21 B * Outdated *

New version has been released, see: Portable Apps Menu Mod R22

Draggable version of the Portable Apps Modded Menu, click and drag anywhere on the window that isn't an active control (button etc) and you can move the menu around the screen.
More Information & Download (and Progress Report)
r21b: Experimental change to run Exe's with the working directory set to the exe's location rather than the menus directory. Please test to see if this breaks any of your apps.

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 1 month ago
Developer
Joined: 2006-05-26 12:08
Mirror

I setup a mirror http://linkprophecy.com/apps/PortableAppsMenuR21.zip and works like a charm keep up the excellent work on the drag functions Wink
-----------------------------
"I don't fear Computers. I fear the lack of them" Isaac Asimov

your friendly neighbourhood moderator Zach Thibeau

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Eject

I have been experimenting with how to get the correct device your running on and how to eject USB drives directly not wanting to use other code I've been wandering around the Win32 API documentation, and have had mixed success so far, I can get the device to eject, but not disappear (it's like when a CD gets ejected, the drive letter is still there) and the method I'm using can ignore some open files so it's corruption city. It is low priority compared to the menu, but every now and then when I've nothing better to do (Ha!)
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
AutoStart

You can use the code from AutoStart, which Rene worked pretty hard on, while he was around Wink
http://liberta.svn.sourceforge.net/liberta/ (I think)
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Thanks

I'll take a look at it
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

whibo
Offline
Last seen: 4 years 1 week ago
Joined: 2006-11-23 16:00
.

.

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 1 month ago
Developer
Joined: 2006-05-26 12:08
hey

whibo could I mirror your locale file?
-----------------------------
"I don't fear Computers. I fear the lack of them" Isaac Asimov

your friendly neighbourhood moderator Zach Thibeau

whibo
Offline
Last seen: 4 years 1 week ago
Joined: 2006-11-23 16:00
.

.

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Give me 10 minutes I'll have both the german and french locales

Give me 10 minutes I'll have both the german and french updated locale files in the zip
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

incubus
Offline
Last seen: 17 years 4 months ago
Joined: 2007-06-23 21:33
Mirror R21 Multilanguage updated

Hi!
packed all language files and set it up on my mirror Biggrin

Mirror R21

greetz

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-01-10 19:25
Mirror

R21 Mirror.
R21a Mirror.
R21b Mirror.

BTW, great work!

"You're not to be so blind with patriotism that you can't face reality. Wrong is wrong, no matter who does it or says it."
Malcolm X

R.I.P Bunny.
We will miss you.

"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

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Ok, more than 10 minutes

The file is now updated, took me a bit longer as I updated the program to display the localization for disk free space, and added a minor theme addiion with an eject button (doesn't really eject, calls up the OS's remove hardware dialog.)
I'm considering adding that as an option when the menu exits???
So all you packagers/mirrors can try it again Wink
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 1 month ago
Developer
Joined: 2006-05-26 12:08
Ok

I update the link it's the same as the one I posted earlier so just use that link and it should download all right
-----------------------------
"I don't fear Computers. I fear the lack of them" Isaac Asimov

your friendly neighbourhood moderator Zach Thibeau

whibo
Offline
Last seen: 4 years 1 week ago
Joined: 2006-11-23 16:00
.

.

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
So it should appear

So it should appear as "10MB de libre sur 128MB" ?

I'll update it (oh it's moved from FUTURE to FORM_MAIN, I didn't expect to make the change today to localize the free space)

_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

yurzub
Offline
Last seen: 16 years 4 months ago
Joined: 2007-06-04 12:21
could you add an option

could you add an option [probably in the theme.ini] to turn off the menu shadow? I'm using an iphone theme, and the shadow hangs off of the rounded corners.

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Thats may take a bit.

The shadow is off the main window which has transparent areas depending on the skin, I'll take a quick gander at the code and let you know.
Ideally the shadow should be based on the non transparent areas of the form, but I'll have to determine A: where the shadow is being created (don't you just love working with other peoples code? **) B: what method is being used to create it and C: if it can be changed to do what you want. or turned off (should be able to do at least that)

** Dont get me wrong, the code is great, but you have to figure out what the other programmer called the function to do X, in this case things are pretty well documented, and Ctrl-F (Find) gets used a lot. I have the same problem when I go back to my OWN code that I wrote a couple years (or more) back.
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

yurzub
Offline
Last seen: 16 years 4 months ago
Joined: 2007-06-04 12:21
no rush. It's just an

no rush. It's just an aesthetics thing anyway ^_^

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
I suspected as much

The menu is created by modifying the Windows class before it is created (the shadow is handled by the OS) now I can turn it off, but only with a restart of the menu, and then I'd have to read the main inifile for the theme, and the themes inifile to get the option before or during the createparams process not what I'd like to do...
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
i like you eject script, but

i like your eject script, but sumhow when i recompiled the code to change the icon, the "Close any program..." msg pop in the top left corner instead on nxt to my mouse.also the script doesn't close all the windows that is opened from the USB. it onli closes a few if a hav alot open. and uasually i do hav quite a few open.

i'v edited my Vista skin for PAM so there's the little eject button.
Download

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

incubus
Offline
Last seen: 17 years 4 months ago
Joined: 2007-06-23 21:33
cool

i like this theme !

can we pack it or will be any trouble doing this ?

greetz

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
lolz, u can do anything you

lolz, u can do anything you like with it

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

yurzub
Offline
Last seen: 16 years 4 months ago
Joined: 2007-06-04 12:21
I use your theme as much as

I use your theme as much as I use the iPhone theme, awesome stuff!

And as for the eject script [xrxca], it doesn't terminate firefox, but it does close the windows, creating a problematic solution, as I can't start the process again if it already running.

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
I'll look at the script, it

I'll look at the script, it closes what I use most the time which are mostly commercial apps (such as SecureCRT which includes portability out of the box, just set a couple environment variables, put your license info in a file on the usb drive and it works great)
You might want to try taking the parent check out (In the script there is an if that says to only send the close window message if the parent window id is 0, I didn't like it sending messages to every subwindow of every app, and for my purposes it worked, but obviously not for everything.

I'll make that change and post it as a separate file as well as in my package later tonight.
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

ozbodd
Offline
Last seen: 16 years 3 weeks ago
Joined: 2007-02-22 15:12
As the eject script is

As the eject script is something everyone may want to work differently could this be created as a seperate exe to include as an onclick event? This could then be compiled seperately to PAM. Just a thought.

As you know I use an AutoIT exe script that works great for me at the moment, including your suggested mod for the XP eject window

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
It is separate

And it is an Autoit script, I use quite a bit different method for getting the path name for windows than you do in your script, and I just dropped the compiled script (and source) in the theme directory.
I'm thinking of changing the script to send a message to the windows in question instead of using WinClose, a WM_SHUTDOWN(guess) or whatever the message is that gets sent when windows wants to shutdown may have better results.

On my own personal version I use RemoveDrive instead of popping up the eject window, but Removedrive isn't gpl (I'm not even sure the source is available)
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

ozbodd
Offline
Last seen: 16 years 3 weeks ago
Joined: 2007-02-22 15:12
OK - Misunderstood - Does

OK - Misunderstood Wink - Does yours close child windows of files opened on the pen drive eg Open documents in MS Word - I couldn't figure it out...

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Nope

I was able to get all the files open in one experiment, but it was horribly slow, and error prone, I've been thinking of trying to use handles.exe from sysinternal (assuming you can still get it now that microsoft has assimilated them. But then that can't be distributed.
_________________________
* user (noun) usually offensive : a person affected with idiocy, often used as an explicative after hanging up the phone.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Tewan
Offline
Last seen: 17 years 5 months ago
Joined: 2007-06-25 05:25
Greetings, xrxca.

Greetings, xrxca.

If you would like, I can create you an account for you to host at the pammod.co.nr site. If you want to take up this offer, send me an e-mail at TewanDrayk (at) Gmail (dot) com and I'll make ya one. Smile

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 1 month ago
Developer
Joined: 2006-05-26 12:08
Portable Apps Menu Drag Mod

New link for Portable Apps Menu Drag Mod R21a
-----------------------------
"I don't fear Computers. I fear the lack of them" Isaac Asimov

your friendly neighbourhood moderator Zach Thibeau

yurzub
Offline
Last seen: 16 years 4 months ago
Joined: 2007-06-04 12:21
Sweet eject script! works like a charm!

Possible implementation for future builds: include the eject script in PAM App folder, and include and eject menu in the context menu for each app, with on exit options. have the other option in an Eject -> in the Options context menu, so as to eleminate tedious command line opps.

The ejectscript.exe can remain its own entity, simply called by the menu ops, where closing PAM would write the pafdata info from each app into the ini file and execute ejectscript.exe. This would allow for someone using a different PAM, ie the official version, smithtech's, ozzbod's, the C++, or any other PAM with an on exit execution to still make use of your eject script.

Perhaps you might develop a plugin engine for PAM MOD, so that the PAM->EjectScript interface options might be housed in the plugin, so that users would be able to add functionality to the menu by writing plugins without having to rewrite or modify the core menu source.

This might be a good project for after you're done with categories, and if you have more time afterwards. Although, this is probably a very large scale project, as a lot of the old code would need to be rewritten to accommodate the plugin engine, and a lot of current features would be modified to become plugins [such that new, more comprehensive version of those plugins would not require a new release of the core PAM MOD]. Well, something to think about, even if you don't think the idea is plausible now or as is. Smile

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Interesting

I'll take the plugins idea into account as I'm slashing up the code, I've already made quite a few internal changes required to handle categories and sorting (my current experiment is storing all the app info in a popup menu, I was starting to create a custom object when I discovered almost all the properties I need are in a menu already (Makes sense for a menu program doesn't it?))
I'm also currently futzing around with the localization code, I'd like to be able to have the program generate a list of localizable strings rather than having to maintain a separate file (when a programer adds a string he simply tells the program to export a new localization template)

I have some true eject code now, and have already got it partially working in a separate delphi app, I'm putting together a test beta of just that for people to try with different devices (My version is currently having fits with a USB attached CD drive which I'm working on fixing)
_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

incubus
Offline
Last seen: 17 years 4 months ago
Joined: 2007-06-23 21:33
Updated German locale R21a

Hi!
locale here

Locale R21a

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
error message when trying to

error message when trying to create ini using /ini command. it still works though.

Line 0 (File "H:\PortableApps\PortableAppsMenu\Data\Theme\Vistav2\Eject.exe"):

ShellExecute($Ini)
^ERROR

Error: Unknown function name

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Odd.

It's trying to open the ini file in your default ini editor, first question did you recompile the script, and if so what version of AutoIT are you using?
(Thats the only reason I can think of for the error message)
I just checked the AutoIT page, and ShellExecute showed up in Version 3.2.2 I suppose I could add a version check in the script and if below 3.2.2 use Run('Notepad.exe "' & $Ini & '"')

On the other hand if it's your version you may want to upgrade anyways Wink
_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
lolz downloaded the new

lolz downloaded the new version and recompiled and it workd. thanx

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

incubus
Offline
Last seen: 17 years 4 months ago
Joined: 2007-06-23 21:33
nice

ive downloaded AutoIt last night
nice little language
will have a look at it Biggrin

P.S is it possible to port the basecode to lazarus or isnt it possible doing this in open pascal

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
I have no idea

Although I played a bit with lazarus last year, I've never undertaken any serious programming with it (I spent the money for Delphi, I'm gonna use it :O)

And even at that I had to put the free version of Delphi (Turbo Delphi Explorer) on a spare laptop to work on this because mine is a couple versions back and is missing a couple of the required Components.

Here is a list of the uses and types referenced in the source if it helps.

 uses Windows, Classes, Forms, StdCtrls, Buttons, ExtCtrls, ComCtrls,
      Jpeg, ShellAPI, Controls, Graphics, Dialogs, SysUtils, INIFiles,
      StrUtils, Menus, Messages, Registry, TypInfo, Variants;
      
 types
      array, boolean, double, DWord, hBrush, http, integer, Located, 
      Longint, Massive, pointer, string, TApplication, TBitmap, TButton, 
      TColor, TCreateParams, TFont, TImage, TINIFile, TJPEGImage, TLabel,
      TMenuItem, TMessage, TMethod, TMouseButton, TObject, TOpenDialog, 
      TPanel, TPicture, TPoint, TPopupMenu, TProcessInformation, TRect, 
      TRegistry, TSearchRec, TSHFileInfo, TShiftState, TSpeedButton, 
      TStartupInfo, TStaticText, TStringList, TTimer, TTrayIcon, 
      TWMHotkey, TWMMoving, Uint, Word

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

dragonmage
Offline
Last seen: 1 year 11 months ago
Joined: 2007-01-15 02:25
Does this version have the

Does this version have the "working directory" bug?

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Well I think it does but...

A well behaved app should be able to take care of itself as far as working directory is concerned, and the stubs that a lot of the portable apps run had better be taking care of the directory themselves as the menu has no idea where the actual app should have it's working directory. However I see the point of wanting the apps to start in their own directory.
The problem becomes am I going to break anything if I start executing apps in their own directory. I will put a patch in place to make apps run from their own directory (the directory the exe is in) before I take off for the weekend. I'll put an option in the ini file that allows it to be turned off in case it breaks something I don't know about.
"UseExeWorkingDir=True" will be the default value.
_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
.

It shouldn't break anything and as far as I've seen, it doesn't.
The simple fix that I used was to add PAnsiChar(ExtractFileDir(tstrlstApplications.ValueFromIndex[iControl+intFirstButton]+#0)) as the second last parameter to ShellExecute.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
More or less what I've done

Except I've wrapped it in a separate function a) in case I need to turn it off or on, b) because I wondered about the possibility of specifying the start directory for an app so figure having one place to change it is easier, (with the advent of custom buttons there is more application running going on, not to mention runonexits) c) because I do a bit of extra checking so I can return a decent result (If an app has moved and you try to run it currently nothing happens, I figure this should either automatically trigger a reload or notify the user that the app is not found and ask if should it reload.)

I find the use of the #0 in a lot of places odd, The old string handling under Turbo Pascal and Delphi 1 would have required such a construct, however in the current flavors String (which is an alias for AnsiString) and WideString automatically maintain the null character(s) at the end, so typecasting should not require the null character added.
_________________________
I'm amazed this place has a decent internet connection, when you pull up you wonder if it even has power...

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
i like the new website. haha

i like the new website. haha better then the old plain one xD

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
is it possible to make the

is it possible to make the eject script close every single open windows from the USB drive? most of the time there's one or two windows left over. kinda defeats the purpose of the eject script

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
I'm Tryin'

I keep working on different/better ways to find/close the apps in the eject script, it would help if you could run EjectScript /SHOW when a couple have been left around so I know what apps are problems and if they're windowed or nonwindowed. I'm thinking of making a change to make it go through the window list a couple of times rather than just the one main loop it does now. (Time between loops and max number of loops probably configurable)

Query: If an app has no window where do I send messages?

And on a totally unrelated not, does anyone know of a clean fast text editor that does checkpointing I have the really nasty habit of using my text editor as a scratch pad and forgetting that I actually needed the chunk of code that was in the editor I just closed (ignoring the warning of course) (And I think my clients are bad...)
_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
it closes all the programs

it closes all the programs that i use but it doesn't close all the explorer windows that are viewing contents of the USB drive.

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

yurzub
Offline
Last seen: 16 years 4 months ago
Joined: 2007-06-04 12:21
meh

explorer windows viewing the flash drive automatically close when you remove the flash drive from the system. since explorer wasn't run from the usb drive, the eject program doesn't recognize it as a program that needs to be closed [the premise being that opened programs without the host drive will error out unable to find necessary resource files].

But I guess adding the functionality to find and close referencing explorer windows wouldn't be too hard to implement. Though, my custom eject script actually opens up a root explorer window to the drive, in case I want to restart PAM.

Keviin_
Offline
Last seen: 16 years 8 months ago
Joined: 2007-05-19 08:05
lolz, yeh i noe they

lolz, yeh i noe they automatically close in windows xp but this doesn't happn in Vista. if you hav opened explorer windows viewing contents of the USB it won't let you eject the USB. and the eject script from xrxca does close explorer windows, well some of them. not all, most of the time is closes the explorer window viewing the root of the USB. but if i go deep into the USB it usually doesn't close.

_________________________
"A $5000 Computer... and it can't do a task as simple as killing Flanders!" -Homer

yurzub
Offline
Last seen: 16 years 4 months ago
Joined: 2007-06-04 12:21
hmm. well, that just chalks

hmm. well, that just chalks another one up on the vista sucks side. perhaps mod the function to close anything with the usb drive letter heading off the window title? although, window titles can be modified in settings to not display the full path, preventing that from working.

incubus
Offline
Last seen: 17 years 4 months ago
Joined: 2007-06-23 21:33
use xp

Biggrin

hey guys who wants vista if he can use xp or linux lol Biggrin

greetz

richo
richo's picture
Offline
Last seen: 3 weeks 2 days ago
Joined: 2007-01-31 22:03
Unlocker

Maybe you should try and integrate Unlocker into the menu.
It would be a great help with removing apps as well Wink

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Unlocker is closed source.

Unlocker is closed source. It can't legally be done
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

richo
richo's picture
Offline
Last seen: 3 weeks 2 days ago
Joined: 2007-01-31 22:03
What about a similar app that is open source

What about a similar app that is open source?
Are there even any open source alternatives to Unlocker?

Bensawsome
Offline
Last seen: 2 years 9 months ago
Joined: 2006-04-22 19:27
If he tried that he might by

If he tried that he might by accident close the proccess explorer.exe. and that would not be bueno (good).
_____________________________________________________
Bensawsome
AKA
BJ
:My Website (Still under development):

 iLike Macs, iPwn, However you put it... Apple is better ^_^ 
"Claiming that your operating system is the best in the world because more people use it is like saying McDonalds makes the best food in the world..."

ozbodd
Offline
Last seen: 16 years 3 weeks ago
Joined: 2007-02-22 15:12
You mean like Codebank?

You mean like Codebank?

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Hmmm, maybe

Not totally sold on it. Oddly reacting interface and a couple other quirks that bugged me. I may take another look at it later.

For the moment I've gone with Stickies, I really like its ability to tie a sticky to a specific window, when I connect to client A up pops the stickies that I associated with it last time (don't know the text limit of a sticky yet, but rarely need all that much) snap to other stickies, drag multiple stickies around at once (shift click) and it supports portability (not obvious from the docs but with the right command line setting and env variables (not sure they are necessary, but it works so why mess with it)!
_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

dragonmage
Offline
Last seen: 1 year 11 months ago
Joined: 2007-01-15 02:25
What would these "right

What would these "right settings" happen to be?

whibo
Offline
Last seen: 4 years 1 week ago
Joined: 2006-11-23 16:00
.

.

incubus
Offline
Last seen: 17 years 4 months ago
Joined: 2007-06-23 21:33
mirror + updated german locale

Hi!

Mirror 21b

greetz

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 1 month ago
Developer
Joined: 2006-05-26 12:08
Mirror Update

Sorry I'm late in updating this (Was working on a new site layout ;))
http://linkprophecy.com/apps/PortableAppsMenu21B.7z
in the archive I also added my new theme which is the Human theme for linux Wink
-----------------------------
"I don't fear Computers. I fear the lack of them" Isaac Asimov

your friendly neighbourhood moderator Zach Thibeau

pracslipkerm
Offline
Last seen: 8 years 6 months ago
Joined: 2007-05-02 02:12
Great Improvements - Eject Error...

Your work is fantastic! I love the new features you have put into the menu - When I try the eject button on rolled blue theme I get a "this drive type can not be ejected" error? Can I help by posting some details / log files?
-------
Cheers
Steve Griffiths Smile

-------
Cheers
Steve Griffiths Smile

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
What kind of drive?

I was wondering what it was going to do on a removable hard drive (if it would be reported as a hard drive or a removable drive) I have a few ofthem around, but they are all formatted with reiserfs and used to backup my backups (using partimage under linux) so haven't tried it on one.

If thats what your using I'm gonna have to go back to the drawing board for determining drive type (I don't want to be killing anything thats running off a fixed drive)

I've been thinking of adding the determined drive type to the output of the ejectscript /show command. But haven't yet, (maybe when I get home tonight)
_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

zikarus
Offline
Last seen: 13 years 2 months ago
Joined: 2006-10-10 16:32
A working eject!

I suggest you download

http://www.uwe-sieber.de/files/removedrive.zip

create an "RemoveDrive"-folder under PortableApps, unzip the donloaded package into it and finally create a "removedrive.bat" in this folder which could look like this one:

PortableApps\RemoveDrive\RemoveDrive.exe "OCZ ET1208AD USB Device" -l -d -w:2000

where the name of the drive in " " (which are btw needed here) has to be changed to the exact name of your drive (as it appears in the Windows remove hardware safely dialog).

Finally you add the following line in the PortableAppsMenu.ini file:

"ExecOnClose=PortableApps\RemoveDrive\removedrive.bat" (without " ")

and voilà - your done!

Works flawless for me...

BR
z

alanbcohen
Offline
Last seen: 5 years 4 months ago
Joined: 2006-01-04 10:47
This looks easy enough that

This looks easy enough that even I could do it!! I'm not much of a batch programmer, so I'd appreciate it you could add one more thing to this...

Since I use my USB drive for a lot of data storage as well as my Portable Apps, there would be many times that I would not want to eject the drive when shutting down PAM. I realize I could just use the separate 'Remove Drive functionality, but is it possible for the batch/cmd file to ask "Do you want to eject the removable drive?" and take appropriate action yes or no?

zikarus
Offline
Last seen: 13 years 2 months ago
Joined: 2006-10-10 16:32
Good idea! I am sure that

Good idea!

I am sure that this could be done. But I am not a coder, sorry :-). I am a bit short on time right now, but I remember here is a thread somewhere here that is dealing with batch files which allow one to start ClamWin when attaching your stick to a foreign PC automatically. And in at least one of the suggested lines for such a batch file posted in this thread there were questions included.

You may try a search for this particular thread and might be able to find the lines that should be added to the batch file...

zikarus
Offline
Last seen: 13 years 2 months ago
Joined: 2006-10-10 16:32
http://portableapps.com/node/
alanbcohen
Offline
Last seen: 5 years 4 months ago
Joined: 2006-01-04 10:47
Thanks!!

Thanks!!

pj80471
Offline
Last seen: 11 years 3 months ago
Joined: 2007-03-05 11:08
PAM MOD R21b

Hi, one question that I cannot find an answer to.
When I change an app name in the menu, where does it store it. I changed on one PC, moved stick to another and settings were lost, but OK when put back on original PC. Are they being left behind, if so where?

UPDATE : Found it, it was a problem on my USB stick, non writeable.
The files needed are the "hidden" *.pafdata located in the applications home and not in menu structure.

Phil Jobling, UK

----------------
"search button, what search button ? doh!"

Phil Jobling, UK
----------------
"search button, what search button ? doh!"

ozbodd
Offline
Last seen: 16 years 3 weeks ago
Joined: 2007-02-22 15:12
You can always just close

You can always just close the 'Safe to remove' dialogue. This cancels the action - I know cause I always hit it by mistake :/

zikarus
Offline
Last seen: 13 years 2 months ago
Joined: 2006-10-10 16:32
Okay, here we go...

Okay, here we go...

Please try the following as your remove.bat (just copy it into the file instead of the other line in the post above):

___________________________________________________________________

@ECHO OFF

:StartChoice
CLS
ECHO.
ECHO ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO º º
ECHO º Would you like to safely remove your drive now? º
ECHO º º
ECHO ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
ECHO.

SET choice=
SET /p choice="Enter 'y' or 'n'? "
IF NOT '%choice%'=='' SET choice=%choice:~0,1%
IF '%choice%'=='n' GOTO NoEject
IF '%choice%'=='y' GOTO Eject
ECHO.
ECHO "%choice% is not valid please try again."
PING -n 4 127.0.0.1 >NUL
GOTO StartChoice

:NoEject
ECHO.
ECHO.
ECHO ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO º º
ECHO º Your drive still needs to be removed safely later! º
ECHO º Do not forget... º
ECHO º º
ECHO ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
ECHO.
ECHO.
ECHO.
PING -n 4 127.0.0.1 >NUL
EXIT

:Eject
CLS
ECHO.
ECHO.
PortableApps\RemoveDrive\RemoveDrive.exe "OCZ ET1208AD USB Device" -l -d -w:2000

>EDIT: Don't now how to enter code correctly here - in the two text fields above need to be entered some blank fields manually between the º º in order to show correct frames...One wish on my behalf:/>

Could anybody who knows what he does add a line which would make the .bat finish via :Eject automatically after one does not enter any choice in the :StartChoice dialog for - let us say - 20 seconds or so? Please, that would be great and round off this .bat...

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
RemoveDrive

First it (as far as I can tell) is NOT opensource

Now having got that out of the way, this is exactly why I have the ability to execute an external exe at the end of my eject script.

An excerpt from my personal EjectScript.ini
------8This Topic

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Progress Report

Just a minor progress report, I figure it'll be the weekend before I have a releasable beta with categories (submenus) the current version does the loading to my new data storage structure, and displays submenus properly opens a closed submenu (closing isn't added (yet))

Still to do (no particular order):
Adding a new category (almost trivial just haven't coded it yet)
Change sort order, again pretty trivial it's just a case of coding.
Close a Submenu (Trivial)
Custom Icons for each Submenu (don't think this will make the next release)
Deleting categories, Deleting will require shuffling any items in the category up a level (this is pretty well just code monkey* type of stuff).
Moving items between categories (not quite so trivial, but I know how I'm going to do it)
Save sort order / category information (I'm still not sure exactly how I intend to store this info)
Track down a handle leak introduced in the current code (I'm pretty sure I know where it is just have to figure out the best way to fix it)

I could probably have it out sooner, but some of my spare time has gone to a new stained glass design (a voyager canoe on rapids, based on a number of old paintings, and trying to create the impression of the canoes occupants in glass at the scale the window is for is vexing)
_________________________
* code monkey (noun) : the lowest programmer on the totem pole, instructions must be given as specifically as possible for them to create non-critical and usually highly repetitive code.
Warning: giving a code monkey to much freedom can result in hair loss when you are pulling it out trying to figure out what they did to screw up this supposedly simple code (usually long after they've moved on)

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

yurzub
Offline
Last seen: 16 years 4 months ago
Joined: 2007-06-04 12:21
skills

do you have a link to some pics of the stained glass?

oh and, you should probably start a new thread for the next release. 2nd pages are always a hassle.

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Glass

The only one of my designs that is currently on the net is Storm at Sea panel I've done a quite few more that aren't out there, after a fiasco with one of my simpler designs all of a sudden available from a whole bunch of different stained glass 'artists' I'm quite protective of my designs (annoying to walk into an art show and see your design rendered VERY poorly). Although I have built a few lamps and panels myself, I generally design and let someone else do the building.
The ship is an early one I designed for myself (it's in an arched window in my living room), my dad built it for me so he's allowed to have it on his site and I'd let him build copies. Although he and I don't always see eye to eye on designs we found a compromise for this one. (I'm not totally happy with the way the water came out, but the panel looks phenomenal at the right time of the day)
_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

kastro
Offline
Last seen: 16 years 3 weeks ago
Joined: 2007-01-04 00:46
FolderIcons?

The Folder Icons are not switching for me. Could someone post their Desktop.ini from their Documents folder? I could have messed mine up during the move from USB/Flash to USB/HDD. Thanks.

kastro
Offline
Last seen: 16 years 3 weeks ago
Joined: 2007-01-04 00:46
Rework pafdata into PortableAppsMenu.ini?

I know this would be a lot of work, but could we rework the .pafdata files into the PortableAppsMenu.ini? Was there a specific reason to put the "app name" and "autoexec" properties into this file rather than PortableAppsMenu.ini? The reason I ask is because I would really like to be able to load from DB without having to perform a full recursion on 5GB worth of data in \PortableApps\ *and* still be able to autoexec apps on PAM start.

If reworking pafdata is too difficult then an simpler alternate method would be to write some code to run a .bat on open, like ExecOnOpen.bat. This would allow me to select "Load Apps from DB" and still AutoExec apps on PAM start.

Thanks, xrxca for your great work (and netdroid too)!

alexquidi
Offline
Last seen: 17 years 1 month ago
Joined: 2007-07-11 22:51
How to install the new XAMPP in this Portable MOD?

The new XAMPP need installed in the root directory of partition (or drive). How I can use the XAMPP in the applications' menu? @__@
I need some help... XD

If you don't understand what i wrote, don't worry, I am Brazilian
[]'s
Alex Sampaio

If you don't understand what I wrote, don't worry, I'm brazilian Smile
[]'s
Alex Sampaio

yurzub
Offline
Last seen: 16 years 4 months ago
Joined: 2007-06-04 12:21
Bug and Suggestion

Bug: [already posted on your blog, but here too jsut in case]: autorun apps are not launched on PAM launch when Load from DB is selected, because autorun ops are located in the pafdata files, which are not scanned when load from db is selected. Have autorun settings written to the main ini on Refresh Menu, just like how the current app list is written.

Suggestion: add option to the right click menu for apps to explore the folder they are in. For example, exploring firefox would open \PortableApps\FirefoxPortable\ in an explorer window. This would be mainly for convenience Smile

kastro
Offline
Last seen: 16 years 3 weeks ago
Joined: 2007-01-04 00:46
Did you read my comment above yours?

Yurzub,

Sounds like were talking about the same thing. BTW, its not a bug. Netdroid coded it this way intentionally. I think he did this because it would have taken too much time to rework the pafdata's into pam.ini. For a solution, I would even be happy with an "ExecOnOpen.bat". At least I could autorun apps and it would be easier for the developers to implement then moving configs into pam.ini. Granted, moving everything to pam.ini should be one of the future milestones.

I like your suggestion, I often have to browse through all of the portableapps to get to directories where the apps are stored. Having that context-menu shortcut would really add to the convenience factor.

yurzub
Offline
Last seen: 16 years 4 months ago
Joined: 2007-06-04 12:21
naw, sorry I get lazy about

naw, sorry Biggrin I get lazy about reading as soon as a topic hits the second page of comments. Unlike a phpBB type of forum, comment handling here is somewhat lacking.

But the current app list is stored in the ini. it definitely comes there after scanning apps and checking pafdata files. Why not add another section where the autoruns can be stored

app scan goes first, records viewed programs and autorun apps, and then run the apps from the ini. that way, when loading from db, the autoruns are there from the previous scan. sounds pretty viable to me, but feel free to voice concerns or suggestions towards the suggestion Biggrin

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Explore Here

Menu option, I like it, not sure it'll make the next release, but it'll be added to the list.
_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2007-05-11 09:12
@xrxca

Hi xrxca,

I have one asks. if it was maybe possibly link my Blog (Theme Blog) via rss or Hyperlink on your blog. would be nice from you if you this could do. Yours RSS stands already Wink
Very good work your MOD.

Greetz

NeoRame

--------------------------------------------------------------
Sorry for my lousy English!!!

My PAM THEMES BLOG

Hell was full, so I came back!!!
Sorry for my lousy English!!!

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Autoexec from DB

This is being changed in my current version, along with submenus and sorting. I've had to totally change how the data is handled internally (The orginal method I tried had too many limitations), I've created a list object that handles loading, saving, sorting, levels etc.
I've spent quite a bit of time on this so far and one of the totally new features is that ALL information can be stored in two files for reloading. This includes Icons, even when loading from DB the old version had to load the icon from the individual exe files which on a large drive could still take a while, I've come up with a way to store all the icons in a single file that seems to work ok, and is much faster with huge directories.
_________________________
* management (noun) : a system designed to inhibit program design and implementation as much as possible.

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2007-05-11 09:12
is it possible in the next

is it possible in the next version to fixed the PAM position via option menü?

NeoRame

--------------------------------------------------------------
Sorry for my lousy English!!!

My PAM THEMES BLOG

Hell was full, so I came back!!!
Sorry for my lousy English!!!

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Not sure what you mean.

The current version is supposed to keep the position between sessions if you move it on screen (drag it), and there is a restore position option if you have moved it.
A bit more explanation would help.
_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2007-05-11 09:12
ok sorry, i mean an option

ok sorry,

i mean an option to deactivate the "drag it" modus or an option to fixed the position (when fixed it, u cant drag it).

greetz
NeoRame

Ps: thanks for the Link

--------------------------------------------------------------
Sorry for my lousy English!!!

My PAM THEMES BLOG

Hell was full, so I came back!!!
Sorry for my lousy English!!!

xrxca
Offline
Last seen: 10 years 10 months ago
Joined: 2007-07-03 23:59
Pretty Easy

Ahhh... an Allow Dragging option (personally I'd never turn it off, but as it's easy to do I'll add it.)

%#*&@#%. The raid controller in the server thats hosting the Virtual Machine I'm running Delphi in just died.
I'm pretty good about saving on a regular basis when I'm working in Delphi (it's not the most stable of environments) but who knows what state the virtual machines image will be in when the controller died with it open, and probably writing.
So I'm taking a break till I can pick up a new controller tomorrow morning.
_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

_________________________
* programmer (noun) : a predominantly nocturnal creature fueled by either Caffeine or Sugar (Or Both).

cschaetzle
Offline
Last seen: 15 years 5 months ago
Joined: 2006-02-22 07:23
The Portable Apps Menu Mod

The Portable Apps Menu Mod Draggable R22 is released.

cschaetzle
Offline
Last seen: 15 years 5 months ago
Joined: 2006-02-22 07:23
The Portable Apps Menu Mod

The Portable Apps Menu Mod R22 is released.

Log in or register to post comments