Re: Need macro help :)



I think it was Catriona R <catrionarNOSPAM@xxxxxxxxxxxxxx> that wrote
something like...


Ok, what's the blindingly obvious syntax error I've made here that's
causing this macro to not work? ;-)

#showtooltip
/cast [nomodifier]Portal: Stonard
/cast [modifier:shift]Teleport: Stonard

Portal casts fine, when I hold shift down it shows the tooltip for
teleport, but clicking it does not start casting teleport, nothing
happens, no error messages, nothing (yes I do have runes in my bag ;-))
What have I missed? :-)

I'm not sure what's wrong. But I know the macro below works, so you
could just change the spells in it to the ones you want. I guess
having two /casts might be screwing things up for you.
Additionally, when you say you're clicking it, do you mean clicking on
the button you put the macro on with the mouse, or pressing the hotkey
for it? Because when playing around with the macro below, I
discovered that key bindings take precedence over the modifier in
macro's. ie, if the macro is on a button hotkeyed to '9', then the
renew would cast okay, the greater heal would cast fine, but the flash
heal wouldn't work because ctrl-9 is bound to 'Secondary Action button
9'.

#showtooltip
/cast [modifier:shift] Greater Heal; [modifier:ctrl] Flash Heal; Renew


Ashen Shugar
--
The lions sing and the hills take flight.
The moon by day, and the sun by night.
Blind woman, deaf man, jackdaw fool.
Let the Lord of Chaos rule!
.



Relevant Pages

  • Re: automaticaly moving information
    ... I wouldn't expect something in the system to declare lines of code as having invalid syntax; and yet, there is no syntax error with the code that I posted, so who knows. ... >> HI Rick ... >> I copy and pasted the macro but when I ran it I got a syntex error. ... >>> Right click the worksheet tab that you want this functionality on, ...
    (microsoft.public.excel.programming)
  • RE: Sorting macro needed on a protected sheet
    ... Notice a couple of things about that; this should correct the syntax error, ... on how to deal with AutoFilter in the situation with a protected sheet. ... Besides the sort still not working, the Autofilters now stopped working also. ... I also tried to attack this problem by creating a macro instead. ...
    (microsoft.public.excel.programming)
  • Re: transposing within a list
    ... I try to run this code as a macro ... and I get a syntax error, ...
    (microsoft.public.excel.worksheet.functions)
  • Re: transposing within a list
    ... I try to run this code as a macro ... | and I get a syntax error, ... I'm not a VB programmer. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: transposing within a list
    ... business problem. ... I try to run this code as a macro ... >| and I get a syntax error, ...
    (microsoft.public.excel.worksheet.functions)