Moved As Requested By Patrick Patience
https://portableapps.com/node/11778
New: DesktopSnowOK (Jan 6, 2025), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads Nov/Dec/Jan!, Please donate today
Moved As Requested By Patrick Patience
https://portableapps.com/node/11778
Check out "GetParameters" in one of John's recent launchers. It shows how to detect "command line parameters". Frequently when you click on things, the value of the thing you click on is passed as a command line parameter, and the program launching will see it there and open it instead of the default.
MC
well i just spent 6 hours on this thing and i didnt get anywhere. i got the GetParameters.nsi file and the launcher codes and it compliled but it wont work. and yet.. idk what part of the code i need to edit or what
i need like the whole code that will open the linked clicked in internet explore.
im sorry if im asking for much but this is frustrating. im only a newbie in this scripting stuff
Na na na, come on!
Hey dbdii407,
This isn't really general discussion. Although it pertains to NSIS, it doesn't however pertain to PortableApps.com.
Could I get you to post this is Off-Topic, or at least Portable Apps Development if anything.
Thanks.
well to me "general discusion" is a discusion. and we are talking
Na na na, come on!
General Discussion of PortableApps.com, and related topics. Your topic is not very related, I'd appreciate it if you moved it please.
Posting your full code would be helpful also.
my sister im gonna get her for this she removed the file and removed from recycle bin :| now that just sucks. she thought my desktop was "messy"
this is the code i used before someone told me i needed parameters.
START OF CODE:
Section "Main"
HideWindow
GoTo SettingsFound
SettingsFound:
;=== Show the splash screen before processing the files
InitPluginsDir
File /oname=$PLUGINSDIR\splash.jpg "${NAME}.jpg"
newadvsplash::show /NOUNLOAD 1500 200 0 -1 /L $PLUGINSDIR\splash.jpg
Sleep 500
HideWindow
Exec '"$PROGRAMFILES\Internet Explorer\iexplore.exe"'
Sleep 1000
HideWindow
Sleep 500
SetAutoClose "true"
SectionEnd
END OF CODE
so where do i put parameters and what do i edit?
cause im not familer with parameters.
im sorry if im asking for alot. its just 6 hours of frustration and i kinda closed window for a while.
Na na na, come on!
I'll get something up in a little while. Question though, how are you getting Yahoo messenger to launch this app when you click links?
I Found DefaultMyFFP and after complieling i just renamed it to firefoxportable.exe and put it in the C drive. haha i gotta use what i gotta use
Na na na, come on!
Wow, ok, sounds like you have file association problems on your PC. You should be able to run IE or FF and make them set themselves as the default browser on your PC. That should get things back to normal, since renaming IE to FirefoxPortable.exe is going to definitely break something else.
i use logmein to help my client, goes by blue, and its a pain. she doesnt want to use firefox cause she thinks it crashes her computer. and i've already gotton permission to do all the default brower shuff, i even restarted the computer. doesnt help. so thats why i need the codes. she gets really angry cause she cant click on links to register for tours
Na na na, come on!
I still don't know how you were getting yahoo messenger to open your app after clicking links, or how you know that the URL is being correctly passed to that app in the first place.
But your situation sounds...well, crappy. I don't think your current solution is good for the long run (renaming IE), but if it gives your "client" the perception of success, then so be it.
Good luck!
look back to my last comment.
"I Found DefaultMyFFP and after complieling i just renamed it to firefoxportable.exe and put it in the C drive. haha i gotta use what i gotta use Laughing out loud"
DefaultMyFFP sets firefoxportable.exe as your default broswer. after writing my app in NSIS i renamed the app firefoxportable.exe and so now when ever my client clicks on a link my launcher starts and its suppose to open IE with the link she clicked. thats where im having torouble in. i need the full code with the Parameters thing.
please reply to this where the topic has moved. ty
Na na na, come on!
For future reference, you can more a post simply by editing it and specifying a new forum to post it under.