Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 09:08:33 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach Screens
| | |-+  Machscreen Screen Designer (Moderator: Klaus1311)
| | | |-+  Button code to send focus back to Mach after opening Camera Plugin
Pages: 1   Go Down
Print
Author Topic: Button code to send focus back to Mach after opening Camera Plugin  (Read 309 times)
0 Members and 2 Guests are viewing this topic.
Greolt
Global Moderator
*
Offline Offline

Posts: 872


View Profile
« on: November 22, 2011, 01:13:40 AM »

I use Klaus' Camera Plugin and design screens with MachScreen.  Both great pieces of software.

Fixed permanent camera on a router for origin setup.

I have the following code on button to call the page that I use with the camera,

DoOEMButton (3)           'this calls the page
SetUserLED (1103,0)      'turn 1103 off which every other page turns on (1103 exits plugin)
Sleep 200                     'needs this delay for plugin to start reliably
SetUserLED (1102,1)      'this starts the camera plugin

This all works like it should.  Goes to page 3 and starts the camera plugin.  But I would like it to return focus to Mach3. 

Presently one click sends me to the right page and starts the plugin, but leaves focus with the plugin.  Which means I can not jog with a pendant until another click on Mach3 screen returns focus.

Is there a line I can add to return focus to Mach3?

Thanks,

Greg
Logged
Klaus1311
Active Member

Offline Offline

Posts: 302


View Profile WWW
« Reply #1 on: November 25, 2011, 07:47:44 AM »

Hello,

I've added that feature to my camera-plugin. It can be enabled in the config plug in.
I don't want to release a new version, because of this small program change. If you need it, let me know and I will send you it to you by email.


Klaus
Logged
Greolt
Global Moderator
*
Offline Offline

Posts: 872


View Profile
« Reply #2 on: November 30, 2011, 09:33:38 PM »

I had some private communication with Klaus about this but forgot to post here.

Klaus sent me a new version of the plugin which now returns focus to Mach.

How good is that !!!!!!!!

Klaus your contribution to the Mach user community is amazing.    Thank you very very much.

Greg
Logged
Chaoticone
South Carolina, US
Administrator
*
Offline Offline

Posts: 3,598


Precision Chaos



View Profile WWW
« Reply #3 on: November 30, 2011, 11:32:37 PM »

I agree Greg, Klaus is on top of his work, a great contributor, and evidently one sharp individual.  I hope to one day be able to do the things Klaus can and has so freely.  Smiley  Thanks Klaus!!!

Brett
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!