Search found 63 matches

by conjure
Thu Sep 01, 2016 12:55 pm
Forum: Technical / Scripting
Topic: Desktops.exe multiple desktops
Replies: 9
Views: 7144

Re: Desktops.exe multiple desktops

How do i examine the the value of the "User_Name" variable in the Macro Scheduler editor?
by conjure
Thu Sep 01, 2016 10:42 am
Forum: Technical / Scripting
Topic: Desktops.exe multiple desktops
Replies: 9
Views: 7144

Desktops.exe multiple desktops

Hi.
I m using Win7 and Desktops.exe which opens multiple desktops and multiple explorer.exe processes.
Does anyone know if there is a way for MS to know which desktop is running?
by conjure
Sun Aug 28, 2016 1:15 pm
Forum: Technical / Scripting
Topic: Clipboard gets disabled
Replies: 1
Views: 2413

Re: Clipboard gets disabled

i had the same problem. I used default2.bmp with less pixels.
by conjure
Fri Aug 26, 2016 4:17 pm
Forum: Technical / Scripting
Topic: vb ip
Replies: 4
Views: 4347

Re: vb ip

:D :D :D :shock:
by conjure
Wed Aug 24, 2016 6:18 pm
Forum: Technical / Scripting
Topic: vb ip
Replies: 4
Views: 4347

vb ip

Dim client as New System.Net.WebClient
Dim ip as String = client.DownloadString("https://api.ipify.org")

how can i use this VB.NET code inside MS to get my ip as a result??
by conjure
Fri Aug 19, 2016 5:28 pm
Forum: Technical / Scripting
Topic: if wireless is conected,else connect to
Replies: 0
Views: 5242

if wireless is conected,else connect to

Hi. I use 2 different ADSL connections on same pc combined using Speedify. One Lan and one wireless. I want to make a script to be able to connect to wireless if it gets disconnected. The combined adsls means that Connection is always Available I always have internet connection if the wireless gets ...
by conjure
Thu Jun 09, 2016 11:53 am
Forum: Technical / Scripting
Topic: Monitor cpu
Replies: 2
Views: 3058

Re: Monitor cpu

i Think this is easiest

Code: Select all


label>start
IfWindowOpen>Windows Task Manager
GetWindowText>Windows Task Manager,strText
Let>tmp0=(?m-s)^.*CPU.*%
RegEx>tmp0,strText,0,m,nm,0
If>nm>0
msg>m_1
endif
else
ExecuteFile>C:\Windows\System32\taskmgr.exe
wait>1
endif
wait>0.05
goto>start
by conjure
Wed Jun 08, 2016 8:25 pm
Forum: Technical / Scripting
Topic: Monitor cpu
Replies: 2
Views: 3058

Monitor cpu

Hi.i have several programs running on my PC, and i want to make a script that reads the CPU and if it stays 100% for 30 or more seconds, to stop some programs.I searched the forum but i didn't find a script that can show the CPU usage.
Is there a way to get the CPU percentage?
by conjure
Fri Jun 03, 2016 8:17 am
Forum: Technical / Scripting
Topic: mirror folders
Replies: 3
Views: 4009

Re: mirror folders

I made it label>start ///PLAYqueued GetFileList>Z:\PLAYqueued\**,files Separate>files,;,filenames if>filenames_count=0 DeleteFile>X:\PLAYqueued\** goto>End2 endif let>k=0 Label>Loop let>k=%k%+1 let>pa=\ Separate>filenames_%k%,pa,text IfFileExists>X:\PLAYqueued\%text_3% else CopyFile>filenames_%k%,X:...
by conjure
Thu Jun 02, 2016 6:57 pm
Forum: Technical / Scripting
Topic: find the position of the last pixel in the image
Replies: 3
Views: 4173

Re: find the position of the last pixel in the image

i found an easy way.. on my script it starts scanning from right to left until pixel found Thank you for your help let>x=1750 label>start2 ScreenCapture>%x%,896,1795,1780,%TEMP_DIR%\screenrect.bmp FindImagePos>Z:\%ppc%\red_1.bmp,%TEMP_DIR%\screenrect.bmp,0,1,XArr,YArr,NumFound If>NumFound>0 let>red=...
by conjure
Thu Jun 02, 2016 6:54 pm
Forum: Technical / Scripting
Topic: mirror folders
Replies: 3
Views: 4009

mirror folders

Hi i want to mirror 2 folders
Z:\1 and X:\1

i want any text file that appears on folder Z:\1 to be copied to X:\1
and whatever text gets deleted from Z:\1 to be deleted to X:\1 as well..

i tried with
GetFileList
CopyFile
DeleteFile

but i cant make it work.
any suggestions?
by conjure
Sun May 29, 2016 4:57 pm
Forum: Technical / Scripting
Topic: find the position of the last pixel in the image
Replies: 3
Views: 4173

find the position of the last pixel in the image

Hi.
I want to find the position of the last red or green pixel in the image i attached, to be able to know if the chart is going up or down.(The last position is on the right)
Is it possible?
by conjure
Mon May 23, 2016 2:43 pm
Forum: Technical / Scripting
Topic: RegEx 2 variables in same line
Replies: 12
Views: 9227

Re: RegEx 2 variables in same line

Great!!!
Thank you very much. I have to read more on regex..
looks very usefull :)
by conjure
Mon May 23, 2016 2:23 pm
Forum: Technical / Scripting
Topic: RegEx 2 variables in same line
Replies: 12
Views: 9227

Re: RegEx 2 variables in same line

Any of them..
I just want to check if both GBP and - exists but only in the same line.
the text to scan is this

GBP_NZD 213 S -14.6 -310.98
AUD_JPY 500 S -13.7 -626.07
GBP_CAD 1 S 10.4 0.79
USD_JPY 1 S -2.3 -0.21
GBP_JPY 343 S 10 313.49
CAD_JPY 500 S 11.8 539.24
GBP_JPY 500 S 29.4 1,343.53
by conjure
Mon May 23, 2016 2:16 pm
Forum: Technical / Scripting
Topic: RegEx 2 variables in same line
Replies: 12
Views: 9227

Re: RegEx 2 variables in same line

Yes. the line is this
GBP_NZD 200 B -8 -108.26

so i want to know if both my variables (GBP and -) are in the same line
Sign up to our newsletter for free automation tips, tricks & discounts