You are here

Lost.exe modification

19 posts / 0 new
Last post
liuhoi
Offline
Last seen: 17 years 5 months ago
Joined: 2007-05-02 00:09
Lost.exe modification

Dear sir,
Thanks for your app. of LOST.exe

http://portable.cubegames.net/Lost.exe

Appreciate your assistance how to:
[1] add photo
[2] split one sentence into new line.

i.e.

"if this drive has been found, pls contact ABC at ABX@ABC.com"

->

"if this drive has been found,
pls contact ABC at ABX@ABC.com
Or phone at: 123456789
Thank you "

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
Not possible

Unfortunately, you can't do that with the base version. I'll do a special version for you. Smile
Here you go: http://cubegames.net/downloads/Lost-Multiline-Phone.zip
NSIS doesn't have the capability to add a picture to a message box, other than the built in ones (at least, not that I know of).
----
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."

m2
Offline
Last seen: 13 years 9 months ago
Joined: 2006-12-12 12:00
Just one question...What is

Just one question...What is it for?

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
It is

a little program meant to be run by the person who found your drive after you lost it. It tells her to contact you and displays a phone number and a email you specified before you lost the drive.

"There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them!" - Richard Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

pj80471
Offline
Last seen: 11 years 3 months ago
Joined: 2007-03-05 11:08
Now I know what it is...

Nice idea and works.
One question, Is it possible to get the autorun.inf file to launch two applications i.e. the lost.exe program and the PortableApps Menu ?

Probably not, but any ideas please ?

Phil Jobling, UK

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

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

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Search for that

it is not possible to launch 2 applications with autorun.inf but I think you can have autorun.inf launch a bat file which launches the 2. Or you use Smithtechs Applauncher.
"There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them!" - Richard Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

pj80471
Offline
Last seen: 11 years 3 months ago
Joined: 2007-03-05 11:08
Batch file

Simeon,
Thanks, thats exactly how I did it, but was "sort of" hoping for a nicer way of doing it.

I have got the "lost" app loaded on some company sticks, about 200 of them. Trying to keep things simple to support.

Thanks again.

Phil Jobling, UK

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

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

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
Whoa

Cool, thanks for supporting Cube Games Biggrin

If you want me to, I could have a message box with "Is this your drive?" and if the user presses Yes, it launches an app of your choice, specified by the INI. Just give us a buzz if you want that.
----
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."

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
That would be cool!!!

“Science is the belief in the ignorance of the experts” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

pj80471
Offline
Last seen: 11 years 3 months ago
Joined: 2007-03-05 11:08
Lost program

Happy to support both this site and those who support it. I have the portable Apps Suite installed on over 100 sticks and getting more interest each day - hits on this site must be rising steadily........

The batch file seems a simple thing, tried to turn to an exe, but had problems with setting the drive letter and path, as it ran in its own shell and was "looking" in C:\Windows, batch file works fine. Can't put direct path to filename as the drive letter changes, seen many "options" to fix in searches here but haven't got one to work fully (yet) with all hardware configurations used here.

The ability to answer Yes/No is a good idea, but in the batch it always shows the details then runs PStart, which for me is what I want to show, so Thanks, but not a facility I would need.

---
@echo off
start lost.exe
start PStart.exe
exit
---

I notice you supply the .nsi file - Can I alter some of the variables myself (with the NSI application) to change the messagebox heading to a Company name - all other "owner" details within the app to yourself would remain ? - Or could a value be implemented from the .ini file to include the Company name, as it is open source I think I can, but wanted to ensure that it is OK with you first, as you wrote it Smile

Phil Jobling, UK

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

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

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

You can pretty much do whatever as long as there's a reference to me. That's the beauty of the GPL license.
However, I don't know if you can change the title of the message box with NSIS. I'll have a check in the morning.
----
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."

pj80471
Offline
Last seen: 11 years 3 months ago
Joined: 2007-03-05 11:08
Message Box

Ryan,
Thanks for info.
I just changed line in .nsi file starting Caption and run the script through portable NSIS, seems to change the box title OK, left all the other stuff alone Smile

Phil Jobling, UK

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

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

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
(annoyed grunt)!

Didn't notice that Biggrin
----
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."

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Spanish Version.-

I took your lost.exe source code and changed the message into Spanish...

Do you want to make this version publicly available? I can send it to you... tell me how...

Greetings.-

EDIT: well, easier... change this and it's done... Wink
Message:
MessageBox MB_OK|MB_ICONEXCLAMATION "Si encontró este Pendrive, por favor contacte a $NAME en $EMAIL"

------------------
I don't have a signature
Should I have a signature?

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
OK

I will take a look, but if you compile it for me and send me the zip, I'll get it up straight away.
----
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."

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Lost.exe in Spanish here...

1 line: http://www.megaupload.com/es/?d=NNSVDTTC
Multi-lines: http://www.megaupload.com/es/?d=64JJ0W87

Source included in .rar file

------------------
I don't have a signature
Should I have a signature?

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
Thanks

Uploaded to http://cubegames.net/downloads/Lost-Spanish.zip and http://cubegames.net/downloads/Lost-Multiline-Spanish.zip
----
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."

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
YW

I'm not a programmer but can translate... so anything I can do to support these fantastic portable applications, just drop me a line... Biggrin

It's my way to pay the extreme use I do of PApps...

------------------
I don't have a signature
Should I have a signature?

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Bensawsome
Offline
Last seen: 2 years 9 months ago
Joined: 2006-04-22 19:27
Is there any way to compile

Is there any way to compile the NSIS source so that when you press ok it will laucnch StartPortableApps.exe?
And also is there any way to add a line of text that says if you press "ok" that it will launch the Portable Apps Menu and that if you press cancel than it will not launch PAM and this dialopg box will close (and to add a cancel button)?
PS I am trying to learn NSIS so... Thanks for any help.

 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..."

Log in or register to post comments