Search found 1010 matches
- Thu Mar 27, 2025 7:26 pm
- Forum: Coding Questions
- Topic: [done] RunProgram whis text
- Replies: 24
- Views: 1899
Re: [done] RunProgram whis text
I would like to do the same for Linux and macos. How do I do this?
- Thu Mar 27, 2025 7:23 pm
- Forum: Tricks 'n' Tips
- Topic: Generate missing event types #PB_EventType_LostFocus and #PB_EventType_Focus
- Replies: 10
- Views: 1214
Re: Generate missing event types #PB_EventType_LostFocus and #PB_EventType_Focus
It's a very good idea. 

- Thu Mar 06, 2025 1:31 pm
- Forum: Off Topic
- Topic: What's going on here?
- Replies: 9
- Views: 2267
Re: What's going on here?
Wow, now what, how do I deal with this?Kiffi wrote: Thu Mar 06, 2025 1:16 pm Have a look at what it looks like in my Notepad++:
(ZWNBSP means "ZERO WIDTH NO-BREAK SPACE")
- Thu Mar 06, 2025 1:01 pm
- Forum: Off Topic
- Topic: What's going on here?
- Replies: 9
- Views: 2267
Re: What's going on here?
I looked
It's the browser that fixes it.
Can you download and watch the "1.pb" file from here?
https://github.com/mestnyi33/widget
- Thu Mar 06, 2025 12:48 pm
- Forum: Coding Questions
- Topic: [done] RunProgram whis text
- Replies: 24
- Views: 1899
Re: RunProgram whis text
the only thing without this line is text, hieroglyphs.ChrisR wrote: Wed Mar 05, 2025 7:41 pm Well done
Looks old now, it's probably better done in the example here
Code: Select all
WriteStringFormat(hTempFile, #PB_UTF8)
- Thu Mar 06, 2025 12:40 pm
- Forum: Coding Questions
- Topic: [done] RunProgram whis text
- Replies: 24
- Views: 1899
Re: RunProgram whis text
with your example, a wheel is spinning over the cursor all the time. Why can it be?
Because your code contains an error, it is trying to tell you about it, but since the program is hidden you cannot see this. I assume that the debugging mode could derive an error, but since there is ...
- Thu Mar 06, 2025 12:37 pm
- Forum: Off Topic
- Topic: What's going on here?
- Replies: 9
- Views: 2267
What's going on here?
Code: Select all
func$ = "Window" ; debug Window 1 0
; comment\uncomment
; func$ = "Window" ; debug Window 0 1
Debug ""+func$ +" "+ Bool(func$ = "Window") +" "+ Bool(func$ = "Window")
- Wed Mar 05, 2025 7:31 pm
- Forum: Coding Questions
- Topic: [done] RunProgram whis text
- Replies: 24
- Views: 1899
Re: RunProgram whis text
Yours is working, I've already found it on githube SweetyVDChrisR wrote: Wed Mar 05, 2025 7:24 pm I thought it was for my code, I tried and couldn't understand.
I hadn't seen that AZJIO had published a code snippet and I don't have the wheel!

- Wed Mar 05, 2025 6:57 pm
- Forum: Coding Questions
- Topic: [done] RunProgram whis text
- Replies: 24
- Views: 1899
Re: RunProgram whis text
with your example, a wheel is spinning over the cursor all the time. Why can it be?
- Wed Mar 05, 2025 8:42 am
- Forum: Coding Questions
- Topic: [done] RunProgram whis text
- Replies: 24
- Views: 1899
Re: RunProgram whis text
I saw that my application was quoted.
For the preview, the generated code is written to a temporary file, compiled and then executed, as Axolotl wrote.
With a BIG thanks for the speed of the ASM compiler, to have the preview in less than 2 seconds.
Seeing the help, I didn't even try to do it any ...
- Mon Mar 03, 2025 7:31 pm
- Forum: Tricks 'n' Tips
- Topic: AdvancedButtonGadget() with LostFocus, Focus and RightClick Events [WinOnly]
- Replies: 7
- Views: 758
Re: AdvancedButtonGadget() with LostFocus, Focus and RightClick Events [WinOnly]
it works great, thanks for sharing. 

- Mon Mar 03, 2025 4:51 pm
- Forum: Coding Questions
- Topic: [done] RunProgram whis text
- Replies: 24
- Views: 1899
Re: RunProgram whis text
I don't understand what you mean.
it would seem a simple task, but there is not even any desire to continue working.
- Mon Mar 03, 2025 4:49 pm
- Forum: Coding Questions
- Topic: [done] RunProgram whis text
- Replies: 24
- Views: 1899
Re: RunProgram whis text
I didn't want to save it, is there really no other solution?Axolotl wrote: Mon Mar 03, 2025 11:34 am So my suggestion: Save the text in a file and call that one.

- Mon Mar 03, 2025 4:47 pm
- Forum: Coding Questions
- Topic: [done] RunProgram whis text
- Replies: 24
- Views: 1899
Re: RunProgram whis text
Simply try to run the output in a dos-box:
text$ = "Window_1 = OpenWindow(#PB_Any, 0, 0, 200, 200, "+Chr('"')+"window_1"+Chr('"')+ ")" + #LF$ +
"Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow"
Debug #PB_Compiler_Home+"/Compilers/pbcompiler" + " " + "/EXE"+ text$
I did as you said ...
- Mon Mar 03, 2025 9:29 am
- Forum: Coding Questions
- Topic: [done] RunProgram whis text
- Replies: 24
- Views: 1899
[done] RunProgram whis text
They made comments to me, so I'm creating a new topic.
text$ = "Window_1 = OpenWindow(#PB_Any, 0, 0, 200, 200, "+Chr('"')+"window_1"+Chr('"')+ ")" + #LF$ +
"Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow"
RunProgram(#PB_Compiler_Home+"/Compilers/pbcompiler", "/EXE"+ text$, "", #PB_Program ...
text$ = "Window_1 = OpenWindow(#PB_Any, 0, 0, 200, 200, "+Chr('"')+"window_1"+Chr('"')+ ")" + #LF$ +
"Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow"
RunProgram(#PB_Compiler_Home+"/Compilers/pbcompiler", "/EXE"+ text$, "", #PB_Program ...