Search found 63 matches

by conjure
Mon Sep 28, 2020 8:00 am
Forum: Technical / Scripting
Topic: HWND_TOPMOST not working ?
Replies: 4
Views: 4918

Re: HWND_TOPMOST not working ?

To update a label just use the SetDialogProperty command and specify the Caption property: SetDialogProperty>dialogname,labelname,caption,new caption Reset is not needed. This is for legacy (very old) dialog code using the old dialog style. Thank you Marcus .. I tried SetDialogProperty>SplashScreen...
by conjure
Mon Sep 28, 2020 7:00 am
Forum: Technical / Scripting
Topic: HWND_TOPMOST not working ?
Replies: 4
Views: 4918

Re: HWND_TOPMOST not working ?

I found that i have to use SetDialogProperty>SplashScreen1,,Formstyle,fsStayOnTop Now i am having problem with the reset dialog. I read that it does not work anymore on MS15. Can someone tell me how to update the label inside the dialog? Dialog>SplashScreen1 Caption=SplashScreen1 Width=1 Height=20 T...
by conjure
Sun Sep 27, 2020 1:37 pm
Forum: Technical / Scripting
Topic: HWND_TOPMOST not working ?
Replies: 4
Views: 4918

HWND_TOPMOST not working ?

I used to run this compiled exe, with no problem , and HWND_TOPMOST was working fine. After i added an icon to my executable, HWND_TOPMOST does not work anymore. i didn't touch the code. What is wrong? Is it a bug? // COMPILE_OPTS|C:\Users\PC6\Desktop\SplashPositions.exe|R:\Hopstarter-Orb-Real-One.i...
by conjure
Sun Sep 13, 2020 7:48 am
Forum: Technical / Scripting
Topic: Script to sort csv files - way too hard for my little brain
Replies: 9
Views: 34633

Re:

VBSTART Sub SortCSVFile(file,sort_column) Set XLApp = CreateObject("Excel.Application") XLApp.Workbooks.Open(file) XLApp.ActiveWorkbook.ActiveSheet.Sort.SortFields.Clear Set SortCol = XLApp.Range(sort_column) XLApp.ActiveWorkbook.ActiveSheet.Sort.SortFields.Add(SortCol) Set Cell = XLApp.ActiveWorkb...
by conjure
Sat Nov 02, 2019 10:41 pm
Forum: Beginners
Topic: Round a number
Replies: 6
Views: 5219

Re: Round a number

found it again

Code: Select all


label>start

random>9999,a
if>a>1000
let>rounding=1000
goto>found
endif
if>a>100
let>rounding=100
goto>found
endif
if>a>10
let>rounding=10
goto>found
endif


label>found
let>b=a
Let>b={Trunc(%b%/%rounding%)*%rounding%}
msg %a% %b%
wait>1
goto>start


by conjure
Sat Nov 02, 2019 11:00 am
Forum: Beginners
Topic: Round a number
Replies: 6
Views: 5219

Re: Round a number

Grovkillen wrote:
Sat Nov 02, 2019 9:55 am
Simply truncate it.
Is it possible to truncate a number like this?
Round(12) = 10
Round(15) = 10
Round(19) = 10
by conjure
Sat Nov 02, 2019 10:42 am
Forum: Beginners
Topic: Round a number
Replies: 6
Views: 5219

Re: Round a number

i found it
Let>a=301.6
Let>a={Trunc(%a%)}
msg a
by conjure
Sat Nov 02, 2019 10:38 am
Forum: Beginners
Topic: Round a number
Replies: 6
Views: 5219

Re: Round a number

but how?
by conjure
Sat Nov 02, 2019 8:32 am
Forum: Beginners
Topic: Round a number
Replies: 6
Views: 5219

Round a number

Is it possible to round a number like this in the example?
for example
Round(12.25) = 12
Round(12.50) = 12
Round(12.75) = 12
by conjure
Sat Dec 15, 2018 4:27 pm
Forum: Beginners
Topic: send notification from MS to android
Replies: 3
Views: 4260

Re: send notification from MS to android

Marcus can you please show me how to do it?
This is the address
https://www.notifymydevice.com/push?Api ... shText=fff
by conjure
Sat Jun 16, 2018 6:43 pm
Forum: Beginners
Topic: send notification from MS to android
Replies: 3
Views: 4260

send notification from MS to android

Hi. There is an app ( Notify My Device ) that gives you an api key to send notifications to your android device. https://www.notifymydevice.com/push?ApiKey=xxxxxxxxx&PushTitle=&PushText= Is there a way i can use MS to send these notifications? Our public API is very simple and easy to use. There are...
by conjure
Tue Jul 25, 2017 11:25 pm
Forum: Technical / Scripting
Topic: FindImagePos
Replies: 3
Views: 3391

Re: FindImagePos

I m sorry Marcus i didn't understand.Can you post an example?
by conjure
Fri Jul 21, 2017 8:15 pm
Forum: Technical / Scripting
Topic: FindImagePos
Replies: 3
Views: 3391

FindImagePos

Hi. I want to scan the image i attached and move the mouse at the bottom of the red bar. I tried ScreenCapture>1630,920,1656,1069,%TEMP_DIR%\screenrect2.bmp FindImagePos>Z:\%ppc%\down.bmp,%TEMP_DIR%\screenrect2.bmp,0,1,XArr,YArr,NumFound If>NumFound>0 MouseMove>{%XArr_0%+1630},{%YArr_0%+920} mdl>%YA...
by conjure
Sat May 20, 2017 1:12 pm
Forum: Technical / Scripting
Topic: Getting handle from windows with same name
Replies: 2
Views: 2678

Re: Getting handle from windows with same name

from another post Label>ask_for_instances Input>instances,Enter the number of Notepad windows you'd like to control (minimum 2 or enter 0 to Exit):,5 //trim leading and trailing spaces Trim>instances,instances Length>instances,entered_instances_length //if no input then ask_for_instances again IF>en...
by conjure
Sun Mar 26, 2017 7:48 pm
Forum: Technical / Scripting
Topic: RegEx 2 variables in same line
Replies: 12
Views: 9049

Re: RegEx 2 variables in same line

Thank you hagchr for sharing your experience.!!!
Sign up to our newsletter for free automation tips, tricks & discounts