Search found 35 matches
- Wed Nov 23, 2022 4:11 pm
- Forum: Coding Questions
- Topic: Resizing third-party window that has a minimum
- Replies: 37
- Views: 6318
Re: Resizing third-party window that has a minimum
Hello
Part 1
1) I have base this code https://www.purebasic.fr/english/viewtopic.php?p=585471#p585471
2) I have add code to return patch co cmd
Command.s = ProgramParameter() ; e.g.: "SET varname="
If Result
Path$ = Space(#MAX_PATH) ;Create a buffer to receive the string as a result ...
- Tue Oct 11, 2022 6:11 pm
- Forum: Coding Questions
- Topic: AkelPad RePlace Notepad
- Replies: 23
- Views: 3001
Re: AkelPad RePlace Notepad
Olli
Hello
1) I copy-paste this code and make Notepad.exe file
Count = CountProgramParameters()
If Count
param$ = ""
For i = 0 To Count - 1
param$ + ProgramParameter(i) + " "
Next
param$ = Left(param$, Len(param$) - 1)
EndIf
2) I copy Notepad.exe file in folder
C:\Windows\System32
C ...
Hello
1) I copy-paste this code and make Notepad.exe file
Count = CountProgramParameters()
If Count
param$ = ""
For i = 0 To Count - 1
param$ + ProgramParameter(i) + " "
Next
param$ = Left(param$, Len(param$) - 1)
EndIf
2) I copy Notepad.exe file in folder
C:\Windows\System32
C ...
- Mon Oct 10, 2022 10:32 pm
- Forum: Coding Questions
- Topic: AkelPad RePlace Notepad
- Replies: 23
- Views: 3001
Re: AkelPad RePlace Notepad
Count = CountProgramParameters()
If Count
param$ = ""
For i = 0 To Count - 1
param$ + ProgramParameter(i) + " "
Next
param$ = Left(param$, Len(param$) - 1)
EndIf
Hello
I very excusme, please, write full code, i copy-past and tested code
I do not telepat
Thank You!
- Sun Oct 09, 2022 6:16 pm
- Forum: Coding Questions
- Topic: AkelPad RePlace Notepad
- Replies: 23
- Views: 3001
Re: AkelPad RePlace Notepad
Change in the registry
notepad.exe %1
on the
notepad.exe "%1"
Hello
Excuse me, please
I respect your work, your help to me
But when I had this idea - I fundamentally do not change the registry, I do not want any associations and other things, only by means of PureBasic
So there is no way to ...
- Sun Oct 09, 2022 5:51 pm
- Forum: Coding Questions
- Topic: AkelPad RePlace Notepad
- Replies: 23
- Views: 3001
Re: AkelPad RePlace Notepad
Permission to use ingenuity.
Filename$ = "C:\Program Files\AkelPadPortable\AkelPad.exe"
#q$ = Chr(34)
Count = CountProgramParameters()
If Count
param$ = ProgramParameter(0)
If FileSize(param$) > 0
MessageRequester("1", "|" + param$ + "|")
RunProgram(Filename$, #q$ + param$ + #q$, GetPathPart ...
- Sun Oct 09, 2022 5:25 pm
- Forum: Coding Questions
- Topic: AkelPad RePlace Notepad
- Replies: 23
- Views: 3001
Re: AkelPad RePlace Notepad
Filename$ = "C:\Program Files\AkelPadPortable\AkelPad.exe"
#q$ = Chr(34)
Count = CountProgramParameters()
If Count
param$ = ProgramParameter(0)
If FileSize(param$) > 0
RunProgram(Filename$, #q$ + param$ + #q$, GetPathPart(param$))
Else
RunProgram(Filename$, param$, GetPathPart(Filename ...
- Sun Oct 09, 2022 4:10 pm
- Forum: Coding Questions
- Topic: AkelPad RePlace Notepad
- Replies: 23
- Views: 3001
Re: AkelPad RePlace Notepad
Filename$ = "C:\Program Files\AkelPadPortable\AkelPad.exe"
Count = CountProgramParameters()
If Count
param$=ProgramParameter(0)
If FileSize(param$) > 0
RunProgram(Filename$, param$, GetPathPart(param$))
Else
RunProgram(Filename$, param$, GetPathPart(Filename$))
EndIf
Else
RunProgram ...
- Sun Oct 09, 2022 12:28 pm
- Forum: Coding Questions
- Topic: AkelPad RePlace Notepad
- Replies: 23
- Views: 3001
Re: AkelPad RePlace Notepad
RunProgram(Filename$, param$, "")
Hello
1) I create 1.exe file on PureBasic 4.20 (Windows - x86)
Filename$ = "C:\Program Files\AkelPadPortable\AkelPad.exe"
RunProgram(Filename$, param$, "")
2) I rename 1.exe in notepad.exe
3) I copy notepad.exe file in directory
C:\Windows\notepad.exe ...
- Sun Oct 09, 2022 11:42 am
- Forum: Coding Questions
- Topic: AkelPad RePlace Notepad
- Replies: 23
- Views: 3001
Re: AkelPad RePlace Notepad
Doesn't Windows (the OS) just replace the Notepad.exe file for not being the original? As part of its security.
Hello
1) Excusme, my question - how write exe file on PureBasic, such as
"C:\Program Files\AkelPadPortable\AkelPad.exe", $CmdLineRaw
2) My broken-example code on PureBasic ...
- Sun Oct 09, 2022 11:10 am
- Forum: Coding Questions
- Topic: AkelPad RePlace Notepad
- Replies: 23
- Views: 3001
Re: AkelPad RePlace Notepad
Don't copy akelpad.exe by renaming it : just change the shortcut system. If anybody clicks on a *.txt file, akelpad.exe is executed from its original path.
Hello
No, No
I have hint - replace original file to mod file
In default i open txt file - txt files open on AkelPad (withOUT change in ...
- Sun Oct 09, 2022 10:34 am
- Forum: Coding Questions
- Topic: AkelPad RePlace Notepad
- Replies: 23
- Views: 3001
AkelPad RePlace Notepad
Hello
1) I have make modifidied notepad.exe file
2) I deleted original notepad.exe file in directory
C:\Windows\notepad.exe
C:\Windows\System32\notepad.exe
C:\Windows\SysWOW64\notepad.exe
3) I copy modifidied notepad.exe file in directory
C:\Windows\notepad.exe
C:\Windows\System32\notepad.exe
C ...
1) I have make modifidied notepad.exe file
2) I deleted original notepad.exe file in directory
C:\Windows\notepad.exe
C:\Windows\System32\notepad.exe
C:\Windows\SysWOW64\notepad.exe
3) I copy modifidied notepad.exe file in directory
C:\Windows\notepad.exe
C:\Windows\System32\notepad.exe
C ...
- Fri Jul 08, 2022 3:51 am
- Forum: Coding Questions
- Topic: Monitor Off
- Replies: 11
- Views: 1604
Re: Monitor Off
mk-soft
netmaestro
I have code, if i run program, monitor is off
If I move the mouse or press the buttons on the mouse, the monitor will NOT turn on
If I press any buttons on the keyboard, the monitor will NOT turn on
If I press the ESC button twice on the keyboard, the monitor will turn on ...
netmaestro
I have code, if i run program, monitor is off
If I move the mouse or press the buttons on the mouse, the monitor will NOT turn on
If I press any buttons on the keyboard, the monitor will NOT turn on
If I press the ESC button twice on the keyboard, the monitor will turn on ...
- Thu Jul 07, 2022 3:56 pm
- Forum: Coding Questions
- Topic: Monitor Off
- Replies: 11
- Views: 1604
Re: Monitor Off
mk-soft
BarryG
Hello
Please, give me work code
I compile your code and run exe file
I write, work or not
Thank You!
BarryG
Hello
Please, give me work code
I compile your code and run exe file
I write, work or not
Thank You!
- Thu Jul 07, 2022 4:41 am
- Forum: Coding Questions
- Topic: Monitor Off
- Replies: 11
- Views: 1604
Monitor Off
Hello
On Microsoft Windows 7 Professional Service Pack 1 code work perfectly - after run code, monitor is off, if i click any button on keyboard - monitor is on, in tray i see icon
#PHYSICAL_MONITOR_DESCRIPTION_SIZE = 128
Structure PHYSICAL_MONITOR
hPhysicalMonitor.i ...
On Microsoft Windows 7 Professional Service Pack 1 code work perfectly - after run code, monitor is off, if i click any button on keyboard - monitor is on, in tray i see icon
#PHYSICAL_MONITOR_DESCRIPTION_SIZE = 128
Structure PHYSICAL_MONITOR
hPhysicalMonitor.i ...
- Sun Jun 12, 2022 6:21 pm
- Forum: Coding Questions
- Topic: Resizing third-party window that has a minimum
- Replies: 37
- Views: 6318
Re: Resizing third-party window that has a minimum
breeze4me
Hello
Excellent!
https://cloclo55.cloud.mail.ru/weblink/view/JYKj/pEf7RQ3n5
On the right, the panel File type, scroll bar on the right - do not jumps up and down
Folder Windows and System32
Also see video - on the right, the panel File type, scroll bar on the right - do not jumps ...
Hello
Excellent!
https://cloclo55.cloud.mail.ru/weblink/view/JYKj/pEf7RQ3n5
On the right, the panel File type, scroll bar on the right - do not jumps up and down
Folder Windows and System32
Also see video - on the right, the panel File type, scroll bar on the right - do not jumps ...