Normal Topic Switches (Read 351 times)
dman
Member
*
Offline


A Complete Dummy

Posts: 19
Joined: Feb 18th, 2004
Switches
Mar 21st, 2004 at 3:36am
Print Post Print Post  
I know this is probably simple and I feel stupid for asking but I cannot make a switch work in a command line when making a new icon shortcut. Here is what I am trying to do, please tell me where I am going wrong. I have tried both of these to see if I can get one to work. Once I figure out how to make one work, it shouldn't be too hard to make them both work I wouldn't think.

"c:\sesame\data\invoice.db -closed"
"c:\sesame\data\invoice.db -macro entry.mac"
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Switches
Reply #1 - Mar 21st, 2004 at 4:15am
Print Post Print Post  
You are missing the command to start Sesame, and have the terms reversed.

From the Sesame documentation: Quote:
Syntax:sesame [-macro <macro_file.mac>][-server <server_name[:port_no1][:port_no2]>]
[-client <server_name[:port_no1][:port_no2]>][-closed][-splash <image_file<.bmp | .jpg | .png>>]
[-scheme <scheme_name>][-blink][-help][- warn_none][- warn_high][-daemon][sesame_database.db]

*Items in "[ ... ]" are optional and may appear in any order. Items in "< ... >" are required arguments
and must immediately follow their command.

Summary: Syntax is like this (without the "/" shown for sequence separation):
sesame command / -switches /database

Try this:
Quote:
c:\Sesame\Program\sesame -closed c:\sesame\data\invoice.db

AND
Quote:
c:\Sesame\Program\sesame -macro entry.mac c:\sesame\data\invoice.db


List of command line switches:
Quote:
[-macro <macro_file.mac>]
[-server <server_name[:port_no1][:port_no2]>]
[-client <server_name[:port_no1][:port_no2]>]
[-closed]
[-splash <image_file<.bmp | .jpg | .png>>]
[-scheme <scheme_name>]
[-blink]
[-help]
[-warn_none]......(I removed space after hyphen, think it's a typo)
[-warn_high].......(I removed space after hyphen, think it's a typo)
[-daemon]

*Items in "[ ... ]" are optional and may appear in any order.
Items in "< ... >" are required arguments  and must immediately follow their command. 
Items separated by "|" are exclusive OR selections.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged