Search found 27 matches

by siomosp
23 Oct 2022, 08:36
Forum: Ask for Help (v1)
Topic: Set value using clipboard text, PageInst.Evaluate(document.getElementById) Topic is solved
Replies: 2
Views: 331

Re: Set value using clipboard text, PageInst.Evaluate(document.getElementById) Topic is solved

Code: Select all

PageInst.Evaluate("document.getElementById('delivery_message').value='" Clipboard "';")
This code works like a charm
Thank you!
:bravo: :bravo: :bravo:
by siomosp
23 Oct 2022, 03:35
Forum: Ask for Help (v1)
Topic: Set value using clipboard text, PageInst.Evaluate(document.getElementById) Topic is solved
Replies: 2
Views: 331

Set value using clipboard text, PageInst.Evaluate(document.getElementById) Topic is solved

Hello using Chrome.ahk I can set an element value (text field), with this code PageInst.Evaluate("document.getElementById('delivery_message').value='some_value';") I want the value to be a text copied manually This code is not working, any ideas why PageInst.Evaluate("document.getElementById('delive...
by siomosp
04 Mar 2022, 17:24
Forum: Ask for Help (v1)
Topic: Replace Latin letters with Greek, problem
Replies: 2
Views: 249

Re: Replace Latin letters with Greek, problem

Thank you, i think i can fix it...
by siomosp
04 Mar 2022, 16:50
Forum: Ask for Help (v1)
Topic: Replace Latin letters with Greek, problem
Replies: 2
Views: 249

Replace Latin letters with Greek, problem

Hi! I am looking for a simple script to quick replace text accidentally written with Latin letters , instead of Greek :D ( It happens sooo often when replying mails at work...) This script replace the Latin letters, one by one, with Greek ("; 1st step") Of course the grammar , is not always correct,...
by siomosp
03 Mar 2022, 16:31
Forum: Ask for Help (v1)
Topic: Move matching text from end of line, to start of line Topic is solved
Replies: 9
Views: 801

Re: Move matching text from end of line, to start of line Topic is solved

More of the same.... str = Celebration of July in Paris, van Gogh Vincent, canvas print move = canvas print MsgBox, 64, Output, % strMove(str, move) strMove(str, move) { Return RegExReplace(str, "(.+) (" move ")$", "$2 $1") } Thank you mikeyww One more time your script is excellent , but i will use...
by siomosp
03 Mar 2022, 16:27
Forum: Ask for Help (v1)
Topic: Move matching text from end of line, to start of line Topic is solved
Replies: 9
Views: 801

Re: Move matching text from end of line, to start of line Topic is solved

#NoEnv Terms := "canvas print|wall stickers|room divider" ; search terms divided by pipe | Titles := ["Celebration of July in Paris, van Gogh Vincent, canvas print" , "Blooming cherry, pink, white flowers wall stickers" , "Any other arbitrary text."] For Each, Title In Titles { Result := RegExRepla...
by siomosp
03 Mar 2022, 16:25
Forum: Ask for Help (v1)
Topic: Move matching text from end of line, to start of line Topic is solved
Replies: 9
Views: 801

Re: Move matching text from end of line, to start of line Topic is solved

to move specific text From where to receive the info on what text/words should be swapped? The below script will take a string that has been copied to the clipboard (press Alt+c) and converts it as requested. Output is copied to the clipboard. #SingleInstance, Force ;str := "Celebration of July in ...
by siomosp
03 Mar 2022, 03:41
Forum: Ask for Help (v1)
Topic: Move matching text from end of line, to start of line Topic is solved
Replies: 9
Views: 801

Re: Move matching text from end of line, to start of line Topic is solved

Thank you mikeyww for the reply! I want to use the result for generating (for e-shop product), seo friendly url field. I don΄t care for punctuation, the whole line will be converted again, using build in php function I only need a space between moved text and line start. The texts I want to move fro...
by siomosp
02 Mar 2022, 18:35
Forum: Ask for Help (v1)
Topic: Move matching text from end of line, to start of line Topic is solved
Replies: 9
Views: 801

Move matching text from end of line, to start of line Topic is solved

Hi!
It is possible to move specific text form line end to start ?
At following example, i want to move "sample text" to the start of line.
"this is nice, sample text"
I want to convert it to
"sample text , this is nice"
(My actual text is copied from webpage, to clipboard)
by siomosp
30 Jan 2022, 18:36
Forum: Ask for Help (v1)
Topic: Incremental rename selected folders
Replies: 9
Views: 647

Re: Incremental rename selected folders

I was close to do it, but you gave me the code ready one more time :)
I can't Thank you enough !!!!
(Now can get some sleep...)
by siomosp
30 Jan 2022, 17:05
Forum: Ask for Help (v1)
Topic: Incremental rename selected folders
Replies: 9
Views: 647

Re: Incremental rename selected folders

Hi! i am learning... but... From this code how i can extract filename? getSelected() { ; https://www.autohotkey.com/boards/viewtopic.php?style=17&t=60403#p255256 hwnd := WinExist("A"), selection := [] WinGetClass, class Switch { Case class ~= "(Cabinet|Explore)WClass": For oWin in ComObjCreate("Shel...
by siomosp
29 Jan 2022, 04:22
Forum: Ask for Help (v1)
Topic: Script to copy selected file names / create folder / copy file to folder Topic is solved
Replies: 5
Views: 482

Re: Script to copy selected file names / create folder / copy file to folder Topic is solved

Hi, excellent !!
The gui generated how to guide is helpful, and the rest code works as expected!
(Changing , FileCopy to FileMove at line 26 is better for my needs)
Thank you!! :) :) :)
by siomosp
28 Jan 2022, 16:49
Forum: Ask for Help (v1)
Topic: Script to copy selected file names / create folder / copy file to folder Topic is solved
Replies: 5
Views: 482

Re: Script to copy selected file names / create folder / copy file to folder Topic is solved

Hi, thank you for the code. I am not sure how to use it :oops: I was expected something like this: Run script Press the Hotkey ( e.g F1::) Select 2 or more files in a folder A folder with the same name of first selected file is created. This first file is moved inside the folder (named as the first ...
by siomosp
28 Jan 2022, 15:34
Forum: Ask for Help (v1)
Topic: Script to copy selected file names / create folder / copy file to folder Topic is solved
Replies: 5
Views: 482

Script to copy selected file names / create folder / copy file to folder Topic is solved

At this post
viewtopic.php?f=76&t=60237 the code is working fine for files selected one by one
Any one knows how to adapt it for working for more than on selected files?
by siomosp
28 Jan 2022, 15:26
Forum: Ask for Help (v1)
Topic: Incremental rename selected folders
Replies: 9
Views: 647

Re: Incremental rename selected folders

Following you instructions, the file is renamed :) but the variable is added after the file name
abc.jpg 101 instead of abc 101.jpg
by siomosp
28 Jan 2022, 14:27
Forum: Ask for Help (v1)
Topic: Rename a .jpg file using the name of the containing folder Topic is solved
Replies: 14
Views: 928

Re: Rename a .jpg file using the name of the containing folder Topic is solved

May be i had to post new topic because my new question is not about "Rename a .jpg file using the name of the containing folder" It is about the topic https://www.autohotkey.com/boards/viewtopic.php?f=76&t=60237 "copy selected file name / create a new folder / copy the file to folder" I am asking fo...
by siomosp
28 Jan 2022, 13:58
Forum: Ask for Help (v1)
Topic: Incremental rename selected folders
Replies: 9
Views: 647

Re: Incremental rename selected folders

Hello again!
i can use your help again?
Your code works fine at folders
Can be edited to work for all selected folders or files?
by siomosp
28 Jan 2022, 12:59
Forum: Ask for Help (v1)
Topic: Rename a .jpg file using the name of the containing folder Topic is solved
Replies: 14
Views: 928

Re: Rename a .jpg file using the name of the containing folder Topic is solved

Hi, the correct question is: I have found a script to copy selected file name / create a new folder / copy the file to folder https://www.autohotkey.com/boards/viewtopic.php?f=76&t=60237 Can be adapted to work with all selected files, not one by one? Thank you! (I am trying many hours to accomplish ...

Go to advanced search