UI/UX

225

Solutions

400

Contributors

UI stands for User Interface and UX for User Experience. While there are key differences between the two, both concern the design of how humans interact with computer systems and software.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello experts,

I have in my AutoHotkey/Hotstring file multiple hotstrings that sendinput date.

I would like to convey them into a single hotstring and modulate them through a GUI.

The idea is the following:

 20200218_042035.png
Could you please help me to:

Set up the process behind to sendinput based on the selection.
I attached current version.

Thank you for your help.
DatesGui.ahk
1
Hello experts,

The following AutoHotkey script allows me to list files and folders based on folder reported.

;====================================
;Gui: list files and folders attributes
;====================================

^+f::
Gui,Add,Text,xm,Select folder for file listing:
Gui,Add,Edit,vFolderPath w400
Gui,Add,Text,,Select folders to process:
Gui,Add,Radio,Checked vRecurse,&Recurse
Gui,Add,Radio,x+10,&NoRecurse
Gui,Add,Text,xm,Select information to put in file listing:
Gui,Add,Radio,Checked vFileInfo,&Filename (without path)
Gui,Add,Radio,x+10,Filename with &Path
Gui,Add,Button,xm gButtonOKFilesFoldersListing Default,&OK
Gui,Add,Button,x+10 gButtonCancelFilesFoldersListing,&Cancel
Gui,Show,,File Listing
Return

ButtonOKFilesFoldersListing:
Gui,Submit
If (SubStr(FolderPath,0,1)!="\")
  FolderPath:=FolderPath . "\"
FormatTime,CurrentDateTimeFilesFolders,,yyyyMM
TempFile:=FolderPath . CurrentDateTimeFilesFolders . "_listing.txt"
FileList:=""
If (Recurse=1)
{
		LoopMode:="FDR"
}
Else
{
		LoopMode:="FD"
}
FileList:=""
Loop,Files,%FolderPath%*.*,%LoopMode%
{
  If (FileInfo=1)
		{
    FileList:=FileList . A_LoopFileName . "`n"
  }
		Else
		{
    FileList:=FileList . A_LoopFileFullPath . "`n"
		}
}
Msgbox,,,LoopMode:%LoopMode% `nFileInfo:%FileInfo%
Clipboard:=FileList
ClipWait,2 ; wait for information to appear on clipboard
If (ErrorLevel=1)
{
		MsgBox,4144,Error,No text appearing after 2 seconds
		Return
}
Sort,FileList
FileDelete,%TempFile%

Open in new window

1
hi,

I am creating hyper V CentOS VM but it seems never can reboot to server UI screen,  I see this screen when I was configuration the disk but I gave it 500GB, can't see why it can't see it.

CentOS disk space

any reaosn why ?

disk space in total:

disk space in total
0
Hello experts,
I am trying to set up a file listing through an AutoHotkey GUI.
Here are the requirements:
Through a GUI report folder path in which will be generated the file.
List files in a new file and open it.
The final need is to add the following new features:
-File name and file full path differentiation
-Immediate and recurse differentiation
I am quite sure that the best approach for this is radio. However prior to propose something I would like to know:-
-If code structure is ok or should I review it.
-What is the best option to create the 2*2 differentiation.
Functions with switch case?
The differentiation is based on the:
Loop, Files, %FolderPath%\*.*, FD, R ; for recurse, blank for immediate
FileList = %FileList%% A_LoopFileName %`n; for file name
FileList = %FileList%% A_LoopFileFullPath %`n; for file full path

I am aware that I need to do some file tuning and add the controls. However I will do it following your recommendations.

I attached my initial version.

Thank you for your help.
AppendFilesList.ahk
1
I'm currently attempting to migrate three mailboxes from one Exchange 2013 CU19 Mailbox to another.  

On one hand, in the status window on the migration batch UI shows that 'Data migrated' keeps growing.  On the other hand, when looking at the status detail, I see this:

Transient error MailboxOfflineException has occurred. The system will retry (6/60).

Over and Over again.  

If I check using GetRequestStatistics, it shows under status detail the following pattern, also repetitively:  InitialSeeding, MDBOffline, NetworkFailure

I've already migrated over 60 mailboxes without an issue; this error seems to occur only for the last two Im working on.  I've already tried a mailbox repair, stopping the health service, and also mounting and dismounting the db.  Any other ideas?
0
Hello experts,

I am trying to find a mechanism through AutoHotkey=>Gui to repeat reported text based on iterations.
Here is my attempt:

Gui, Add, Text,,Text to iterate:
Gui, Add, Text,, Number of iterations:
Gui, Add, Edit, vTextReported ym  ; The ym option starts a new column of controls.
Gui, Add, Edit, vIterationsReported
Gui,Add,Button,xm gButtonOKEx Default,&OK
Gui,Add,Button,x+10 gButtonCancelEx,&Cancel
Gui, Show,, Iterate text
Return

ButtonOKEx:
Gui, Submit
Loop, Parse, TextReported, `n, `r
{
	TextReported2:=A_LoopField . "`n"
}
TextReported3:=RepeatText(TextReported2, IterationsReported)
MsgBox,,,%TextReported3%
Clipboard:=TextReported3
ClipWait,2 ; wait for information to appear on clipboard
If (ErrorLevel=1)
{
	MsgBox,4144,Error,Information did not appear on clipboard after two seconds
	Return
}
ButtonCancelEx:
Gui,Destroy
Return

