StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
liuchina  
#1 Posted : Friday, September 10, 2021 6:21:43 AM(UTC)
liuchina

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 9/26/2018(UTC)
Posts: 73
China
Location: 北京

Thanks: 18 times
Was thanked: 1 time(s) in 1 post(s)
I mean. If I start a script that is executed in a loop at chorme. When I minimize the focus window of the script work, the script can still run.
Rob  
#2 Posted : Friday, September 10, 2021 2:47:46 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
This script can still run, but if it's trying to interact with Chrome via mouse/keyboard events, those won't work once a different window is active.
liuchina  
#3 Posted : Monday, September 13, 2021 5:52:14 AM(UTC)
liuchina

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 9/26/2018(UTC)
Posts: 73
China
Location: 北京

Thanks: 18 times
Was thanked: 1 time(s) in 1 post(s)
Is it possible for S + to locate web page elements by using XPath?
Rob  
#4 Posted : Tuesday, September 14, 2021 2:29:57 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
Unfortunately no. If another app could look inside your web browser, that would be very bad for security.

You would have to have a browser extension with permissions granted, but S+ wouldn't be able to talk to the extension.

Someday, I may create such an extension, but that would be well into the future.
liuchina  
#5 Posted : Wednesday, September 15, 2021 12:09:59 AM(UTC)
liuchina

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 9/26/2018(UTC)
Posts: 73
China
Location: 北京

Thanks: 18 times
Was thanked: 1 time(s) in 1 post(s)
I noticed that there is a data collection tool, which can be used to collect some tabular data in the website. It can run in the background. This may be another way.http://www.houyicaiji.com
Rob  
#6 Posted : Wednesday, September 15, 2021 12:24:43 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
Can you give me a little more details about what you're trying to accomplish.

We might be able to use the HTML window function in S+ as you should be able to access the page HTML through there.
liuchina  
#7 Posted : Thursday, September 16, 2021 12:04:06 AM(UTC)
liuchina

Rank: Advanced Member

Reputation:

Groups: Approved
Joined: 9/26/2018(UTC)
Posts: 73
China
Location: 北京

Thanks: 18 times
Was thanked: 1 time(s) in 1 post(s)
I sometimes do some online excel editing. I think if the S + script can run in the background without occupying the focus window, it will be more interesting and improve the efficiency of the computer.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.