Hi, I'm trying to assign F1 as an action, but it does not come up as available? All the other F keys can be used for actions except that one. I can also assign F1 as a keyboard shortcut, just not an action. Is there any reason for this, and is there possibly a workaround I can use to set F1 as an action somehow?
I didn't test before my previous reply, however, this screenshot shows what happened when I did try to apply F1 as an action keyboard shortcut:
Yeah, I think the issue is Windows-specific, since my Mac lets me assign the F1 key just fine. The F1 key just isn't an option at all on my Windows computer:
So just to clarify in the script, would I just be replacing actionName and actionSet with whatever names I have, and then assigning that script to keyboard shortcut F1?
Yes, it should be that easy!
You don't need the .atn extension on the action set, but otherwise the exact spelling and case sensitivity should be the same.
Hi, thank you!! It works pretty much the way you said, except the only thing is that when I execute the script it works ok, but then these windows pop-up right after. I can close them and that's fine, but I plan on using this action a lot and I'd rather not have to exit out of these windows all the time.
Oh wait nevermind! I named something incorrectly and it works now, thanks again!
On Windows, F1 is pretty much the universal button for "Help." So that is most likely why Adobe doesn't let you use it.
Rewriting in binaries of .atn file the shortcut to F1 doesn't help. It's not displayed on loaded action.
btw r-bin, I wanted to suggest your script, but after forum transition it needs to be corrected.
I tried to do it on my own, but for some reason though it proceeds, the error occurs:
Wow! I'm stupid, I changed that to data[i] 🙂 btw, is that okey: var l3 = (len ) & 0xFF;
Well yes. This is the least significant byte. No shift required.
Brackets for beauty, or I forgot to remove when copying lines. : )
You deserved the gift - check the PM.