Search found 18 matches

by flacito
26 Jun 2020, 06:40
Forum: Ask For Help
Topic: Paste clipboard into text file but only if button is pressed Topic is solved
Replies: 5
Views: 848

Re: Paste clipboard into text file but only if button is pressed Topic is solved

braunbaer wrote:
24 Jun 2020, 11:34

Code: Select all

^!c:: fileappend %clipboard%`n, D:\myfile.txt
`n is the code for a new line. Or maybe the newline code twice:

Code: Select all

^!c:: fileappend %clipboard%`n`n, D:\myfile.txt
That's it. Thanks!
by flacito
24 Jun 2020, 09:07
Forum: Ask For Help
Topic: Paste clipboard into text file but only if button is pressed Topic is solved
Replies: 5
Views: 848

Re: Paste clipboard into text file but only if button is pressed Topic is solved

^!c:: fileappend %clipboard%, D:\myfile.txt braunbaer , sorry but after using the code it produces these lines in the .txt: Grimm, Dieter. "The Democratic Costs of Constitutionalisation: The E uropean Case." European Law Journal 21, no. 4 (2015): 460-473.Davies, Gareth. "Does the Court of Justice o...
by flacito
24 Jun 2020, 07:06
Forum: Ask For Help
Topic: Paste clipboard into text file but only if button is pressed Topic is solved
Replies: 5
Views: 848

Re: Paste clipboard into text file but only if button is pressed Topic is solved

braunbaer wrote:
24 Jun 2020, 06:59

Code: Select all

^!c:: fileappend %clipboard%, D:\myfile.txt
Perfect, thank you!
by flacito
24 Jun 2020, 06:43
Forum: Ask For Help
Topic: Paste clipboard into text file but only if button is pressed Topic is solved
Replies: 5
Views: 848

Paste clipboard into text file but only if button is pressed Topic is solved

Hello,

I'm trying to code that my clipboard is pasted into a file, but only if I press a special combination (for example ctrl+alt+c = paste clipboard in file.txt).

I tried this:

Code: Select all

FileRead, Clipboard, D:\myfile.txt
But I'm only a beginner in AHK and this code does not do want I want.
by flacito
22 Jun 2020, 13:23
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

@flacito Try this new script with a gui, now you can also select if you want your words italic, underlined or bold, now the text to replace can be multiline and you can also add a custom word to trigger the hotstring. SetWorkingDir, %A_ScriptDir% #H:: Gui, Italicer:New,, Italicer Gui, Add, Text,, W...
by flacito
26 May 2020, 14:44
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

That's easy to do: Just pile the Hotstrings you want to make them type the same text. Like this: ::Text1:: ::Text2:: ::Text3:: ::Text4:: ::Text5:: SendInput, ;The command SendInput must be used to send the text ( Never mind me i'm just dome text with no actual sense This is just a very smol demonst...
by flacito
22 May 2020, 13:27
Forum: Ask For Help
Topic: Keep Script Icon Visible In Windows Tray
Replies: 4
Views: 235

Re: Keep Script Icon Visible In Windows Tray

Since we don't know what your script does, it is hard to answer your report.
- Does your script do something with tray icons?
- Do you have custom tray icon?
- Do you run a compiled script (.exe)?
by flacito
22 May 2020, 13:22
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

@flacito Try with this: :X:edrexhaust::SendInput, The rule of exhaustion of domestic remedies referred to in Article 35 of the Convention requires applicants to first use the remedies provided by the national legal system, prior to lodging an application to the Court (Aksoy, 51; Sheekh, 121). {Ente...
by flacito
05 May 2020, 07:55
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

One huge drawback, however, is that I can't see the 'shortcut' as I would in Sublime 3. For instance, in sublime I just see: "::SUBJECT OR SHORTCODE HERE :: a whole bunch of text. Look at the "short" column here where it says "bold", that is the "hotstring", so in your case it would show "SUBJECT O...
by flacito
02 May 2020, 12:50
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

Just in case you haven't seen it, for large(r) text(s) Lintalist might be useful https://www.autohotkey.com/boards/viewtopic.php?f=6&t=3378 - also supports formatted text via html or markdown https lintalist.github.io /#FormattedText Broken Link for safety [[html]]<i>italic text</i> Might be a bit ...
by flacito
02 May 2020, 12:35
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

@flacito Try with this: :X:edrexhaust::SendInput, The rule of exhaustion of domestic remedies referred to in Article 35 of the Convention requires applicants to first use the remedies provided by the national legal system, prior to lodging an application to the Court (Aksoy, 51; Sheekh, 121). {Ente...
by flacito
29 Apr 2020, 05:35
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

@flacito #SingleInstance, Force SetBatchLines -1 SetWorkingDir, %A_ScriptDir% #H:: InputBox, newword, Italicer, Insert new word,, 200, 150 If (ErrorLevel=1) { MsgBox, Canceled return } Else { AddWord =`n:*X:%newword%::SendInput, ^i%newword%^i FileAppend, %AddWord%, %A_ScriptName%, UTF-8 if (ErrorLe...
by flacito
15 Apr 2020, 06:11
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

@flacito #SingleInstance, Force SetBatchLines -1 SetWorkingDir, %A_ScriptDir% #H:: InputBox, newword, Italicer, Insert new word,, 200, 150 If (ErrorLevel=1) { MsgBox, Canceled return } Else { AddWord =`n:*X:%newword%::SendInput, ^i%newword%^i FileAppend, %AddWord%, %A_ScriptName%, UTF-8 if (ErrorLe...
by flacito
13 Apr 2020, 05:09
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

Try this. :*:les verts:: ;The * is to change the word without finishing it. Send, {Control Down}i{Control Up} SendInput, Les Verts Send, {Control Down}i{Control Up} return Dear Yakshongas, thanks again. I've been using your script daily and there are new words added daily. Sometimes, however, I add...
by flacito
24 Feb 2020, 08:19
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

Oh yeah, it does work! Thanks a bunch :D Truly grateful!
by flacito
21 Feb 2020, 06:56
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Re: Make a word instantly Italic

Try this. :*:les verts:: ;The * is to change the word without finishing it. Send, {Control Down}i{Control Up} SendInput, Les Verts Send, {Control Down}i{Control Up} return Sadly, it does not work :(. Do you know of any other methods? Also, I'm not sure but I think you might have meant: ::*::les ver...
by flacito
20 Feb 2020, 07:02
Forum: Ask For Help
Topic: Make a word instantly Italic
Replies: 20
Views: 1671

Make a word instantly Italic

Hello, Issue I do not know how make a word, when typed, instantly italic. I had hoped someone could help me with this. For instance, if I type 'Les Verts' or 'Commission v the United Kingdom' I want it to be italic in my word editor (ctrl+i). I'm just seeking to improve my work/study efficiency more...
by flacito
06 Oct 2019, 11:57
Forum: Scripts and Functions
Topic: Columbus - a fast program launcher/searcher
Replies: 155
Views: 50080

Re: Columbus - a fast program launcher/searcher

Thanks! Can it also search within Windows system?

Go to advanced search