Search found 98 matches

by OCP
30 Dec 2019, 16:27
Forum: Ask for Help (v1)
Topic: Restoring my clipboard after set time Topic is solved
Replies: 1
Views: 351

Re: Restoring my clipboard after set time Topic is solved

i solved it myself here is what i did Restore: SoundPlay, %TimerSound% FileRead, Clipboard, *c Setup/Settings/Temp.clip SetTimer, Restore, Off return Setup_Restore_Clipboard() { FileDelete, Setup/Settings/Temp.clip FileAppend, %ClipboardAll% , Setup/Settings/Temp.clip SetTimer, Restore, %ClipboardTi...
by OCP
27 Dec 2019, 19:28
Forum: Ask for Help (v1)
Topic: Display message by pressing key Topic is solved
Replies: 3
Views: 2545

Re: Display message by pressing key Topic is solved

to display text when i pressed a hotkey or gui label i used to work something like this into my code replace your text and any option you like to alter and dont mess with the comma's on the end ; on top Coordmode,mouse,screen ; in your hotkey or label mouseGetPos,mx,my mx+=25 ; set a offset x my-=15...
by OCP
27 Dec 2019, 18:39
Forum: Ask for Help (v1)
Topic: Restoring my clipboard after set time Topic is solved
Replies: 1
Views: 351

Restoring my clipboard after set time Topic is solved

hello i am working on a macro tool that can be setup to do multiple things. One of them is to read content of files to the clipboard so i can then paste it anywhere i like, or i can have a macro send ctrl+v to a window to paste it for me. To do this i need to store what was in the clipboard (could b...
by OCP
26 Jun 2019, 18:20
Forum: Ask for Help (v1)
Topic: ; How to Split 78 sets of combined coordinates into separated x y and save to ini file Topic is solved
Replies: 6
Views: 1445

Re: ; How to Split 78 sets of combined coordinates into separated x y and save to ini file Topic is solved

I hope this helps. it certainly did thank you very much i managed to get what i want by modifying what you did this allows me to keep the main ini file the one all my gui's load from while being able to load a different set and then save that as the main setup this is just the save part IniRead X, ...
by OCP
25 Jun 2019, 11:05
Forum: Ask for Help (v1)
Topic: ; How to Split 78 sets of combined coordinates into separated x y and save to ini file Topic is solved
Replies: 6
Views: 1445

Re: ; How to Split 78 sets of combined coordinates into separated x y and save to ini file Topic is solved

I hope this helps. The following is a simple script to read and subsequently store pairs of numbers (or coordinates) in an ini file. IniRead, x, Coordinates_Set1.ini,values,set1,(25,33);(52,12);(92,222);(24,33);(92,22);(92,19);(255,323);(522,12);(492,11);(325,33);(52,212);(192,11) loop,Parse,x,";",...
by OCP
24 Jun 2019, 18:12
Forum: Ask for Help (v1)
Topic: ; How to Split 78 sets of combined coordinates into separated x y and save to ini file Topic is solved
Replies: 6
Views: 1445

; How to Split 78 sets of combined coordinates into separated x y and save to ini file Topic is solved

Hello i was hoping someone one more knowledgeable than me could help me solve getting saving to a correctly formatted ini file to work i want to use this so i can make different states for my settings gui (i made some gLabels for setup 2 but i use much more in the real gui), the problem i have is th...
by OCP
07 Mar 2019, 03:36
Forum: Ask for Help (v1)
Topic: select file from gui assets and paste at mouse
Replies: 0
Views: 448

select file from gui assets and paste at mouse

hello for some time i am trying to sort of emulate drag and drop kind of functionality what i want to do is select a file from my gui assets folder (without opening menu's and such) and then have it paste on my next left click at my mouse position i wonder can this be done and if so what command do ...
by OCP
03 Feb 2019, 06:09
Forum: Ask for Help (v1)
Topic: GUI Question: Why do i need to press my hotkey twice before it triggers? Topic is solved
Replies: 3
Views: 1054

Re: GUI Question: Why do i need to press my hotkey twice before it triggers? Topic is solved

Variables in functions are local by default: Local and Global Variables Either #SingleInstance, Force Global hotkeygui := 0 ; declare hotkeygui as super-global Return LWin:: ... or WM_SYSCOMMAND(wMessage) { Global hotkeygui ; declare hotkeygui as global If wMessage = 61472 { Gui,1: Destroy hotkeygu...
by OCP
02 Feb 2019, 15:28
Forum: Ask for Help (v1)
Topic: GUI Question: Why do i need to press my hotkey twice before it triggers? Topic is solved
Replies: 3
Views: 1054

Re: GUI Question: Why do i need to press my hotkey twice before it triggers? Topic is solved

solved it #SingleInstance, Force LWin:: hotkeygui++ if hotkeygui = 1 { Gui,1: +Owner +AlwaysOnTop Gui,1: Add, Button, x0 y0 w200 h30 , Button Gui,1: Show, w200 h30, Test GUI Gui,1: Submit, NoHide OnMessage(0x112, "WM_SYSCOMMAND") return } else if hotkeygui = 2 { Gui,1: Destroy hotkeygui = 0 return }...
by OCP
02 Feb 2019, 14:30
Forum: Ask for Help (v1)
Topic: GUI Question: Why do i need to press my hotkey twice before it triggers? Topic is solved
Replies: 3
Views: 1054

GUI Question: Why do i need to press my hotkey twice before it triggers? Topic is solved

hello i am in need of some help / a pointer to help me understand why this does not work. i am trying to get this gui to set the hotkey times pressed counter to 0 after i pressed minimize but i cant get it done i keep having to press my hotkey twice to get it to pop up again (after i used minimize)....
by OCP
04 Jan 2019, 12:31
Forum: Ask for Help (v1)
Topic: What do i need to do to save my hotkey and on off status for next startup Topic is solved
Replies: 5
Views: 1307

Re: What do i need to do to save my hotkey and on off status for next startup Topic is solved

hi i seam to have jumped the gun, i had not noticed my copy label is gone and that is where i would add the code for one of the hotkeys (in this case copy) where do i add my code now? edit: got it noob in action Look at the HotkeyAction label. See where I've added the ToolTip similar to your earlie...
by OCP
04 Jan 2019, 11:12
Forum: Ask for Help (v1)
Topic: What do i need to do to save my hotkey and on off status for next startup Topic is solved
Replies: 5
Views: 1307

Re: What do i need to do to save my hotkey and on off status for next startup Topic is solved

#SingleInstance, Force IniRead, MyHotkey, settings.ini, Settings, Hotkey, NumpadDiv IniRead, MyToggle, settings.ini, Settings, Toggle, 0 Gui, +AlwaysOnTop Gui, Color, 000000 Gui, Margin, 10, 10 Gui, Font, cFFFFFF S12 Gui, Add, Text, w200 0x201, Hotkey Gui, Add, Text, x+10 yp w200 hp 0x201, Update G...
by OCP
04 Jan 2019, 10:30
Forum: Ask for Help (v1)
Topic: What do i need to do to save my hotkey and on off status for next startup Topic is solved
Replies: 5
Views: 1307

Re: What do i need to do to save my hotkey and on off status for next startup Topic is solved

just wauw that is nice :) also the on off toggle is very nice

thank you very much TheDewd
by OCP
04 Jan 2019, 08:20
Forum: Ask for Help (v1)
Topic: What do i need to do to save my hotkey and on off status for next startup Topic is solved
Replies: 5
Views: 1307

What do i need to do to save my hotkey and on off status for next startup Topic is solved

Hello first of all :offtopic: happy new year i like to understand how saving the last used settings of my gui works, most in the help is to overwhelming to me and i so not know where to begin to tackle this this is part of a bigger project i am trying to figure out, to keep it simple i made a simple...
by OCP
18 Nov 2018, 06:49
Forum: Ask for Help (v1)
Topic: move window works in win7 not in win10
Replies: 0
Views: 555

move window works in win7 not in win10

hello i need some help i made a little gui but i was told that moving the window does not work in win 10 i wonder if there are differences how to do that in w10 vs win7? i would like it to work in bolt below my code it is about the gMove_Window label (images not included) Edit i have come to the con...
by OCP
18 Oct 2018, 02:50
Forum: Ask for Help (v1)
Topic: Using millions of hotstrings any tips?
Replies: 7
Views: 1888

Re: Using millions of hotstrings any tips?

Example: #Persistent #SingleInstance force Hotstring("(\/242)(\+|\-)?(\d+)(\+|\-)(\d+) ", "function", 3, false) Return ;~ /2420+12 = 1/24*12+Input*+1/24*12 ;~ /242+1+12 = 1/24*13+Input*+1/24*12 ;~ /242+2+9 = 1/24*14+Input*+1/24*9 ;~ /242+5+6 = 1/24*17+Input*+1/24*6 ;~ /242-2+9 = 1/24*10+Input*+1/24...
by OCP
28 Sep 2018, 03:47
Forum: Other Utilities & Resources
Topic: Any good colomn editor for inserting numbers in rows
Replies: 6
Views: 2841

Re: Any good colomn editor for inserting numbers in rows

thnx swagfag

still no success tho trying to get this to work i uninstalled and never wanna use this thing again i cant stand the thing anymore :)

if anyone has another option i would like to know

cheers
by OCP
27 Sep 2018, 02:30
Forum: Other Utilities & Resources
Topic: Any good colomn editor for inserting numbers in rows
Replies: 6
Views: 2841

Re: Any good colomn editor for inserting numbers in rows

sublime text with https://github.com/duydao/Text-Pastry https://i.imgur.com/VsHW5iy.gif hi i tried to get this to work for a few hours but i am unfamiliar with this editor and i struggle with it how do i get that option i see in your gif to pop up? i added the text pastry folder to the packages fol...
by OCP
26 Sep 2018, 04:15
Forum: Other Utilities & Resources
Topic: Any good colomn editor for inserting numbers in rows
Replies: 6
Views: 2841

Re: Any good colomn editor for inserting numbers in rows

sublime text with https://github.com/duydao/Text-Pastry https://i.imgur.com/VsHW5iy.gif thnx looks interesting ill give that a go thank you for ideas /links just thoughts , ok needs an useless ahk-script , type 100-001 , then ctrl+c/ctrl+v I use often an ahk-script to change text-files ( drag&drop ...
by OCP
25 Sep 2018, 04:13
Forum: Other Utilities & Resources
Topic: Any good colomn editor for inserting numbers in rows
Replies: 6
Views: 2841

Any good colomn editor for inserting numbers in rows

hello i am looking for a way to do the reversed of this little video i want to be able to insert numbers over 100 lines at once, in the video i can do it with notepad++ (i know i can do it in scite 2) but my problem is i want to sometimes do it descending and bolt of these do it up only unless i am ...

Go to advanced search