|
On Jan 13, 2021, at 7:46 AM, Maria Lucia Stoppa <mlstoppa@xxxxxxxxx> wrote:
Hi Birgitta,
We too use the 'start' command to open a URL link in the browser.
Unless you already know it, I just want to point out that 'start' is a
Windows command to open any file with the appropriate default program
according to its extension. So, if the file's extension is txt then it will
open inside Notepad (or similar), if it's .doc it will open inside Word,
etc..
Being 'start' a Windows command this solution works only on Windows
computer, not on Mac or Linux, for which I haven't found a strategy yet.
Hope it helps
Il giorno mer 13 gen 2021 alle ore 12:51 Mcgovern, Sean via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx> ha scritto:
Ignore the urldefence link before/after
maps.google.co.uk/maps?q=
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Mcgovern, Sean via RPG400-L
Sent: 13 January 2021 11:48
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Cc: Mcgovern, Sean <sean.mcgovern@xxxxxxxxxxxxx>
Subject: RE: [EXTERNAL] how to open google maps from Green Screen
Failed again.
This might help...
PGM PARM(&ZIP)
DCL VAR(&ZIP) TYPE(*CHAR) LEN(10)
DCL VAR(&CMD) TYPE(*CHAR) LEN(123)
STRPCO
MONMSG MSGID(IWS4010)
CHGVAR VAR(&CMD) VALUE('start +
https://urldefense.com/v3/__http://maps.google.co.uk/maps?q=__;!!NFcUtLLUcw!CpGSYmTd9vLbitjEfKU_eK9SFJQwnmsTHKpoK4R-GkVyOTx9SOoAjE-RQgg310E66kK9$
' *TCAT &ZIP)
STRPCCMD PCCMD(&CMD) PAUSE(*NO)
ENDPGM
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Mcgovern, Sean via RPG400-L
Sent: 13 January 2021 11:37
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Cc: Mcgovern, Sean <sean.mcgovern@xxxxxxxxxxxxx>
Subject: RE: [EXTERNAL] how to open google maps from Green Screen
That didn't come through correctly.
Try again...
start
https://urldefense.com/v3/__http://maps.google.co.uk/maps?q=__;!!NFcUtLLUcw!BDP_V-lzoaqmeOS4xC08jLqZeiBhRqz_S6xHFmhy1XY625Ku78qJR53sZtedanyDm1yY$
xxxx
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Mcgovern, Sean via RPG400-L
Sent: 13 January 2021 11:34
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Cc: Mcgovern, Sean <sean.mcgovern@xxxxxxxxxxxxx>
Subject: RE: [EXTERNAL] how to open google maps from Green Screen
Try...
Start
https://urldefense.com/v3/__http://maps.google.co.uk/maps?q=__;!!NFcUtLLUcw!EbnZldgcg5azYUzrG5xvOFm_C7wrBn54VY7sFgKHKAITJ6p2zAv_QdC9CPkoo_z2wNed$
xxxxx
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Birgitta Hauser
Sent: 13 January 2021 11:30
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] how to open google maps from Green Screen
Hi,
can someone help me out?
My customer wants to open from a Green Screen Program Google maps for a
specific address.
Building the URL for opening google maps is not the problem, ... but how
to open it from a green screen.
I know there are the CL commands STRPCO and STRPCCMD, but how must the
command look like, so I can open a website?
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok) "What is
worse than training your staff and losing them? Not training them and
keeping them!"
"Train people well enough so they can leave, treat them well enough so
they don't want to." (Richard Branson)
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/rpg400-l__;!!NFcUtLLUcw!FNcqtwbaFH5beZWG1iRQD7A2yUijoc9EtFs-5LFOswSWZolibVC3_GlLD5yYeYiFZfzQ$
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.com/v3/__https://archive.midrange.com/rpg400-l__;!!NFcUtLLUcw!FNcqtwbaFH5beZWG1iRQD7A2yUijoc9EtFs-5LFOswSWZolibVC3_GlLD5yYeZ08KC0z$
.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.com/v3/__https://amazon.midrange.com__;!!NFcUtLLUcw!FNcqtwbaFH5beZWG1iRQD7A2yUijoc9EtFs-5LFOswSWZolibVC3_GlLD5yYeaoXstO9$
[CONFIDENTIALITY AND PRIVACY NOTICE] Information transmitted by this email
is proprietary to Medtronic and is intended for use only by the individual
or entity to which it is addressed, and may contain information that is
private, privileged, confidential or exempt from disclosure under
applicable law. If you are not the intended recipient or it appears that
this mail has been forwarded to you without proper authority, you are
notified that any use or dissemination of this information in any manner is
strictly prohibited. In such cases, please delete this mail from your
records. To view this notice in other languages you can either select the
following link or manually copy and paste the link into the address bar of
a web browser: http://emaildisclaimer.medtronic.com
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/rpg400-l__;!!NFcUtLLUcw!EbnZldgcg5azYUzrG5xvOFm_C7wrBn54VY7sFgKHKAITJ6p2zAv_QdC9CPkoo9KkQMit$
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.com/v3/__https://archive.midrange.com/rpg400-l__;!!NFcUtLLUcw!EbnZldgcg5azYUzrG5xvOFm_C7wrBn54VY7sFgKHKAITJ6p2zAv_QdC9CPkoo2UruoC2$
.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.com/v3/__https://amazon.midrange.com__;!!NFcUtLLUcw!EbnZldgcg5azYUzrG5xvOFm_C7wrBn54VY7sFgKHKAITJ6p2zAv_QdC9CPkoo58knyjb$
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/rpg400-l__;!!NFcUtLLUcw!BDP_V-lzoaqmeOS4xC08jLqZeiBhRqz_S6xHFmhy1XY625Ku78qJR53sZtedajcFZ3Sh$
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.com/v3/__https://archive.midrange.com/rpg400-l__;!!NFcUtLLUcw!BDP_V-lzoaqmeOS4xC08jLqZeiBhRqz_S6xHFmhy1XY625Ku78qJR53sZtedasWyZY4v$
.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.com/v3/__https://amazon.midrange.com__;!!NFcUtLLUcw!BDP_V-lzoaqmeOS4xC08jLqZeiBhRqz_S6xHFmhy1XY625Ku78qJR53sZtedak-MKGVq$
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/rpg400-l__;!!NFcUtLLUcw!CpGSYmTd9vLbitjEfKU_eK9SFJQwnmsTHKpoK4R-GkVyOTx9SOoAjE-RQgg316_GlIkm$
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.com/v3/__https://archive.midrange.com/rpg400-l__;!!NFcUtLLUcw!CpGSYmTd9vLbitjEfKU_eK9SFJQwnmsTHKpoK4R-GkVyOTx9SOoAjE-RQgg31wbeX9vp$
.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.com/v3/__https://amazon.midrange.com__;!!NFcUtLLUcw!CpGSYmTd9vLbitjEfKU_eK9SFJQwnmsTHKpoK4R-GkVyOTx9SOoAjE-RQgg3192-n92C$
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
Maria Lucia Stoppa
mlstoppa@xxxxxxxxx
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.