Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 01:53:57 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
edit button script will not save in R3.042.040
Pages:
1
2
3
»
Go Down
« previous
next »
Author
Topic: edit button script will not save in R3.042.040 (Read 1224 times)
0 Members and 1 Guest are viewing this topic.
miket
Active Member
Offline
Posts: 18
edit button script will not save in R3.042.040
«
on:
January 09, 2011, 07:56:19 AM »
Hi,
I upgraded Mach3 recently to R3.042.040 from R2.0.065.
In the old version 'Edit button script' saved any changes to the button as expected but
in the new Mach3 version I just can't get it to change any key's VB script.
I also noticed that after a screen save within Mach3 the *.set file does not get updated (same old script contents)
but the date and time does.
Also, under XP the directory Mach3/macro attribute is 'read only' and can't be changed.
I must be doing something stupid - any ideas?
Thanks
Logged
ger21
Global Moderator
Offline
Posts: 2,619
Re: edit button script will not save in R3.042.040
«
Reply #1 on:
January 09, 2011, 12:39:05 PM »
If all your files are set to read only, then that's the problem. Did you copy them from a CD? That'll do that. You need to right click on the files, choose properties, and remove the read only attribute.
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
miket
Active Member
Offline
Posts: 18
Re: edit button script will not save in R3.042.040
«
Reply #2 on:
January 09, 2011, 01:26:04 PM »
Thanks for the reply but resolved the problem.
It was a wrong startup script for the keygrabber and not the read only attribute.
Logged
miket
Active Member
Offline
Posts: 18
Re: edit button script will not save in R3.042.040
«
Reply #3 on:
January 14, 2011, 06:29:59 PM »
HI,
I thought I had resolved this problem but alas NO.
If I start Mach3 with /p myprofile all is well. When I edit a macro under mach3/macro/myprofile
the file is modified and saved but when I start mach3 with the following
c:\mach3\keygrabber.exe /p myprofile the macro being edited does not show the modifications after a save
although the file under macro/myprofile has been modified and saved.
Keygrabber must be redirecting the file source directory or making it read only.
Again I ask the community for a resolution to this.
Thanks.
Logged
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: edit button script will not save in R3.042.040
«
Reply #4 on:
January 14, 2011, 06:44:10 PM »
Just tested here and it seems fine. Try clicking the File menu then save in the editor and see if that makes a difference, well thats if its not what you are already doing.
Hood
Logged
ger21
Global Moderator
Offline
Posts: 2,619
Re: edit button script will not save in R3.042.040
«
Reply #5 on:
January 14, 2011, 06:58:52 PM »
Are you saying the file is saved, but Mach3 is not reading that file, but an older version??
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
miket
Active Member
Offline
Posts: 18
Re: edit button script will not save in R3.042.040
«
Reply #6 on:
January 15, 2011, 06:02:41 AM »
I tried again and it's confusing!
For example: I edit the Hiddenscript for Auto Z macro (in macros/myprofile using a Windows editor without Mach3 running
and confirm the changes. I then start mach3 using Keygrabber.exe /p myprofile and open 'Zero Z macro' the file does not
reflect the previous changes!! So which file has it opened and from where?
The file I changed using a windows editor has now been changed back by Mach3.
When I start mach3 without keygrabber and modify hiddenscript prior to the run the file opens without the changes but
changing it in mach3 is fine.
Also, why is this file called Hiddenscript and why not have an unique macro file name for all programmable keys on mach3 screens?
Logged
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: edit button script will not save in R3.042.040
«
Reply #7 on:
January 15, 2011, 06:26:51 AM »
If I am understanding correctly what you are saying I think you are maybe getting confused. You mention Hidden Scripts , that is not really a macro, it just seems to be the last macro you edited but it wont actually change any macro.
If editing a button script the script is contained in the button and not in the macro folder so you can only ever change by using the Edit button scripts in Mach.
If I misunderstood what you are meaning then I appologise.
Hood
Logged
ger21
Global Moderator
Offline
Posts: 2,619
Re: edit button script will not save in R3.042.040
«
Reply #8 on:
January 15, 2011, 08:01:29 AM »
As Hood says, you're doing it wrong. In Mach3, go to Operator > Edit Button scripts. Click on the button, and edit the code. Then save "HiddenScript.m1s". This is the ONLY way to edit scripts in Screen buttons. This is actually saving the macro in the screenset, and NOT in HiddenScript.m1s.
Opening HiddenScripts.m1s from the \macros folder is NOT the same file.
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
miket
Active Member
Offline
Posts: 18
Re: edit button script will not save in R3.042.040
«
Reply #9 on:
January 15, 2011, 09:21:15 AM »
OK. I agree the button macros are stored in the *.set file. When I run via Keygrabber as before and modify a key macro then modify and save the
named *.set file it has an updated time stamp as expected. The problem is when I search the *.set file using a hex file viewer the contents of that embedded macro has not changed. It only changes if I start mach3 without the initial Keygrabber preamble.
Logged
Pages:
1
2
3
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...