Search found 110 matches

by partof
07 Feb 2017, 04:59
Forum: Ask for Help (v1)
Topic: Copy to clipboard & unwrap text (usefull for text from pdf) [solved]
Replies: 2
Views: 2734

Re: Copy to clipboard & unwrap text (usefull for text from pdf) [solved]

thanks! another one: ^!c:: ; CTRL(^)Alt(!) AND C shift(+) old := ClipboardAll clipboard := "" send ^c clipwait 0.1 if clipboard = clipboard := old else { tmp := RegExReplace(clipboard, "(\S.*?)\R(.*?\S)", "$1 $2") clipboard := tmp StringReplace clipboard, clipboard, % " ", % " ", A clipwait 0.1 } ol...
by partof
24 Jan 2017, 12:30
Forum: Scripts and Functions (v1)
Topic: a trick to prevent involuntary closing of the alert box (+HwndMyWinHwnd)
Replies: 1
Views: 665

a trick to prevent involuntary closing of the alert box (+HwndMyWinHwnd)

I'm using the code bellow which works as expected. It supposes to reminds me stuff when working on computer. But I'm usually writing, and the typing somehow close the windows. Adding a Sleep, 10000 (10sec) under the button ok seems to solve the issue. Gui,1: +AlwaysOnTop +ToolWindow +HwndMyWinHwnd G...
by partof
30 Sep 2016, 14:00
Forum: Ask for Help (v1)
Topic: AHK doesn't work for .docx opened in onedrive
Replies: 4
Views: 1283

Re: AHK doesn't work for .docx opened in onedrive

Oups, I was also finding the question weird, now I feel so embarrassed... Sorry.

The problem disappeared. No idea why (same script, openened the same docx). I'll keep you updated if it comes again

Thanks for your help!

I had the problem with that script:

Code: Select all

!^+d::
   Send, ≠
Return
by partof
29 Sep 2016, 01:00
Forum: Ask for Help (v1)
Topic: AHK doesn't work for .docx opened in onedrive
Replies: 4
Views: 1283

Re: AHK doesn't work for .docx opened in onedrive

just me wrote:What AHK script?
this is the extension of autohotkey script
by partof
25 Sep 2016, 06:38
Forum: Ask for Help (v1)
Topic: AHK doesn't work for .docx opened in onedrive
Replies: 4
Views: 1283

AHK doesn't work for .docx opened in onedrive

For some mysterious reason my ahk script doesn't work when opening a https://onedrive.live.com when I edit the document in MSword (the docx are retrieved from the onedrive cloud and opened in MSword, as any docx). The same issue occur for all docx opened from onedrive. Other docx saved on my compute...
by partof
17 Mar 2016, 03:16
Forum: Scripts and Functions (v1)
Topic: open online doc in a tab (onedrive), while working on other tab or app. And open it in MS word
Replies: 0
Views: 678

open online doc in a tab (onedrive), while working on other tab or app. And open it in MS word

; EDIT your ONEDRIVE file; ; ; Run, C:\Program Files (x86)\Google\Chrome\Application\chrome.exe https://onedrive.live.com/view.aspx?resid=YOUR ID GOES HERE&app=Word&authkey=!YOUR KEY GOES HERE, , Max ;---------------------SHOW COUNT DONWN near the mouse Loop 20 { ToolTip, % 21 - A_Index ; if you ju...
by partof
17 Mar 2016, 01:41
Forum: Scripts and Functions (v1)
Topic: replace forbidden character when copy/past (files names issue)
Replies: 1
Views: 949

replace forbidden character when copy/past (files names issue)

!^+g:: ; Alt(!) CTRL(^) shift(+) G ---------------- replace \? <>/\\\*""|: by _ clipboard = ; empty clipboard Send, {CTRLDOWN}c{CTRLUP}{ESC} ; send the ctrl C command to copy text in clipboard ClipWait ; wait until there is something in clip bord Removesign := RegExReplace(clipboard, "[\? <>/\\\*""...
by partof
16 Jan 2016, 13:04
Forum: Ask for Help (v1)
Topic: multiple regex at one
Replies: 3
Views: 900

Re: multiple regex at one

AlphaBravo wrote:if I understood correctly
I think you got it right!

I tried you first code which works great! The second one however returns an empty variable.

Thanks a lot for your time and your help!
by partof
16 Jan 2016, 08:40
Forum: Ask for Help (v1)
Topic: multiple regex at one
Replies: 3
Views: 900

multiple regex at one

I would like to create replace all <p..."> by <p>, all <span..."> by span (and so on) ([ ...] can be any string). The regex would be this one: (<p .*?">)|(<blockquote.*?">)|(<span .*?">)|(<div .*?">)|(<a .*?">)|(<img .*?>)|(<h1 .*?">)|(<h2 .*?">)|(<label .*?">) (?1<p>)(?2<p>)(?3<span>)(?4<div>)(?5<a...

Go to advanced search