Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Manipulate .url with trigger

User Image
Mondriaan
15 discussion posts
I have on my disk an url. (as an example Google.url), this url i had used for a site, i want to create a macro to copy this url to another location on a disk (this step works in clipboard manager that i have under a pinned item), i want to trigger a command where i can change the adres of this copied .url that exists in history, i want to use a shortcut key (CTRL 1-9). Can i do that with a trigger?
Sep 20, 2022  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
If I understand correctly, you want a macro that fires off a key combination to change an item in your pinned history list, and re-save it back in the list with an updated address?

Thanks!
Sep 21, 2022  • #2
User Image
Mondriaan
15 discussion posts
Yes please
Sep 27, 2022  • #3
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Something like this should work for you:

Code

string pinneditem = BFS.ClipboardFusion.GetLocalPinnedText(1);
BFS.ClipboardFusion.SetLocalPinnedText(1, pinneditem + "TextHere");


You can edit the index number of the pinned item you're looking to change in the brackets. You can then add the text you want added on the end in the "TextHere" area. If you are looking to completely change the text copied rather then adding something to the end, you can just add your text inside those bracketsa and delete the "pinneditem" part.

Hope that helps!
Sep 27, 2022 (modified Sep 27, 2022)  • #4
User Image
Mondriaan
15 discussion posts
Oke i will try
Oct 5, 2022  • #5
Was this helpful?  Login to Vote(-)  Login to Vote(-)