View Full Version : AutoLISP,VBA or Script?
Andrea Kürzl
06-26-2003, 02:54 AM
I would like to create a new shortcut.
When I press 11 Return, Acad should make -view save 1
and when I press 1 return, Acad should make -view restore 1
The same with 22, 33, 44, ... 99
I cant define this as a shortcut, since it is more than calling just a
command. A little bit more. Now I have to decide, which way to go. My last
experience was ten years ago in AutoLisp. Now there are more options. I can
see Scripts and VBA. What are the advantages of these for my specific
problem? What is the fastest way to make my computer perform this routine as
I decribed above?
Thanks, Andrea.
bestafor
06-26-2003, 06:21 AM
HiHo;
We used to call those "One Finger Commands".
Try this
(defun c:11 () (command "view" "r" 11 ""))
(defun c:22 () (command "view" "r" 22 ""))
Blonds do have more Fun..lol
..
"Andrea Kürzl" <andrea_kuerzl@yahoo.de> wrote in message
news:YhAKa.18691$kC4.291371@news.chello.at... I would like to create a new shortcut. When I press 11 Return, Acad should make -view save 1 and when I press 1 return, Acad should make -view restore 1 The same with 22, 33, 44, ... 99 I cant define this as a shortcut, since it is more than calling just a command. A little bit more. Now I have to decide, which way to go. My last experience was ten years ago in AutoLisp. Now there are more options. I
can see Scripts and VBA. What are the advantages of these for my specific problem? What is the fastest way to make my computer perform this routine
as I decribed above? Thanks, Andrea.
Andrea Kürzl
06-26-2003, 12:40 PM
> We used to call those "One Finger Commands". Try this (defun c:11 () (command "view" "r" 11 "")) (defun c:22 () (command "view" "r" 22 ""))
Looks great. Where do i write this to?
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2008, Jelsoft Enterprises Ltd.