Link to home
Start Free TrialLog in
Avatar of mahdiparak
mahdiparak

asked on

Send Character to photoshop

hi
how i can send character code such as #132 or #186 ( no key code ) to other application ( Adobe Photoshop ) when user is in type mode?
Avatar of calinutz
calinutz
Flag of Romania image

Avatar of mahdiparak
mahdiparak

ASKER

dear calinutz i have a problem yet.
this code only send key Code but i want Send Character code as Ascii. for example i use this

  SendMessage(h,WM_CHAR,112,0);

This Function Work in Notepad but not Work in Photoshop.

i want a Source Code For send Charachter Code as ascii not keyCode
Avatar of atul_parmar
var
 Key : char;
begin
  Key := #132
  SendMessage(h,WM_CHAR,Ord(Key),0);
end;
dear Atul_Parmer thanks
but i say this code not work for send character to photoshop
ASKER CERTIFIED SOLUTION
Avatar of atul_parmar
atul_parmar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
very thanks