Dear Tcl team,
may I ask a bit desperate unrelated question.
The issue is, that an background invocation call of Google Crome on
Windows 10 64 bit takes sometimes one second and sometimes 15 seconds.
The TCL/Tk starkit is 32 bit.
I have the following code:
set Cmd {exec -ignorestderr -- {C:\Program Files\Google\Chrome\Application\chrome.exe} https://mysapmeserver:12345/sapme/template.jsf?WORKSTATION=Z_MY_WS&ACTIVITY_ID=Z_MY_ACTIVITY# &}
if {[catch { set CmdRes [eval $Cmd] } Err]} {...err } else { ...ok}
This is invoked by a barcode scan connected to a TCL application.
There is a "&" at the end of the command to indicate background
processing. Nevertheless, it takes mostly 1 second, but sometimes 15
seconds.
The client reports, that the delay happens, if it was not used for some
time.
Do you have any hints about that? Do I do something wrong or may I point direction Crome? Is there a faster way to open an URL on Crome?
Background usage is factory automation with the SAP ME factory
automation workbench presented by a web interface.
Would it help to switch to 64 bit TCL/Tk ?
Thank you all !
Harald
Dear Tcl team,
may I ask a bit desperate unrelated question.
The issue is, that an background invocation call of Google Crome on Windows 10 64 bit takes sometimes one second and sometimes 15 seconds.
The TCL/Tk starkit is 32 bit.
I have the following code:
set Cmd {exec -ignorestderr -- {C:\Program Files\Google\Chrome\Application\chrome.exe} https://mysapmeserver:12345/sapme/template.jsf?WORKSTATION=Z_MY_WS&ACTIVITY_ID=Z_MY_ACTIVITY# &}
if {[catch { set CmdRes [eval $Cmd] } Err]} {...err } else { ...ok}
This is invoked by a barcode scan connected to a TCL application.
There is a "&" at the end of the command to indicate background processing. Nevertheless, it takes mostly 1 second, but sometimes 15 seconds.
The client reports, that the delay happens, if it was not used for some time.
Do you have any hints about that? Do I do something wrong or may I point direction Crome? Is there a faster way to open an URL on Crome?
Background usage is factory automation with the SAP ME factory automation workbench presented by a web interface.
Would it help to switch to 64 bit TCL/Tk ?
Thank you all !
Harald
On 10/27/2023 3:43 AM, Harald Oehlmann wrote:
Dear Tcl team,
may I ask a bit desperate unrelated question.
The issue is, that an background invocation call of Google Crome on
Windows 10 64 bit takes sometimes one second and sometimes 15 seconds.
The TCL/Tk starkit is 32 bit.
I have the following code:
set Cmd {exec -ignorestderr -- {C:\Program
Files\Google\Chrome\Application\chrome.exe}
https://mysapmeserver:12345/sapme/template.jsf?WORKSTATION=Z_MY_WS&ACTIVITY_ID=Z_MY_ACTIVITY# &}
if {[catch { set CmdRes [eval $Cmd] } Err]} {...err } else { ...ok}
This is invoked by a barcode scan connected to a TCL application.
There is a "&" at the end of the command to indicate background
processing. Nevertheless, it takes mostly 1 second, but sometimes 15
seconds.
The client reports, that the delay happens, if it was not used for
some time.
Do you have any hints about that? Do I do something wrong or may I
point direction Crome? Is there a faster way to open an URL on Crome?
Background usage is factory automation with the SAP ME factory
automation workbench presented by a web interface.
Would it help to switch to 64 bit TCL/Tk ?
Thank you all !
Harald
I too am/was experiencing that behavior. However, it had just started
with the sometimes 1 second, sometimes 15 seconds (or thereabouts) in
the past few days. It happened both by just using a shortcut and also
using an exec call from tcl (to the magicsplat doc page). I think it
phones home when run.
So, I just updated chrome today after reading your post. Hopefully that
will fix the problem and not break anything. So far so good, not
delaying, nothing broken I can see after 20 minutes and several uses :)
If the behavior returns, I'll post again.
Am 27.10.2023 um 19:44 schrieb et99:magicsplat doc page). I think it phones home when run.
On 10/27/2023 3:43 AM, Harald Oehlmann wrote:
Dear Tcl team,
may I ask a bit desperate unrelated question.
The issue is, that an background invocation call of Google Crome on Windows 10 64 bit takes sometimes one second and sometimes 15 seconds.
The TCL/Tk starkit is 32 bit.
I have the following code:
set Cmd {exec -ignorestderr -- {C:\Program Files\Google\Chrome\Application\chrome.exe} https://mysapmeserver:12345/sapme/template.jsf?WORKSTATION=Z_MY_WS&ACTIVITY_ID=Z_MY_ACTIVITY# &}
if {[catch { set CmdRes [eval $Cmd] } Err]} {...err } else { ...ok}
This is invoked by a barcode scan connected to a TCL application.
There is a "&" at the end of the command to indicate background processing. Nevertheless, it takes mostly 1 second, but sometimes 15 seconds.
The client reports, that the delay happens, if it was not used for some time.
Do you have any hints about that? Do I do something wrong or may I point direction Crome? Is there a faster way to open an URL on Crome?
Background usage is factory automation with the SAP ME factory automation workbench presented by a web interface.
Would it help to switch to 64 bit TCL/Tk ?
Thank you all !
Harald
I too am/was experiencing that behavior. However, it had just started with the sometimes 1 second, sometimes 15 seconds (or thereabouts) in the past few days. It happened both by just using a shortcut and also using an exec call from tcl (to the
So, I just updated chrome today after reading your post. Hopefully that will fix the problem and not break anything. So far so good, not delaying, nothing broken I can see after 20 minutes and several uses :)
If the behavior returns, I'll post again.
Hi !
I appreciate your answers. For me, updating would also be the most logical. There are probably also extensions which do updates.
I was seeking the start parameters to avoid updates: https://peter.sh/experiments/chromium-command-line-switches/
I only found:
Switch: --check-for-update-interval
Description: How often (in seconds) to check for updates. Should only be used for testing purposes.
I proposed the client to set this to multiple days...
Thank you all, I appreciate!
Harald
On 10/27/2023 2:25 PM, Harald Oehlmann wrote:
Am 27.10.2023 um 19:44 schrieb et99:
On 10/27/2023 3:43 AM, Harald Oehlmann wrote:
Dear Tcl team,
may I ask a bit desperate unrelated question.
The issue is, that an background invocation call of Google Crome on
Windows 10 64 bit takes sometimes one second and sometimes 15 seconds. >>>> The TCL/Tk starkit is 32 bit.
I have the following code:
set Cmd {exec -ignorestderr -- {C:\Program
Files\Google\Chrome\Application\chrome.exe}
https://mysapmeserver:12345/sapme/template.jsf?WORKSTATION=Z_MY_WS&ACTIVITY_ID=Z_MY_ACTIVITY# &}
if {[catch { set CmdRes [eval $Cmd] } Err]} {...err } else { ...ok}
This is invoked by a barcode scan connected to a TCL application.
There is a "&" at the end of the command to indicate background
processing. Nevertheless, it takes mostly 1 second, but sometimes 15
seconds.
The client reports, that the delay happens, if it was not used for
some time.
Do you have any hints about that? Do I do something wrong or may I
point direction Crome? Is there a faster way to open an URL on Crome?
Background usage is factory automation with the SAP ME factory
automation workbench presented by a web interface.
Would it help to switch to 64 bit TCL/Tk ?
Thank you all !
Harald
I too am/was experiencing that behavior. However, it had just started
with the sometimes 1 second, sometimes 15 seconds (or thereabouts) in
the past few days. It happened both by just using a shortcut and also
using an exec call from tcl (to the magicsplat doc page). I think it
phones home when run.
So, I just updated chrome today after reading your post. Hopefully
that will fix the problem and not break anything. So far so good, not
delaying, nothing broken I can see after 20 minutes and several uses :)
If the behavior returns, I'll post again.
Hi !
I appreciate your answers. For me, updating would also be the most
logical. There are probably also extensions which do updates.
I was seeking the start parameters to avoid updates:
https://peter.sh/experiments/chromium-command-line-switches/
I only found:
Switch: --check-for-update-interval
Description: How often (in seconds) to check for updates. Should only
be used for testing purposes.
I proposed the client to set this to multiple days...
Thank you all, I appreciate!
Harald
Updating seemed to help, but there was 1 startup delay. I did some
searching and found an article that said to change system proxy
settings, in particular "automatic detect settings" to off, which had
been on for me. I still had 1 delay after that. My workaround is to just leave chrome running and minimize it when not using it.
I'll look into your update interval.
Am 28.10.2023 um 02:47 schrieb et99:magicsplat doc page). I think it phones home when run.
On 10/27/2023 2:25 PM, Harald Oehlmann wrote:
Am 27.10.2023 um 19:44 schrieb et99:
On 10/27/2023 3:43 AM, Harald Oehlmann wrote:
Dear Tcl team,
may I ask a bit desperate unrelated question.
The issue is, that an background invocation call of Google Crome on Windows 10 64 bit takes sometimes one second and sometimes 15 seconds.
The TCL/Tk starkit is 32 bit.
I have the following code:
set Cmd {exec -ignorestderr -- {C:\Program Files\Google\Chrome\Application\chrome.exe} https://mysapmeserver:12345/sapme/template.jsf?WORKSTATION=Z_MY_WS&ACTIVITY_ID=Z_MY_ACTIVITY# &}
if {[catch { set CmdRes [eval $Cmd] } Err]} {...err } else { ...ok}
This is invoked by a barcode scan connected to a TCL application.
There is a "&" at the end of the command to indicate background processing. Nevertheless, it takes mostly 1 second, but sometimes 15 seconds.
The client reports, that the delay happens, if it was not used for some time.
Do you have any hints about that? Do I do something wrong or may I point direction Crome? Is there a faster way to open an URL on Crome?
Background usage is factory automation with the SAP ME factory automation workbench presented by a web interface.
Would it help to switch to 64 bit TCL/Tk ?
Thank you all !
Harald
I too am/was experiencing that behavior. However, it had just started with the sometimes 1 second, sometimes 15 seconds (or thereabouts) in the past few days. It happened both by just using a shortcut and also using an exec call from tcl (to the
workaround is to just leave chrome running and minimize it when not using it. >>
So, I just updated chrome today after reading your post. Hopefully that will fix the problem and not break anything. So far so good, not delaying, nothing broken I can see after 20 minutes and several uses :)
If the behavior returns, I'll post again.
Hi !
I appreciate your answers. For me, updating would also be the most logical. There are probably also extensions which do updates.
I was seeking the start parameters to avoid updates:
https://peter.sh/experiments/chromium-command-line-switches/
I only found:
Switch: --check-for-update-interval
Description: How often (in seconds) to check for updates. Should only be used for testing purposes.
I proposed the client to set this to multiple days...
Thank you all, I appreciate!
Harald
Updating seemed to help, but there was 1 startup delay. I did some searching and found an article that said to change system proxy settings, in particular "automatic detect settings" to off, which had been on for me. I still had 1 delay after that. My
I'll look into your update interval.
Yes, you can also set the proxy settings by the command line.
How do you open URLs (from TCL) in a running Chrome ?
Thank you so much,
Harald
On 10/28/2023 12:21 AM, Harald Oehlmann wrote:
Am 28.10.2023 um 02:47 schrieb et99:
On 10/27/2023 2:25 PM, Harald Oehlmann wrote:
Am 27.10.2023 um 19:44 schrieb et99:
On 10/27/2023 3:43 AM, Harald Oehlmann wrote:
Dear Tcl team,
may I ask a bit desperate unrelated question.
The issue is, that an background invocation call of Google Crome
on Windows 10 64 bit takes sometimes one second and sometimes 15
seconds.
The TCL/Tk starkit is 32 bit.
I have the following code:
set Cmd {exec -ignorestderr -- {C:\Program
Files\Google\Chrome\Application\chrome.exe}
https://mysapmeserver:12345/sapme/template.jsf?WORKSTATION=Z_MY_WS&ACTIVITY_ID=Z_MY_ACTIVITY# &}
if {[catch { set CmdRes [eval $Cmd] } Err]} {...err } else { ...ok} >>>>>>
This is invoked by a barcode scan connected to a TCL application.
There is a "&" at the end of the command to indicate background
processing. Nevertheless, it takes mostly 1 second, but sometimes
15 seconds.
The client reports, that the delay happens, if it was not used for >>>>>> some time.
Do you have any hints about that? Do I do something wrong or may I >>>>>> point direction Crome? Is there a faster way to open an URL on Crome? >>>>>>
Background usage is factory automation with the SAP ME factory
automation workbench presented by a web interface.
Would it help to switch to 64 bit TCL/Tk ?
Thank you all !
Harald
I too am/was experiencing that behavior. However, it had just
started with the sometimes 1 second, sometimes 15 seconds (or
thereabouts) in the past few days. It happened both by just using a
shortcut and also using an exec call from tcl (to the magicsplat
doc page). I think it phones home when run.
So, I just updated chrome today after reading your post. Hopefully
that will fix the problem and not break anything. So far so good,
not delaying, nothing broken I can see after 20 minutes and several
uses :)
If the behavior returns, I'll post again.
Hi !
I appreciate your answers. For me, updating would also be the most
logical. There are probably also extensions which do updates.
I was seeking the start parameters to avoid updates:
https://peter.sh/experiments/chromium-command-line-switches/
I only found:
Switch: --check-for-update-interval
Description: How often (in seconds) to check for updates. Should
only be used for testing purposes.
I proposed the client to set this to multiple days...
Thank you all, I appreciate!
Harald
Updating seemed to help, but there was 1 startup delay. I did some
searching and found an article that said to change system proxy
settings, in particular "automatic detect settings" to off, which had
been on for me. I still had 1 delay after that. My workaround is to
just leave chrome running and minimize it when not using it.
I'll look into your update interval.
Yes, you can also set the proxy settings by the command line.
How do you open URLs (from TCL) in a running Chrome ?
Thank you so much,
Harald
My main tcl use is to query Ashok's web manual passing it a search term.
My text editor let's me send a selection to a tcl script, then I relay
it to the web site with this:
exec C:/PortableApps/GoogleChromePortable/GoogleChromePortable.exe "https://www.magicsplat.com/tcl-docs/docindex.html?search=$data" &
If this portable chrome is already running, the new url opens in a new
tab. So far I haven't seen any delays if it's already running. But only
time will tell.
If there's only one tab, closing it would exit chrome, so I just
minimize it when there's only one tab still open.
And with manual searches, it's handy to have the prior ones still there
in a tab. And lots of urls one clicks on in other types of pages open
new tabs as well.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 493 |
Nodes: | 16 (2 / 14) |
Uptime: | 172:51:21 |
Calls: | 9,704 |
Calls today: | 4 |
Files: | 13,736 |
Messages: | 6,178,520 |