Hello Guest it is April 24, 2024, 09:04:45 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - azambuja

Pages: 1
1
Flash Screens / Hotkey
« on: October 29, 2008, 01:46:54 PM »
Can I acess a hotkey in mach3 from a button in flash?!

thanks

2
Flash Screens / Re: Function to get a number from a string!?
« on: October 17, 2008, 07:43:37 AM »
Thanks Zealous!!

That worked. Now I can continue to work.

Azambuja

3
Flash Screens / Re: Function to get a number from a string!?
« on: October 15, 2008, 11:58:26 AM »
Hey man!!
Thanks but it does not work. Maybe I am not using it in the right way.

Azambuja

4
Flash Screens / Function to get a number from a string!?
« on: October 15, 2008, 11:06:08 AM »
Hello friends!!!

I need to count the numbers of letters of a _root.something (exemple: String="something" to get Number=9, or something like that) and with this number I can use it in a If condition.

Thanks for your supply.

Azambuja

5
Flash Screens / right click in mach screen
« on: September 10, 2008, 08:01:04 AM »
Another question, can I disable the mouse right click when running a flash screen in mach3.
Because this can interfere the user.

thanks

6
Flash Screens / Re: How to round numbers
« on: September 08, 2008, 03:28:03 PM »
This was really helpfull.
Thanks a lot.

azambuja

7
Flash Screens / Re: How to round numbers
« on: September 08, 2008, 02:05:08 PM »
Yes, it is a flash screen.

And thanks again.

8
Flash Screens / Re: How to round numbers
« on: September 08, 2008, 02:01:29 PM »
How can I format my DRO's?
I do not know how to do it.
If you know how, hepl me.

thanks

9
Flash Screens / How to round numbers
« on: September 08, 2008, 01:44:07 PM »
Hello friends,

How can I make this transformation:

1.3333 to 1.33 ???

I tried to use this code:

X=Round(GetDRO(0),2)
AB=Round(X*100)/100
Call SetOEMDRO(800,AB)

but the number I got  was 1.3300.
All that I wanted was 1.33.

Thanks for any support.

10
Flash Screens / How to save as in flash screen?
« on: June 25, 2008, 04:08:05 PM »
Hi
I want to create a button to save(save as) my GCode.
I create this button in Screen4(.set), with this code:

Set objDialog = CreateObject("SAFRCFileDlg.FileSave")
objDialog.FileName = ""
objDialog.FileType = "Arquivo TAP"
intReturn = objDialog.OpenFileSaveDlg

If intReturn Then

        Set objFSO = CreateObject("Scripting.FileSystemObject")

        If StrComp(Right(objDialog.FileName,4),".tap") Then
             objDialog.FileName = objDialog.FileName & ".tap"
        End If

        Set objFile = objFSO.CreateTextFile(objDialog.FileName)

        objFile.Close
       
   ArquivoTeach = objDialog.FileName
   
FileCopy "C:\Mach3\GCode\teach.tap", ArquivoTeach
A=MsgBox ("Arquivo salvo como " &  ArquivoTeach, 0, "SALVO")

End If

However, now I am working in development of flash screen and that code do not work.
If someone know the code to create this button tell me please.
That's it.

Pages: 1