Search found 1023 matches
- Thu Feb 06, 2020 1:38 pm
- Forum: General Discussion
- Topic: Generating MSButton base on variable
- Replies: 7
- Views: 9308
Re: Generating MSButton base on variable
I agreed cause I don't know the number of buttons that need to be shown on the dialog. I can change the size of dialog base on the number of "clicking" the button and I would like to show the button that represent the info that I did. I know I can create a bunch of buttons and set visible to false ...
- Thu Feb 06, 2020 12:40 pm
- Forum: Technical / Scripting
- Topic: RegistryWriteKey (write hex value)
- Replies: 5
- Views: 2642
Re: RegistryWriteKey (write hex value)
VBSTART Sub regWriteBinary(sRegKey, sRegValue, sBinaryData) ' Expects sBinaryData to be a comma separated string of hex values ' sRegKey needs to start with full registry root, e.g. HKEY_CURRENT_USER and not VBScript short form HKCU Dim oShell, oFSO, oFile, oExec Dim sTempFile Set oShell = CreateOb...
- Thu Feb 06, 2020 7:15 am
- Forum: Technical / Scripting
- Topic: RegistryWriteKey (write hex value)
- Replies: 5
- Views: 2642
RegistryWriteKey (write hex value)
I want to have my startup script automatically set the taskbar to hidden but the registrywritekey isn't working since the value must be hex. Am I missing something obvious here? /* hide: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckR...
- Thu Feb 06, 2020 6:38 am
- Forum: Enhancement Suggestions
- Topic: [documentation] Windows Key Event
- Replies: 2
- Views: 8318
Re: [documentation] Windows Key Event
Thanks, good to know (and should be documented)
- Wed Feb 05, 2020 6:05 pm
- Forum: Enhancement Suggestions
- Topic: [documentation] Windows Key Event
- Replies: 2
- Views: 8318
[documentation] Windows Key Event
I found out that you need to have the extra parameter set to 8 in order for the windows button to trigger an event that you can act on:
i.e. this will not trigger:
Code: Select all
OnEvent>KEY_DOWN,VK91,8,<sub routine>
Code: Select all
OnEvent>KEY_DOWN,VK91,0,<sub routine>
- Wed Feb 05, 2020 6:01 pm
- Forum: General Discussion
- Topic: Generating MSButton base on variable
- Replies: 7
- Views: 9308
Re: Generating MSButton base on variable
I would NOT dynamically change the dialog definition. Instead ALWAYS have a button but simply show/hide it based on value of your variable. To do this set the button's "Visible" property at runtime with SetDialogProperty Am I doing something really bad when I do this to generate an unknown number o...
- Wed Feb 05, 2020 2:45 pm
- Forum: General Discussion
- Topic: Generating MSButton base on variable
- Replies: 7
- Views: 9308
Re: Generating MSButton base on variable
You need to use the include> command and dynamically create a .scp file with the dialog code. That code can then be created as you please.
- Wed Feb 05, 2020 12:39 pm
- Forum: General Discussion
- Topic: MacroScheduler + Tablet Mode + Tile
- Replies: 1
- Views: 4825
- Wed Feb 05, 2020 8:24 am
- Forum: General Discussion
- Topic: MacroScheduler + Tablet Mode + Tile
- Replies: 1
- Views: 4825
MacroScheduler + Tablet Mode + Tile
Hello, If anyone got any information on how to activate tiles etc. for windows 10 tablet mode I would be really happy. I'm on the verge of starting a big job for a company that wants to use the Linx (Lamina) Toughtab in their environment and I was hoping to use MS in a large extent alongside a web a...
- Tue Feb 04, 2020 4:00 pm
- Forum: Technical / Scripting
- Topic: Determining if a Macro is already running
- Replies: 10
- Views: 5799
Re: Determining if a Macro is already running
I use a script which I call "watchdog" this one will read the ini file and can then independently of the other scripts know what pids to look at. If the heartbeat of a script isn't detected the watchdog will kill the process and start a new one. So in that sense my approach is more generic. But I li...
- Tue Feb 04, 2020 7:15 am
- Forum: Technical / Scripting
- Topic: Determining if a Macro is already running
- Replies: 10
- Views: 5799
Re: Determining if a Macro is already running
See this thread here: viewtopic.php?f=8&t=10528
- Tue Feb 04, 2020 3:42 am
- Forum: Technical / Scripting
- Topic: Determining if a Macro is already running
- Replies: 10
- Views: 5799
Re: Determining if a Macro is already running
I usually add a ini file which will have a timestamp and a pid section. I post to this file and can easily check it upon start to see if another instance of the macro is already running. (Just check and see if the pid is running).
- Tue Feb 04, 2020 2:33 am
- Forum: Technical / Scripting
- Topic: Sending a windows notification or something similar
- Replies: 2
- Views: 1952
Re: Sending a windows notification or something similar
If you look at my code here:
viewtopic.php?t=7408
You'll see that I check for the display resolution and place a "popup" next to the lower right corner. You should be able to adapt it to your needs.
viewtopic.php?t=7408
You'll see that I check for the display resolution and place a "popup" next to the lower right corner. You should be able to adapt it to your needs.
- Mon Feb 03, 2020 3:44 am
- Forum: Technical / Scripting
- Topic: Win10 Keyboard has new key "fn" to activate Fn keys
- Replies: 3
- Views: 4094
Re: Win10 Keyboard has new key "fn" to activate Fn keys
You don't need to have the fn pressed when doing script ed function key press. But if you want to have fn locked for your own human interface you can use the fn-lock function: Fn + Shift (first press fn, then shift) fn lock/unlock: https://h30434.www3.hp.com/t5/Notebook-Software-and-How-To-Question...
- Sun Feb 02, 2020 6:53 am
- Forum: Enhancement Suggestions
- Topic: Compiled or script (variable wanted)
- Replies: 6
- Views: 10517
Re: Compiled or script (variable wanted)
So it boiled down to this: Let>REGEX_PATTERN=(?<=").*?(?=") RegEx>REGEX_PATTERN,COMMAND_LINE,0,SCRIPT_DIR_EXE,,,, ExtractFileName>SCRIPT_DIR_EXE_1,RUNNED_EXE If>RUNNED_EXE=msched.exe //Running in dev mode ExtractFilePath>SCRIPT_DIR,SCRIPT_IMPORTS Include>%SCRIPT_IMPORTS%\script_imports\lib_get_root_...