Bruce, when I run the following commands in a bar (not as a script)
keys {sinp}{to c=Main}{enter}
keys {sinp}{to +c=View}{alt}f{alt}v
{alt}f{alt}v is sent to c=Main and not to c=View.
Same if I change the commands to
keys {sinp}{to c=Main}{enter}
wait.for(1000,anywindow("c=View")
keys {sinp}{to ^c=View}{alt}f{alt}v
In both cases, If I add wait.for(100) before the last keys command all
is fine, but my question is why is {alt}f{alt}v sent to c=Main? The help
file doesn't say that that's how it should work. The help text
makes me think that when ^ and + are used and no target is found then
the keys aren't sent. That's how I'd expect it to work.