Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!

pressing a button on mimic from script

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • pressing a button on mimic from script
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
sbeadle
Kirk sbeadle Kirk
309
AndrewScott
Admiral AndrewScott
99
BevanWeiss
Spock BevanWeiss
92
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
38
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure Geo SCADA Expert Forum
Anonymous user
Not applicable

Posted: ‎2021-11-18 10:40 AM . Last Modified: ‎2023-05-03 12:00 AM

0 Likes
4
1411
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-18 10:40 AM . Last Modified: ‎2023-05-03 12:00 AM

pressing a button on mimic from script

Hello.

please tell me how to activate the button action from the script that I set in pick action.

 

thanks

Labels
  • Labels:
  • ViewX
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 4
BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2021-11-18 07:21 PM

0 Likes
3
1400
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-18 07:21 PM

I don't believe 'action items' like that are available for buttons etc from the scripting environment.

 

If you have a script that is called, then that script would generally be called FROM a button click, and would then perform actions on DB objects as required (i.e. issuing a control to a DNP3 point or similar).

 

If you want a button to do the work of several other buttons (or something extra from another button), then you'd likely be better to convert the action on the other button to a script method, and then your new button can do the extra thing and then call the original script method.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-11-19 12:49 AM

In response to BevanWeiss
0 Likes
2
1390
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-19 12:49 AM

what i really want to do.

 

i want to open web page in new tab of viewx.

i can do it by makie a pick action of button (in all other ways web page opens in browser)

 

but i want to execute sequence like that 

 

Set obj = Server.LookUpObject (8311)
obj.Interface.Export
Sleep(20)
System("someexecutable.exe 7021")
Sleep(50)
Mimic.Navigate "some web page.html"

 

thats why i decide to make two buttons

first with pick action with web page "some web page.html"

and another with script

 

Set obj = Server.LookUpObject (8311)
obj.Interface.Export
Sleep(20)
System("someexecutable.exe 7021")
Sleep(50)

Some script to activate pick action of first button

 

if i can do that web page opens in new tab of viewx

if u know how to do that in another way please teach me )))

 

sorry for my english ))

 

 

 

 

 

 

 

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2021-11-21 02:00 PM

In response to Anonymous user
0 Likes
1
1361
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-21 02:00 PM

I've tried to find any methods like this on the Mimic Button, but have come up empty.

 

So I don't believe there is any way to call the click method like that.

 

The Mimic.Navigate does want a fully qualified URI, so you should include the http:// / https:// prefix, but this will not address the issue here, it will still launch it in a separate application (the system browser).

 

Given the additional items that you are trying to call however, I'd suggest that you're probably going about this in a way that is prone to breakages.

 

i.e. what if the client you're running on doesn't have access to the executable?

And if it's a remote client, it's almost certainly not going to have access to the result of the obj.Interface.Export

 

Is there a reason that you don't wrap this up in a web interface?

You could write a little ASP.NET web application that would do the object lookup, retrieve the data required for processing, do the processing and then return the result to the client (without having to do arbitrary Sleep(x) type of hacks).

 

Then you could just use a straight button pick action to have it displayed within the ViewX environment (or hosted elsewhere if it better suits the operational requirement).

 

If you're determined to proceed in your way, then unfortunately you'll have to raise it with Schneider Tech Support to see if there is such a mechanism.  I doubt there is however, which then leaves you with raising a feature request for it.  But I suspect this wouldn't get much traction either, since there are ways to achieve what you want without this.. (and it would be a massive change to the ViewX platform that they would need to provide ongoing support for... and this seems like a headache to support)


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-11-22 01:31 AM

In response to BevanWeiss
0 Likes
0
1351
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-22 01:31 AM

thanks/

seems to be the only way is to make an asp application

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of