These command line options may be of help. They are taken from pages 33 & 34
of the SmartCAM
Customization Guide.
Customizing Your SmartCAM Startup
Command line options can be used to customize your SmartCAM startup.
Anything added to the
startup will be automatically run each time you start SmartCAM.
Customizing your startup may be advantageous if, upon startup, you want to
open a regularly used
process model file containing a common set of tools and operations. It can
also be used to
automatically run a macro, create some named views, or create some of the
tool path geometry for
a specific type of part. A batch file or script file may also be used to
include several command lines
for automating common operations on many process models.
Command Line Options for SmartCAM Applications
The following command line options can be added to a startup procedure:
-m"<macro_filename>" Macro program file. This macro is executed
when the
SmartCAM application starts up.
-f"<process_model_filename>" Process model file. This model file is opened
when the
SmartCAM application starts up. This command
also works
without the "-f."
-j"<job_filename>" Job file. This job file is loaded when the
SmartCAM application
starts up. This information is not required
is it is the same name
as the process model file name.
Customizing the Startup in Windows NT 4.0 and Windows 95
1. Select the Start button at the bottom of the screen. Then select
Settings-Taskbar. The
Taskbar Properties dialog box displays.
2. Select the Start Menu Programs tab.
3. Select the Advanced button. The directory tree is displayed.
4. Find your SmartCAM application shortcut in a directory such as:
c:\windows\profiles\all users\start menu\programs\smartcam.
5. Copy the shortcut file. To do this, highlight the file name, select
Edit-Copy, and then select
Edit-Paste.
6. Display the properties for the new shortcut. To do this, highlight the
shortcut name and select
File-Properties. Then select the Shortcut tab.
7. Change the Target input field to add the command line options you want.
You can add as many
startup options as you want. Be sure to leave a blank space between each
option, and start
each option with a minus (-) sign
For example, change the Target input of c:\sm11\SYSTEM\pmill.exe to:
c:\sm11\SYSTEM\pmill.exe -f"c:\files\part1.pm4" -m"c:\files\mymacro.mcl".
8. Select OK when your change is made.
9. Make a new application shortcut icon on your desktop for this customized
startup. Select this
icon to use the customized startup.
=============================================
Fred Lauzus, CAM Programming Coordinator
High Steel Structures, Incorporated
mailto:[EMAIL PROTECTED] http://www.highsteel.com
=============================================
-----Original Message-----
From: Michael DeBerry [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 11:58 AM
To: SmartCAM List Server
Subject: [mfg-smartcam] Re: edit plus from icon button
How about this 1.
Fire up smartcam pturn.
Run a macro within pturn.
shut down pturn.
Fire up smartcam pmill.
Run a macro within pmill.
shut down pmill.
Used to be able to do this from dos
probably can from windows, just have messed with it enough.
Anybody able to do this in windows?
If so please show how.
Thanks
Mike DeBerry
----- Original Message -----
From: Jeff Pieper
To: SmartCAM List Server
Sent: Monday, April 02, 2001 12:49 PM
Thanks Andy & Sean for your answers.
Is there a way to create a button on the icon bar for my text editor?
Jeff Pieper
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================