Poster | Thread |
ChrisH
| |
OdysseyLauncher2 released (AmigaOS4) Posted on 3-Jul-2016 20:09:12
| | [ #1 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| OdysseyLauncher2 (I changed the name) is now available to download from Aminet: http://os4depot.net/?function=showfile&file=network/browser/odysseylauncher2.lha http://aminet.net/package/comm/www/OdysseyLauncher2
------------------------
I've written a replacement for "OdysseyLauncher", so that Odyssey can finally be (properly) used with AmigaOS4's URLOpen command. What's the benefit for URLOpen? If Odyssey is already running, then it will NOT run Odyssey again (creating a new window after a long delay), but rather it will send an ARexx message asking Odyssey to open the URL in a new tab.
In other words, it 'fixes' URLOpen to behave like OpenURL! (I should mention that it's not really URLOpen that needed fixing, but rather the OS4 port of Odyssey wasn't written to work correctly with URLOpen.)
You can download v0.2 beta of OdysseyLauncherPE from here: http://cshandley.co.uk/temp/OdysseyLauncherPE_r1_beta_2016-07-03.lha
It should be put in the same folder as Odyssey, and used instead of Odyssey from now on! So add it to your AmiDock (and afterwards maybe Edit it's Name to just "Odyssey").
To make URLOpen use it, start Sys:Prefs/URL, and for each tab change AppDir:Odyssey to AppDir:OdysseyLauncherPE . Before using URLOpen, make sure you have double-clicked on OdysseyLauncherPE once (so that AppDir knows where to find it).
Currently OdysseyLauncherPE has two switches: UseExistingTab/S, DoNotBringToFront/S
UseExistingTab tells it to open the provided URL in the currently active tab. DoNotBringToFront tells it to not bring Odyssey to the foreground. Where do you put these switches? In the "Commandline Format" column. So for example, if you had this: "*"http://%s*""
Then you can change it to this: "*"http://%s*" UseExistingTab"
Let me know if this works (or not!) for you, and whether it is worth polishing to release on OS4Depot...
edit: Corrected how to use parameters. Last edited by ChrisH on 27-Feb-2017 at 12:48 PM. Last edited by ChrisH on 26-Feb-2017 at 11:20 AM. Last edited by ChrisH on 17-Jul-2016 at 09:54 AM. Last edited by ChrisH on 03-Jul-2016 at 08:15 PM. Last edited by ChrisH on 03-Jul-2016 at 08:12 PM.
_________________ Author of the PortablE programming language. It is pitch black. You are likely to be eaten by a grue... |
|
Status: Offline |
|
|
JayCee
| |
Re: OdysseyLauncherPE released for testing (AmigaOS4) Posted on 4-Jul-2016 16:54:33
| | [ #2 ] |
|
|
|
Regular Member |
Joined: 17-Mar-2010 Posts: 156
From: MD USA | | |
|
| @ChrisH
Nice work. _________________ A1000, A500, A600, A1200, CTDV, A2000, A4000 Towered, SAMFLEX 800mhz |
|
Status: Offline |
|
|
Hypex
| |
Re: OdysseyLauncherPE released for testing (AmigaOS4) Posted on 5-Jul-2016 15:48:02
| | [ #3 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11200
From: Greensborough, Australia | | |
|
| @ChrisH
I could have a guess at what the "PE" stands for but incase I'm right does it stand for more than a programming language? Does it relate to Odyssey?
Also, thanks for your solution, but is this the perfect ending? |
|
Status: Offline |
|
|
ChrisH
| |
Re: OdysseyLauncherPE released for testing (AmigaOS4) Posted on 5-Jul-2016 16:16:25
| | [ #4 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| @Hypex I'm *terrible* at coming-up with good names (as a quick glance at my programs should indicate!).
The "PE" was just a way of distinguishing it from the original launcher (and an obscure indication it was written using PortablE). I'd felt this was marginally better than "OdysseyLauncher2"...
Anyway, I'm already considering changing the name to something shorter, so suggestions would be welcome: http://www.amigans.net/modules/xforum/viewtopic.php?post_id=102714#forumpost102714 Last edited by ChrisH on 05-Jul-2016 at 04:42 PM.
_________________ Author of the PortablE programming language. It is pitch black. You are likely to be eaten by a grue... |
|
Status: Offline |
|
|
Hypex
| |
Re: OdysseyLauncherPE released for testing (AmigaOS4) Posted on 8-Jul-2016 16:32:32
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11200
From: Greensborough, Australia | | |
|
| |
Status: Offline |
|
|
kilaueabart
| |
Re: OdysseyLauncherPE released for testing (AmigaOS4) Posted on 11-Jul-2016 9:08:58
| | [ #6 ] |
|
|
|
Cult Member |
Joined: 14-Jun-2004 Posts: 646
From: Honolulu | | |
|
| @ChrisH
I suspect this is a result of setting up OdysseyLauncherPE, since it never happened before I did. I can no longer open YAM.
The following launch-handler 53.38 Alert pops up after a message about the YAM developer version having expired: '"ENV:launch-handler/URL/HTTP.LH" Invalid directive.' So far I haven't been able to figure out what that means, although it invites me to Edit Preferences HTTP.LH, and if I Run it, I get URL Preferences, with no idea why.
A separate (non-)issue. Now when I launch Odyssey, a blue Launch rectangle pops up on WB. That used to happen years ago, but I quit using the old launcher, prefering to go straight to the browser. I suppose if I skip the new launcher, I don't get the benefit, right? |
|
Status: Offline |
|
|
ChrisH
| |
Re: OdysseyLauncherPE released for testing (AmigaOS4) Posted on 23-Jul-2016 11:43:09
| | [ #7 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| @kilaueabart Quote:
The following launch-handler 53.38 Alert pops up after a message about the YAM developer version having expired: '"ENV:launch-handler/URL/HTTP.LH" Invalid directive.' |
Since this sounds similar to a problem someone else had, my first guess is that this is a result of my incorrect instructions for configuring URLopen (which I have since corrected).
My instructions INCORRECTLY used to state you should write something like this: "*"http://%s*"" UseExistingTab
Instead, I should have said to write this: "*"http://%s*" UseExistingTab"
i.e. The final quote character (") has moved to the end. Please let me know if this fixes your problem._________________ Author of the PortablE programming language. It is pitch black. You are likely to be eaten by a grue... |
|
Status: Offline |
|
|
kilaueabart
| |
Re: OdysseyLauncherPE released for testing (AmigaOS4) Posted on 24-Jul-2016 2:23:31
| | [ #8 ] |
|
|
|
Cult Member |
Joined: 14-Jun-2004 Posts: 646
From: Honolulu | | |
|
| @ChrisH
That's probably what it was. I fixed URLOpen some time back when it was mentioned on one of the groups, and it doesn't happen anymore. |
|
Status: Offline |
|
|
ChrisH
| |
Re: OdysseyLauncher2 released (AmigaOS4) Posted on 26-Feb-2017 11:21:22
| | [ #9 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| |
Status: Offline |
|
|
Hypex
| |
Re: OdysseyLauncher2 released (AmigaOS4) Posted on 26-Feb-2017 14:19:40
| | [ #10 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11200
From: Greensborough, Australia | | |
|
| @ChrisH
Not still waiting since July? |
|
Status: Offline |
|
|
ChrisH
| |
Re: OdysseyLauncher2 released (AmigaOS4) Posted on 26-Feb-2017 14:41:35
| | [ #11 ] |
|
|
|
Elite Member |
Joined: 30-Jan-2005 Posts: 6679
From: Unknown | | |
|
| @Hypex Lol, no. I only uploaded it on Saturday.
No release since July (until now), due to me spending all my Amiga/programming time on a big program (which I hope to release for testing soon). It really benefits from OL2, hence why I finally got around to releasing it now. _________________ Author of the PortablE programming language. It is pitch black. You are likely to be eaten by a grue... |
|
Status: Offline |
|
|