[PCB_FORUM] Re: Toggle command

  • From: fxf <fxf@xxxxxxxxxxx>
  • To: icu-pcb-forum@xxxxxxxxxxxxx
  • Date: Thu, 24 Jan 2008 15:23:34 -0500

do on 1 line
funckey F9 'settoggle max45 9999 10; setwindow form.mini; FORM mini max_45_len $max45; setwindow pcb'

You can put as many values (9999 10) you wish to cycle through after the max45.

Every time you hit the function key F9 the variable, max45, cycles to
the next value. If is then expanded to its current value latter in the line
by the $max45.

Joe.witten wrote:
Thanks for the confirmation Barbara.
This what I'm doing now. I was just being lazy and didn't want to move my
finger to another key :)

Thanks,
Joe

-----Original Message-----
From: icu-pcb-forum-bounce@xxxxxxxxxxxxx
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of Barbara Seeger
Sent: Thursday, January 24, 2008 11:04 AM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: Toggle command


Joe,

You won't be able to do a toggle for the the max 45 length with aliases,
but you could set up 2 temporary commands like this:

 funckey F9 "setwindow form.mini;FORM mini max_45_len 9999.00;setwindow
pcb"
 funckey F8 "setwindow form.mini;FORM mini max_45_len 10.00;setwindow
pcb"

Then in slide , these will set the value you wanted. With any alias or
funckey command, you cam look at the journal file and find a command but
if it's form related you need the supporting records too.

Regards,
Barbara Seeger - Cadence Design Systems - 978-262-6578





On Thu, 2008-01-24 at 13:43, Joe.witten wrote:
  
I'm in Ver15.7 trying to set up a funckey to toggle between slide with a
    
max
  
45 length of 10 or 99999.  I can't seem to get toggle to work.  I am
replying .scr's that achieve this now, but it would be handy to hit F8 and
toggle between 10 and 99999.  Can this be done at the command line?

Thanks,
Joe

-----------------------------------------------------------
To subscribe/unsubscribe: 
Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
with a subject of subscribe or unsubscribe

To view the archives of this list go to
    


----------------------------------------------------------- To subscribe/unsubscribe: Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx with a subject of subscribe or unsubscribe To view the archives of this list go to //www.freelists.org/archives/icu-pcb-forum/ Problems or Questions: Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx -----------------------------------------------------------

Other related posts: