You are here

Portable App Development

Discuss portable app development and modification of existing apps.

autohotkey eject script (Basic Idea)

Nathan9222's picture
Submitted by Nathan9222 on July 19, 2008 - 8:05pm

Alright, I know in the past I started to look into how to make an autohotkey script that would automatically eject the drive you have the PA menu on (when you click the eject button on PA menu). Well I began to write the script, and I made a basic one that works. Here it is.....

DriveGet, list,List, REMOVABLE  ;Only gets Removable Drives.
DriveGet, cap, capacity, %list%:  ;Gets total usb size
DrivespaceFree, free, %list%:  ;Tells you available space on drive
DriveGet, fs, fs, %list%:  ;Tells you what format the drive is in, eg: Fat32, Fat

Maguma Open Studio- I could really use some help.

digitxp's picture
Submitted by digitxp on July 19, 2008 - 6:45pm

My friend motivated me (aka begged me) to learn PHP, so I wanted to get a PHP IDE. My dad still won't let me install anything so I chose to make a Portable (on my extra 'Dev' drive I found) so that I could use it. And already it's causing me problems Sad

  • First, I couldn't understand their Maguma Public License (modified of the MPL). I couldn't find any kind of summary or deed like CC uses.

Security

Submitted by Mephisto LOH on July 19, 2008 - 7:54am

hello,

I'm new here but already lookng for stuff.
I'm looking for a way to lock m'n pc or laptop when the usb drive is not pluged in. the drive runs all my portableapps. Does anyone know where i can find that, doe that true scripting or can you develop one that runs under portableapps?

Problem when saving registry file using template

Submitted by CrendKing on July 14, 2008 - 9:39pm

I use the 2.6.2 template to make applications portable. I noticed that if I specify multiple entries to $REGKEYS in the header (with ||), after the application terminates, only the first entry is saved to Data directory.

I think the problem is in the CleanReg function, or more specifically, CleanRegLoop section:


; --------------------------------------------------------------------------
; Copy actual registry key to portable folder
; --------------------------------------------------------------------------

Problem of virus

Submitted by apparle on July 14, 2008 - 2:22am

Some days ago my pen drive was infected by a virus. That virus copied itself to each and every folder with the name of folder. Eg: in the folder 'FirefoxPortable' the main 'FirefoxPortable.exe' was replaced by virus. This happened with each and every portableapp and I had to reinstall everything.
But in some folders where I had renamed the files(folder name and file name different), the virus created a new file which I deleted easily.

So I recommend the wherever possible please make the folder and file names different.

Projectile Portable

Submitted by upnPAD on July 10, 2008 - 10:20pm

For my first PortableApp I thought I'd choose something simple, so I chose a program that calculates the motion of a projectile (thanks to Havvy for suggesting this). Here's the description of the program according to SourceForge: "Projectile motion is a GUI based program that calculates various parameters of projectile motion based on initial velocity and height. It also plots the path of the projectile and can also find the location (x,y) as a function of time and vice versa."

You can find out more about this program here: http://sourceforge.net/projects/projectilecalc/

Pages