Re: How to pre-fill a dialog input box from clipboard?
Re: How to pre-fill a dialog input box from clipboard?
- Subject: Re: How to pre-fill a dialog input box from clipboard?
- From: Axel Lüttgens via AppleScript-Users <email@hidden>
- Date: Fri, 27 May 2022 10:53:39 +0200
- Ironport-data: A9a23:B6so76PGgff7linvrR0OlcFynXyQoLVcMsEvi/4bfWQNrUonhTwAz zcaUW2OaP2PYDDyetEiaI609UNVuZbXz4dqQXM5pCpnJ55oRWopJjg4wmPYZX76whjrFRo/h ykmQoCcaphyFxcwnz/1WlTbhSAUOZqgG/ytUYYoBggrHVU+EHp71ko68wIEqtcAbeaRUlvlV eza/pW31G+Ng1aY5UpNtspvADs21BjDkGtwUm4WPJinj3eC/5UhN6/zEInqR5fOria4KcbhL wrL5OnREmo0ZH7BAPv9+lrwWhVirrI/oWFih1IOM5VOjCSuqQQS74kDG9MeLnwHoBmRstp7l tFBr4eJHFJB0q3kwIzxUjFDFj1mNqlH9bnbZ3Gnqciep6HEWyu1ha8yUQdtZMtBo7kf7WJmr JT0LBgEfh2Hwear3K60R+93rt8gPc/mIMUVtxmMyBmDV657Hs6TEs0m4/dn5wgMpv9BPszAO dc+Nj8sMinNSR1QbwJ/5JUW2b3AamPEWzRAsFaYvqEt4nDPiRFq3aL2GN7UYcCRA8xNhkKV4 GnB+gzE7goybYXAj2Hctyjw26qfxGXyVJkWUbGp8Lhrm0XVzGEXBxQdUl79q/TRZlOCZu+z4 nc8okIGxZXePmTyJjUhd3VUa0JocvLRtxS83gH6BMywJnLo3juk
- Ironport-hdrordr: A9a23:Ax7C+qMuZFmu0cBcTuejsMiBIKoaSvp037BL7TEIdfU7SKOlfq yV9sjzliWE7Qr5IUtPpTnYAsi9qBDnhP1ICOsqTM6ftWDd0QPCEGgF1/qB/9SKIUHDH4BmuJ uIPJIObOEYoGIK6vrS8U2TKf5l6t+C6aWpjeDVwzNWSx1wYa0I1WdE40KgYytLeDU=
- Ironport-phdr: A9a23:cB6xlx20pLEG2IXWsmDOfwQyDh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DdIej7mVrok4jwgA5inFZuGW5ugmqep2CagAoYQb3heDl3KG nDtIda+Vu8IeR6Vd8Z6j3RQXKC5T4I63guvrBO/1qFqNPH8/iwDqYml3cBt4+CVnhY3o29aF cOYhkidQmVDuvcUWzA72rs39UVtx1PF1bVkn/NVE8d7/PBYVAomc5TRmb8pQ+vuUx7MK4/aA G2tRc+rVGlZcw==
Hello Marc,
You could try by replacing:
set {the_phrase, theTop} to create field "" placeholder […]
with:
set {the_phrase, theTop} to create field (the clipboard) placeholder […]
HTH,
Axel
> Le 27 mai 2022 à 06:48, Jenni via AppleScript-Users
> <email@hidden> a écrit :
>
> I've written a little script that creates a dialog box to enter text to
> be translated into another language using the Argos Translator script on
> GitHub. It works well. But then I thought it would be nice to have the
> dialog box input field be automatically populated with any text already on
> the clipboard, but I can't get it to work.
>
> Here's what I have:
>
> […]
>
> Thanks,
> Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden