Search found 1009 matches
- Tue May 18, 2021 5:59 am
- Forum: Scripts and Tips
- Topic: Get special folder paths
- Replies: 0
- Views: 35549
Get special folder paths
I have previously posted the tip on how to create a link file . I have now found a way of getting some special folder paths. This one will get the "ProgramData" path: VBSTART Function GetFolder(FolderToGet) Set WShell = CreateObject("Shell.Application") GetFolder = WShell.Namespace(CInt(FolderToGet)...
- Mon May 17, 2021 7:05 am
- Forum: Technical / Scripting
- Topic: Registry value decimal/HEX
- Replies: 2
- Views: 2857
Registry value decimal/HEX
When I try to edit the WallPaperStyle and TileWallpaper the values are stored as hexadecimal but Windows want them to be stored as decimal. How do I force MS to write them as decimal? RegistryWriteKey>HKEY_CURRENT_USER,Control Panel\Desktop,WallPaper,C:\my\path\to\bg.png RegistryWriteKey>HKEY_CURREN...
- Sat May 15, 2021 5:17 pm
- Forum: Technical / Scripting
- Topic: Cannot get the image recognition function
- Replies: 1
- Views: 2611
Re: Cannot get the image recognition function
Yeah I second what Marcus' saying.
- Fri May 14, 2021 12:59 pm
- Forum: Technical / Scripting
- Topic: Compile includes aren't working with dynamic path
- Replies: 4
- Views: 2694
Re: Compile includes aren't working with dynamic path
Aha, got it. I will make a build script that will temporarily replace those lines.
Perhaps it should be noted in the help for "include" as well?
Perhaps it should be noted in the help for "include" as well?
- Fri May 14, 2021 7:45 am
- Forum: Beginners
- Topic: Mouse movement based on a variable - where am I going wrong?
- Replies: 2
- Views: 7050
Re: Mouse movement based on a variable - where am I going wrong?
You're setting Let>multi=0 in the beginning of each iteration. Move it above the label>cycle.
- Thu May 13, 2021 7:09 pm
- Forum: Technical / Scripting
- Topic: Compile includes aren't working with dynamic path
- Replies: 4
- Views: 2694
Re: Compile includes aren't working with dynamic path
I wouldn't mind if I need to declare a variable from within the compiler settings. Kinda like how we add the output exe file and icon. If this is easier to do. But in any case the compile includes need to be documented since I didn't get any warnings or script errors.
- Wed May 12, 2021 9:59 am
- Forum: Technical / Scripting
- Topic: Compile includes aren't working with dynamic path
- Replies: 4
- Views: 2694
Compile includes aren't working with dynamic path
See this example and you will only have the second "HELLO" working if you compile it as an exe. If you open it in the same directory as the "test_1.scp" you will get an error. Opening it in a separate (otherwise empty) directory and you only get the second "HELLO". test_main .scp (compiled as exe wi...
- Tue May 11, 2021 4:09 pm
- Forum: Enhancement Suggestions
- Topic: CopyFile documentation
- Replies: 3
- Views: 10450
Re: CopyFile documentation
Any input on this?
- Tue May 11, 2021 3:17 pm
- Forum: Enhancement Suggestions
- Topic: PERCENT = %
- Replies: 1
- Views: 9419
PERCENT = %
We have:
- DECIMAL_SEPARATOR
- THOUSAND_SEPARATOR
- TAB
- CRLF
- CR
- LF
- SPACE
- COMMA
- NULLCHAR
- Mon May 03, 2021 12:01 pm
- Forum: Enhancement Suggestions
- Topic: VirtualFile>FileName,String
- Replies: 3
- Views: 10655
Re: VirtualFile>FileName,String
Aha, yeah then I'll start relying on temp files. Thanks for pointing out the behinds of it.
- Mon May 03, 2021 11:59 am
- Forum: Technical / Scripting
- Topic: How to word-wrap a long line - Solved
- Replies: 13
- Views: 7132
Re: How to word-wrap a long line
You mean that I'm not supposed to get back the data sent to the viewer using the GetDialogProperty command?Marcus Tettmar wrote: ↑Mon May 03, 2021 9:37 amFurthermore an HTML viewer is a VIEWER. It is not designed for modifying the text, so when you retrieve the text you sent to it you get exactly what you sent into it.
- Mon May 03, 2021 8:33 am
- Forum: Enhancement Suggestions
- Topic: When reached a breakpoint change editor window color
- Replies: 2
- Views: 9745
When reached a breakpoint change editor window color
If I'm running my code in the editor and it reaches a breakpoint the only indication that it has done so is that the stop button is being enabled and that the current row is set to the breakpoint. I would love to have the window background color change or something so I could see this from a distance.
- Mon May 03, 2021 7:52 am
- Forum: Enhancement Suggestions
- Topic: Hovering variables in watchlist = popup
- Replies: 3
- Views: 10133
Hovering variables in watchlist = popup
I would like to have the entire value displayed in a popup when hovering the watchlist row. Now I either have to expand the view or copy the value into a text editor.
- Mon May 03, 2021 7:27 am
- Forum: Technical / Scripting
- Topic: How to word-wrap a long line - Solved
- Replies: 13
- Views: 7132
Re: How to word-wrap a long line
Oh, I see that you cannot get the HTML data back... that's weird. Perhaps Marcus could shed some light on why that is. As a proof of the "bug": Dialog>Dialog1 object Dialog1: TForm Left = -2797 Top = -1168 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'CustomDialog' ClientHeight = 211 Cl...
- Sun May 02, 2021 7:26 pm
- Forum: Technical / Scripting
- Topic: How to word-wrap a long line - Solved
- Replies: 13
- Views: 7132
Re: How to word-wrap a long line
You could then use the <br> tag to have line breaks and those are quite easy to remove from the string.