;====================================
;Function used to repeat string
;====================================

RepeatText(string,times)
{
	loop %times%
		output .= string
		return output
}

Open in new window


Could you please provide some advice on the following:
1.Is there a better approach to repeat text? If so could you please help me to set up a function
2.Controls to set up can be related to text reported. If TextReported="" return? and if IterationReported is not numeric return? For the second I need a check through var is type as reported at:
here
or another approach is better?
3.I would like to modulate the repeat action with two options, repeat text at the same line or in a new line ie : TextReported2:=A_LoopField . "`n" to have text repeat in another line or through TextReported2:=A_LoopField .  A_Space to have it in the same line. Gui Radio is the best option to cover this need?
4.If you have some advice on the AutoHotkey structure reported above, please let me know.

Thank you in advance for your help.

Regards,
Luis.
1
Duplicate code removal with ReSharper?
 
I read it now helps highlight duplicate code, but at jetbrains.com I am not finding an specific feature for that.

At the moment, I care most about UI files, first and foremost HTML and Javascript.

Does anyone know if ReSharper highlight duplicate code within a file? And between different files?

IO am about to get the 30-day free trial. But, before I start the clock, I hope to nail down even if that feature exists.

Thanks
0
Hello experts,

I set up the following AutoHotkey script in order to retain or remove lines from a clipboard based on string reported in the GUI.

+^r::
AddTextEditWidth:=400
Gui,Add,Text
Gui,Add,Text,xm,Which operation to you want to performed?
Gui,Add,Radio,Checked vWhichOp xm,Retain
Gui,Add,Radio,x+20,Remove
Gui,Add,Text
Gui,Add,Text,xm,Enter the string related to retain or remove operation (or click Cancel not to add text):
Gui,Add,Edit,vAddTextRetainRemove xm w%AddTextEditWidth%
Gui,Add,Text
Gui,Add,Button,xm gButtonAddTextRetainRemoveOK Default,&OK
Gui,Add,Button,x+10 gButtonAddTextRetainRemoveCancel,&Cancel
Gui,Show,,Add text
Return

