Help - Search - Members - Calendar
Full Version: umm 2 qustions
AC Tools Everything Macro > AC Tool Macros > Macro Development
AbvCyr
Hi,
I have 2 questions

the first 1 is how can i copy and paste stuff in the macro? :S
every time i press ctrl C or right click>copy it does an error:
cannot open clipboard.
does any1 know how can i fix it?


my 2nd question is
Is there a way to hold a key and while holding it pressing another key?
for example:
CODE
rightmousedown
keys an
rightmouseup

with right mouse button its kinda ez... but is there a way that i can hold lets say the key shift and while doing that
pressing another key?


Vanberk
QUOTE(Vanberk @ May 28 2009, 04:36 PM) *
Hello Ilan, There is a file inside your AC Tool folder with the name actool.chm or press Help -> AC Tool Help inside the program.
Press Index or search and type: KeyDown then you will get Description, Parameters and Example of KeyDown.

-Vanberk

Same for you, go inside AC Tool Help and then look after 2 things.

1. SetClipboard <-- The example there will tell you how to use copy and paste...

2. Keys <-- You will find out how to use etc. shift and another button.

-Vanberk
AbvCyr
isnt the setclipboard command able to copy one line only? >.>
i need to copy a whole procedure :S

and about the 2nd question i meant holding down a key and WHILE doing that pressing another keys
with keydown i can hold the key but i cant press another keys while doing that, or can i?
Vanberk
Why do you need to copy a whole procedure with the macro? o.O

Keys @^2 = @ <-- it's like holding down a key and then pressing another, but yea it only works with shift, ctrl and alt + another key >.<

The closest way that can work is:
QUOTE(cam @ Mar 6 2009, 07:22 PM) *
ACTool only supports alt, ctrl, shift being held down while another key is pressed. It may be fast enough to "trick" the system if you do "keydown {f1} {enter}" though
AbvCyr
lemme see if i got it right ohmy.gif
if i wanna hold w and shift i need to press
keys @~w?


and about the other thing
if for example i need 2 procedures that are almost the same but with a slight change its faster to copy the first and change it
a bit >.>


and thanks for the help BTW =)
Vanberk
~ presses the shift key
^ presses the control key
@ presses the alt key

Keys ~w

There are lots of topics called something like "How to make my script shorter" or "Shorten Code =)".
If the macro isn't too long then you can post it in a codebox here else use the Attachment.
Then me or someone else can take a look and make it shorter smile.gif

This forum seems kind of empty, Im new here but I will do my best to help other.
So it's you I should thank laugh.gif
Bear
QUOTE(AbvCyr @ May 28 2009, 07:43 AM) *
but is there a way that i can hold lets say the key shift and while doing that pressing another key?



Shift Key = ~
Ctrl Key = ^
Alt Key = @

CODE
Keys ~1

Would give you a !
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.