17,705 questions
0
votes
0
answers
22
views
Using GT Automation / Scripting API in GT-SUITE 2016 (GT-ISE) for CFD Coupling Cases
I’m working with GT-SUITE 2016 (GT-ISE) and want to automate creating and running CFD-coupled simulations using the GT Automation / Scripting API.
The official docs mainly cover manual setup for ...
0
votes
1
answer
70
views
Manifest v3 couldn't load the script file
I'm trying to inject my script into the sender tab but in service worker console there is an error:
Uncaught (in promise) Error: Could not load file: 'chrome-extension://...'.
But when I fetch() this ...
2
votes
1
answer
66
views
Azure DevOps “File Path” PowerShell task fails with “MissingEndCurlyBrace” but script parses and runs fine locally and as inline steps
Environment
Azure DevOps Classic UI
Task: PowerShell@2 (Windows PowerShell, not pwsh)
Agent: Windows (Microsoft-hosted and self-hosted both repro)
PowerShell version: Windows PowerShell 5.1
Script ...
0
votes
0
answers
28
views
Regarding buffer size warnings
I accidentally ran an infinite loop Elisp code, and the buffer size became too large, resulting in a warning.
Warning (undo): Buffer ‘foo.ass’ undo info was 24054654 bytes long.
The undo info was ...
-2
votes
1
answer
126
views
Bash Hackerrank Challenge solution is working on bash version 3.2 on computer but not on Hackerrank Bash IDE [closed]
Attempting to solve the "Lonely Integer" problem
HackerRank problem statement:
My solution
declare -i n
read n
declare -a numbers
read numbers
n=${#numbers[@]}-1
while [ $n -ge 0 ]; do echo ...
0
votes
2
answers
133
views
Import readline while using input() in the gdb session
I am running my python script through the gdb via gdb -x py_script.py.
The only program I can't seem to be able to work around is the fact that editing and history of the built-in python readline ...
1
vote
0
answers
57
views
GeoGebra Classic 5 — Can I save and run a batch of Input Bar commands from a plain text file?
I remember (from around 10 years ago) that in GeoGebra I could save the commands I would normally type into the Input Bar into a textual file, and then open/load/run them all at once, without having ...
2
votes
4
answers
162
views
Is there a standard way to grab "values" from a "key" in bash?
I'm learning bash from a book and just wanted to see if there is a more efficient way to do this.
The output of cat /proc/acpi/wakeup is multiple lines, but I only care about this one:
GPP0 S4 ...
0
votes
0
answers
61
views
Office script in Excel can't be saved to workbook
I have written a script that works as expected with a specific workbook and I now want to save it to that workbook and ideally would like to make a button to run the script. However I do not get the ...
3
votes
3
answers
88
views
powershell - using -Confirm as a parameter, how do I know if the user has said 'yes'
I have this simple script in powershell.
# Save the non-running services to a variable
$nonrunningServices = Get-Service -Name "*sql*" | Where-Object { $_.Status -ne 'Running' }
#Check the ...
0
votes
0
answers
50
views
How can I get more helpful syntax error messages in a Groovy 4.0.9 Script with embedded methods?
I have embedded Groovy 4.0.9 in my application as a scripting language, and I want to be able to provide helpful feedback to my users when their scripts don't compile. This works ok with a basic ...
-1
votes
1
answer
84
views
How to prevent batch script from exiting prematurely? [closed]
In the below batch script, the script exits right after the datapatch command.
The datapatch command executes successfully but none of the code in the if/else clause is executed.
:: Define env ...
2
votes
0
answers
70
views
How to specify target framework for Microsoft.CodeAnalysis.CSharp.Scripting.CSharpScript?
The problem
I am implementing an out-of-process C# REPL for a Unity game. I tried an in-process REPL at first, but couldn't get it to work because of some weird VTable related exceptions when loading ...
1
vote
1
answer
138
views
Problem: (100) No permission to publish the video when uploading to Facebook Page via Graph API
I was trying to upload a video to a Facebook Page using the Graph API and kept encountering the error:
(#100) No permission to publish the video
Despite having the app in Live mode, proper permissions ...
1
vote
1
answer
37
views
Does Android Support Runtime XML or HTML Parsing for Dynamic View Creation?
I'm working on a native Android application where screens need to be rendered dynamically based on data received at runtime. The application is database-driven, and we aim to support customization for ...
0
votes
1
answer
63
views
How can I combine my two scripts to create a hat remover without removing the hair?
In ROBLOX studio, I'm trying to make a part that when you touch it, it will remove your hats, but not your hair. The way it will detect the hat from the hair is checking if the accessory has a ...
0
votes
0
answers
47
views
Powershell - Can´t find any way of passing a valid string to firewall rule creation cmdlet [duplicate]
$user = [System.Security.Principal.WindowsIdentity]::GetCurrent()
$userSID = $user.User.Value
$user2 = "$env:COMPUTERNAME\$env:USERNAME"
New-NetFirewallRule -DisplayName "aaa_test"...
0
votes
1
answer
66
views
Attempt to index boolean with 'waitforchild' error
So I'm trying to make a LocalScript that connects to a ServerScript through a remote event which makes a Gui appear. The error is that every time I fire the remote event I need it to happen for one ...
0
votes
1
answer
43
views
awk -F command is not found (ubuntu) [closed]
I am using the command in following types:
Commands are:
ps -ef | awf-F "" '{print $2}'
ps -ef | grep python3 | awk-F "" '{print $3}'
Both the commands give the error:
awk -F ...
1
vote
1
answer
133
views
"Unsupported datatype 'VECTOR(FLOAT, 768)" when assigning embedding to variable
I want to write a Snowflake scripting block where I embed some text, then do some cosine similarity search. Ideally I would like to be able to assign the embedded text to a variable so I can re-use in ...
2
votes
1
answer
87
views
Having some trouble trying to verify credentials from get-credentials. Is there a better way?
I thought my script worked in test environment (it prompted me for credentials again and again when I mistyped, but accepted them after I typed them correctly). But when I tried to use it in ...
0
votes
0
answers
21
views
Installing CrossTool on remote server
I'm attempting to install this tool by logging into the remote server using SSH. Although upon doing so it returns this error;
Will not apply HSTS. The HSTS database must be a regular and non-world-...
0
votes
1
answer
42
views
bulk update in Visual Studio, is this possible?
I have a task to replace several tags in big project (2000+ xml pieces of code), basically changing:
<tag1>abc</tag1> ==> <tag1>XYX99</tag1>
Is this can be done inside of ...
0
votes
1
answer
110
views
Why does my git command output blank to a text file when I try to use variables as inputs instead of hardcoded values?
I am in the process of writing a windows batch file to simplify the generation of some documentation, I am relatively new to this. Part of this involves interrogating my git repository to find the two ...
2
votes
1
answer
55
views
I have input validation and now im trying to continue the code // Powershell
I am following a tutorial I found on youtube for a file integrity monitor. The code is messy but im trying to add my own twist and clean it up. I just added input validation and now the code won't run ...
0
votes
1
answer
63
views
Why is The script that I used to add the Torch to player inventory, not working for my other item?
I followed a tutorial to learn how to create a trigger event that adds a Torch to your inventory via a click detector that was attached to the chest. I tried using the same system to a sand pile for ...
1
vote
1
answer
74
views
Powershell path exists but script cannot find it
I am trying to use a PowerShell script to transfer a file from a NAS location to a group of remote servers. I am using Copy-Item to transfer the file. I am getting the error - Cannot find path because ...
-1
votes
1
answer
102
views
If Statement for VBScript is not Working. No Errors when executing script [closed]
I am trying to create a script that reads the contents of a file and reacts to certain error messages. So far everything is working as intended; however, I cannot get the 'If' statement to perform any ...
2
votes
1
answer
163
views
LastLoginTime not present in Windows 11. Is there another way to pull last login for local accounts without using Event Logs?
I am working to write some simple powershell scripts to verify account status and inactivity. I am running into an issue where the Inactivity is not returned due to a non-existent registry key. Is ...
0
votes
0
answers
37
views
How do I disguise my web scraper to read adobe pages?
I tried to use the following agent disguise: "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"
I also ...
0
votes
1
answer
116
views
Sabre Scribe Scripts
Wondering if anyone has the setup instructions for the Eclipse to work with Sabre Scripts? The one I have is outdated. Or in general the steps to setup eclipse to work with Sabre Red Apps
-3
votes
1
answer
90
views
Adding a Script to an Object from a list of Scripts during runtime in Unity
for the game I'm working on I had my groups write multiple scripts that I would be implementing into the project. Each script would contain the dialogue for the game. It was a rushed solution and very ...
0
votes
0
answers
36
views
ARCore Depth Lab Point Cloud Export Creates Multiple Layers in .PLY File
I have built the ARCore Depth Lab application from Google’s GitHub repository in Unity. The application runs fine, and I have added a new feature to export the point cloud data to a .ply file.
I ...
0
votes
1
answer
77
views
LLDB breaks on adding a breakpoint using python
I want a LLDB breakpoint callback to add another breakpoint on the next frame in the callstack.
For this I have a file trace_mvp.py with the following code:
import lldb
def syscall_callback(frame: ...
0
votes
0
answers
213
views
Via powershell, trying to delete a folder in C:\users but it isn’t working [duplicate]
I run powershell as an admin. I am able to delete the user account without issue via:
Remove-LocalUser -Name "PcMethod"
But then when I try to remove PcMethod’s folder in C:\users via:
if (...
1
vote
1
answer
97
views
zsh script command not finding ruby gem
I'm trying to write a simple .zsh script to start my webservers upon computer boot.
This works well:
#!/bin/zsh
cd /Users/me/Sites/Vue/mysite && npm run dev &
But this doesn't work:
#!/...
0
votes
0
answers
53
views
Blender: Report message from previous run persists in successive run of the same operator
Summary
When an operator is run multiple times successively in blender, report messages (generated by report() API) from previous runs are also showing up in present run.
What is the reason behind it ...
-2
votes
1
answer
70
views
Text extraction content between two string using awk [closed]
I am trying to extract the -D port entries from a bunch of java process for monitoring purpose. So I did ps -ef and grep for java process and also after some massaging am left with a list of strings ...
3
votes
0
answers
276
views
SAP GUI Scripting in Delphi
I am developing an application in Delphi that needs to interact with SAP GUI via Scripting to automate some material control operations. However, I am facing difficulties in establishing the correct ...
0
votes
0
answers
85
views
Script or command Installation of Hp support assistant in windows 10 using Kace and Lansweeper
I am trying to deploy HP Support Assistant on Windows 10 machines using KACE or Lansweeper. I have placed the installer (installer file name) on a shared network drive and tried using the following ...
-1
votes
3
answers
158
views
Cannot get a surface gui textbox's text, even though it is in a localscript
(would post on dev forum but I'm not accepted in yet) I have put a part in workspace with a surface GUI then textbox and then this LOCAL script inside it:
script.Parent:GetPropertyChangedSignal("...
1
vote
1
answer
55
views
Remote SSH - Not printing the variables
I am having trouble execting the below command on remote SSH. Trying to execute 3 commands on remote server and returning its output as CSV value. If the run the command on the command line it works ...
0
votes
0
answers
87
views
No events firing in my ASP.NET Core 9.0 Blazor web app
I am simply trying to get a FluentButton OnClick event to fire and have no luck. Nothing. Any events are not firing. There are errors I've never seen in the browser that concern me. I'm hoping someone ...
3
votes
2
answers
219
views
Powershell: Issue with foreach loop. "Cannot convert the value of type "System.String" to type "System.Management.Automation.SwitchParameter"
I have a report that I have automated. the report is a CSV file, and it is split every 80,000 lines, so I regularly end up with reports in multiple parts. I have a large function that processes the ...
0
votes
1
answer
51
views
How to remove all FlagSmith identities at once
When using the FlagSmith User Interface, I couldn't find any way to select all the identities and delete them at once.
As you can see in the image attached, we are forced to click the trash icon ...
1
vote
0
answers
131
views
Windows Update UI shows 'Updates Paused' despite updates being resumed via PowerShell script
I'm working on automating Windows Update management using a PowerShell script. The script resumes updates by modifying the registry and restarting the relevant services (wuauserv and UsoSvc), and it ...
0
votes
1
answer
237
views
How can I run a Powershell script from a shortcut on macOS and have it display the text output from the script
I have a powershell script that I'm trying to run from a shortcut on macOS (as in the Shortcuts app/widget, not the Dock). I have the mac version of powershell installed and the script runs fine if I ...
0
votes
0
answers
60
views
Abort script with same command as started with Lua in Logitech G HUB
I'm learning Lua, and set up a script in the Logitech software when I hit mouse button 9. I would like to abort this script when hitting the button again while running, but after multiple attempts, I ...
-1
votes
1
answer
278
views
How to Fix 'No Applications Connected' Error in UXP Developer Tools for Adobe Apps?
In Uxp Developer Tools, you can connect to Photoshop, but cannot connect to Premiere Pro 2025 and Illustrator 2025. Uxp Developer Tools prompts 'No applications are connected to the service. Make sure ...
1
vote
0
answers
75
views
Programmatically find the "Saved in Simulink version" for a .sldd object in Matlab/Simulink
I am now creating a MATLAB script to read the release versions in which a sldd object is created in Simulink/MATLAB.
For example, An SLX file activeSuspension.slx's matlab version it has been saved in ...