ButtonAddTextRetainRemoveOK:
Gui,Submit
Gui,Destroy
Send, ^c
ClipWait,1
If (ErrorLevel=1)
{
  MsgBox,4144,Error,No text appeared on clipboard after initial Ctrl+c and waiting for one second
  Return
}
Else
ReferenceString:=AddTextRetainRemove
NewClipboardVar:=""
Loop,Parse,Clipboard,`n,`r
If (WhichOp=1) 
{
  If InStr(A_LoopField, ReferenceString)
    NewClipboardVar:=NewClipboardVar . A_LoopField . "`n"
}
Else
{
  If InStr(A_LoopField, ReferenceString)
    Continue
    NewClipboardVar:=NewClipboardVar . A_LoopField . "`n"
}
LastChar:=SubStr(NewClipboard,0,1) ; see if last char is CR or LF
If ((LastChar="`r") or (LastChar="`n"))
{
  StringTrimRight,NewClipboard,NewClipboard,1 ; last char is CR or LF - remove it
  LastChar:=SubStr(NewClipboard,0,1) ;  see if new last char is CR or LF
  If ((LastChar="`r") or (LastChar="`n")) ;
    

Open in new window

1
This script, I have a simple email sending in the subject and body.  What I need help with is getting the email into a html format in the body (I have the code below for an example, but don't know how to do it with this script).  I'd also like to add the user this is being run by, like in the example, and also add to the .csv this is writing to.  Currently the csv lists:  Computer | ExactTime

$OutArray = @()
workflow foreachrerun {
    param([string[]]$computers)
    foreach –parallel ($computer in $computers) {
       InlineScript {
Function Start-CCMRerunAdvertisement {
    [CmdLetBinding()]Param(
        [Parameter(Mandatory=$true)][string]$computerName,
        [Parameter(Mandatory=$false)][string]$advertisementId = "*",
        [Parameter(Mandatory=$false)][string]$packageId = "*",
        [Parameter(Mandatory=$false)][int]$maxRun = 1
        #[Parameters(Mandatory=$false)][switch]$moreThanPing = $false
    )
    if($advertisementId -eq "*" -and $packageId -eq "*") {
        Write-Error "You must supply either an AdvertisementID or a PackageID"
        return "Missing Parameters"
        break
    }
    $searchString = "$advertisementId-$packageId-*" 
    if(!(Test-Connection -ComputerName $computername -ErrorAction SilentlyContinue)) {
        if($moreThanPing) { 
            if(!(Get-ChildItem "\\$computername\c$" -ErrorAction SilentlyContinue)) {
                Write-Error "System Offline"
                Return "System Offline"
                break
       

Open in new window

0
popup that is currently renderedI have the following popup that needs to be changed to better align with UI standards.

This is the AngularJS that makes this page:

I need to put some padding , alighn the buttons properly.  Can someone help me refactor?




<script type="text/ng-template" id="ApproveArRequestTemplate.html">
    <form>
        @*<div class="modal-header">
            <h3 class="modal-title">Add attachment</h3>
        </div>*@
        <div class="modal-body">
            <div class="control-group">
                <label class="control-lable">Approval Comment</label>
                <div class="controls">
                    <textarea id="approvereason" name="approvereason" class="form-control" ng-model="ApproveReason"></textarea>
                </div>
            </div>
            <div class="checkbox" ng-show="item.IsRoleEvpCfoCoo">
                <label><input type="checkbox" id="IsRouteToCEO" ng-disabled="IsRouteToCEO" ng-model="IsRouteToCEO" />  Route to CEO for approval</label>
            </div>
            <div class="checkbox" ng-show="item.IsRoleCreditDeptFPnACommOp">
                <label><input type="checkbox" id="IsRouteToDirectorOfTax" ng-model="IsRouteToDirectorOfTax" />  Route to Corporate Tax</label>
            </div>
            <label class="control-label" ng-show="item.IsRoleLocalFinance">Are Pre-Approved Business Metrics Met</label>
            <div class="col-md-6">

                <div class="btn-group" 

Open in new window

0
We have VMware 6.7 and unable to upload the iso image to a datastore via Vcenter UI. We can only do it via ESXi host.
Is it the only way to do ? or Is there any fixes to upload via vcenter UI?
0
Hi Experts

I have a reasonable amount of experience in customising the Ribbon using the CustomUI editor and using VBA to dynamically populate menus. However, I just cannot seem to get my head around what I need to do to add a new Menu to an existing custom Tab using VBA.

I want to have a blank, already created Tab - I have already done that in the Custom UI editor.

I want to programmatically add new menu items to that Tab using VBA.

It would be useful to be able to know how to add a Tab programmatically as well but that is not essential.

Many thanks in advance for your help.
0
I was asked to create a read only user interface to an old database where I'll need to display the data across multiple tab pages and a couple of hundred text boxes.  Ordinarily it's not a big deal to use the binding source and connect the boxes to the tables but I lost count around 200.   I poked around a little bit with creating all the boxes at run time looping through the columns to create them (and bind them) but I didn't care for the layout and it became more of a hassle.  Now I have this project with even more boxes to bind to datatables and I'm looking at dozens of hours.  Ok, maybe a day, but I still wonder if there's a more efficient way?

I'm using VB.net and Visual Studio 2017

Thanks for any thoughts
0
Microsoft has done it again. Buggered up the UI for no obvious reason and trivial benefit to a handful of amateur users.

In version 1903, the behaviour of the Explorer "Save As" option has changed to what some twat obviously thinks is a more useful way to access our data.
This screenshot illustrates the problem:
Explorer "Save As" v1903
I've designed my folder structure so that all my subfolders sit under the root "_FOLDERS". Up till I foolishly upgraded from 1803 to 1903 the week before Xmas, that ensured that my root was always the top entry. But as the screenshot shows, the idiotic windoze UI change now categorises entries by date groups (a la Outlook mailbox) and the more recent files I've added the further down the list the _FOLDERS will go, until it disappears.

Despite an extensive hunt I cannot find an option to disable this unwanted behaviour.

Anyone know how?
0
I have a esxi 6.5 host that when I try to reach the web UI with the browser, I get a 404 Not Found.

Any Ideas?
0
Hi,

Recently I have this problem of Outlook freezing when clicking or right-clicking in InBox:

OutlookFreezes
What's causing it  & how to get rid of it?
0
I want to write a web application that will be hosted on the cloud. It is UI based application. It will programmatically interact with AWS and few other tools. I have heard about Angular, React, Vue, etc. Which UI framework is best and why? Looking for a framework which will give the best UX and performance.
0
Experts,

I am trying to execute a simple script after a jQuery Mobile tab loads. The jQuery Mobile docs say that jQuery Mobile tabs are an extension of jQuery UI tabs and as such, the same code to invoke a function after a jQuery UI tab loads would work in the mobile framework.

Example:

$("#tabs").tabs({
    beforeLoad: function(event,ui){
        ui.jqXHR.fail(function(){
            ui.panel.html("Unable to load tab. Please try again.");
        });
    },//END FUNCTION
    load: function(event, ui){
        alert('I AM A CUSTOM FUNCTION');
    }//END LOAD
});

When I try to run this code, nothing happens when I click on each tab? What am I missing? My tab structure follows the same structure pulled from the jQuery Mobile site:

<div data-role="tabs" id="tabs">
  <div data-role="navbar">
    <ul>
      <li><a href="#one" data-ajax="false">one</a></li>
      <li><a href="#two" data-ajax="false">two</a></li>
      <li><a href="ajax-content-ignore.html" data-ajax="false">three</a></li>
    </ul>
  </div>
  <div id="one" class="ui-body-d ui-content">
    <h1>First tab contents</h1>
  </div>
  <div id="two">
    <ul data-role="listview" data-inset="true">
        <li><a href="#">Acura</a></li>
        <li><a href="#">Audi</a></li>
        <li><a href="#">BMW</a></li>
        <li><a href="#">Cadillac</a></li>
        <li><a href="#">Ferrari</a></li>
    </ul>
  </div>
</div>
0
Using Eye Tracking on the Mac

I have a friend who tried using iTracker software on his Mac, but the install did not work.

Is there additional hardware required?

Are there other programs you can recommend for eye tracking as a way to control the Mac? He may not get iTracker working...

Thanks.
0
Controlling a Mac using speech?

What kinds of tools are there for someone who can not use a keyboard with both hands?

Thanks
0
This might seem like a really silly question but our Group Policy still is using Windows XP images and design UI so it got me thinking is there a way to check if we are using the latest version of Group Policy?

Our Server is: Windows Server 2016 Standard Version 1607

groupolicy.PNG
0
Hello Experts,

Here is the Ask:  How do I get the below code to run without utilizing the ‘sp_configure’ stored procedure in Microsoft SQL server 2016?  I have the ability to create new stored procedures, but I cannot use the stored procedures that natively exist in SQL Server.

Additional Context/Background:

I have about 200,000 addresses in a Microsoft SQL server that I need to geocode.  I am operating in a highly restricted environment that does not allow the use of unapproved applications.  The approval process for a new application that I might develop in Visual Studio to geocode the addresses utilizing Google’s Locations API would take about a year for approval.  


I do however have access to SQL Server Management Studio and the database itself.  Here is the kicker, in this highly restricted environment, I have the ability to create a stored procedure, but nearly all of the native stored procedures in SQL have been disabled due to security concerns.

Using the innerwebs, I created the below SQL code to geocodes my addresses.  It works like a champ in my test environment utilizing a Cursor in conjunction with the ‘Ole Automation Procedures’ stored procedure ‘sp_configure ' .  The problem I have is that in my production environment, the stored procedure ‘sp_configure’ is disabled.

I realize that I will probably be cursed up and down for using Cursors and ‘sp_configure’.  It wasn’t my first choice, I am just trying to play the hand I have been dealt in the…
0
I want to update a task's UI presentation (basically coloring a cell based upon some task properties) and while I know how to traverse the task collection for an open MS project, I can't figure out how to change the cell color of the cell for a particular task row.  Any ideas?
0
I have upgraded UI bootstrap version to "ui-bootstrap-tpls-2.5.0.js"(so i can use popover functionality) & that's causing some issues in my web page. I seem to get  below errors & i am guessing this may be because of the mismatch between dependencies  & ui-bootstrap-tpls-2.5.0 versions

Does popover work with angular-ui-bootstrap Version: 0.11.2?

angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1 Error: [$injector:unpr] http://errors.angularjs.org/1.2.1/$injector/unpr?p0=%24templateRequestProvider%20%3C-%20%24templateRequest%20%3C-%20%24uibModal
    at angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1
    at angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1
    at Object.i [as get] (angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1)
    at angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1
    at i (angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1)
    at Object.r [as invoke] (angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1)
    at angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1
    at i (angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1)
    at r (angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1)
    at Object.instantiate (angular?v=dU2cIFpfhGmAPaTSxpHrzJ2_PypDC46QGyphUfSbs1I1:1)

Currently i have following references & their version

angular-ui: 0.4.0
angular-resource: v1.2.1
angular-animate: v1.2.1
ui-bootstrap.Jasney.inputmask.js: v3.1.0

Any help would be highly …
0
I have list of files on my local branch. I see one extra file.  I want to remove that file but not able to remove it


I have 4 files.
Test1.js
Test2.js
Test3.js
Test4.js

when I submit the review in rbt commons, I see Test1.js.

Tried to remove the file in GitHub ui interface, it does not let me remove

Used the below to checkout the file from master

Git checkout master Test1.js

i still see the file as one of the changed file in my local repo.

Need help removing it
0

UI/UX

225

Solutions

400

Contributors

UI stands for User Interface and UX for User Experience. While there are key differences between the two, both concern the design of how humans interact with computer systems and software.