I am trying to copy ledger name to clipboard. Can someone tell me how to pass values to clipboard? [#Form: Ledger Vouchers] Add : Button : LedgerNameCopy [Button : LedgerNameCopy] Key : Alt + F Action : SET VALUE : @@PartyName Action : Field Copy [System: Formula] PartyName : $$LocaleString$Name:Ledger:##LedgerName)
How to pass this value to windows clipboard so that cltr+v pastes ledger name? Output is shown in calculator window [#Form: Ledger Vouchers] Add : Button : LedgerNameCopy [Button : LedgerNameCopy] Key : Alt + F Action : Call : LNCFunc [System: Formula] PartyName : $$LocaleString$Name:Ledger:##LedgerName) [Function : LNCFunc] 10 : LOG : @@PartyName
Enjoy This Key Combination ............. Dil Se... "Desi" Code: [#Form: Ledger Vouchers] Add : Button : LedgerNameCopy [Button : LedgerNameCopy] Key : Alt + F Action : Call : LNCFunc [System: Formula] PartyName : $$LocaleString:($Name:Ledger:##LedgerName) [Function : LNCFunc] 10 : LOG : @@PartyName 20 : Calculator 30 : Trigger Key : UP,Ctrl+Alt+C,Esc,Esc
Thank you, this gets it done. A small improvement to above can be made to retain values in calculator by using Code: 30 : Trigger Key : UP,Ctrl+Alt+C,Down,Esc But, still not able to figure out how to directly pass values to OS clipboard. I think there must be a built in method. Will keep looking and update. Thanks for helping me in improving my knowledge.