Search found 224 matches

by anuraag
14 Jun 2019 02:15
Forum: User Help / Bug Reports
Topic: Launch Default Apps
Replies: 2
Views: 61

Re: Launch Default Apps

ctx=getContext(); tm=callJavaMethod(ctx, "android.content.Context", "getSystemService(java.lang.String)", "telecom"); defaultDialer=callJavaMethod(tm, "android.telecom.TelecomManager", "getDefaultDialerPackage()") Use above code in a script action. defaultDialer will contain default dialer package ...
by anuraag
30 May 2019 14:08
Forum: User Help / Bug Reports
Topic: DST condition
Replies: 5
Views: 339

Re: DST condition

Try

Code: Select all

tz=callJavaStaticMethod("java.util.TimeZone", "getDefault()"); 
 //timezone

dst=callJavaMethod(tz, "java.util.TimeZone", "inDaylightTime(java.util.Date)", callJavaConstructor("java.util.Date", "Date()")) 
by anuraag
28 May 2019 23:54
Forum: User Help / Bug Reports
Topic: Round number
Replies: 4
Views: 181

Re: Round number

Desmanto wrote:
22 Jan 2019 18:01
Common division will always result in integer. You must have one of the number involved in division to have decimal.
So add decimal in one of number
So

Code: Select all

tmr= 500/180.
by anuraag
28 May 2019 03:28
Forum: Feature Requests
Topic: Set file name in action Download URL
Replies: 1
Views: 95

Set file name in action Download URL

Hi Martin
Can you please add an optional field in action Download URL to set file name?

Thanks
by anuraag
25 May 2019 23:21
Forum: User Help / Bug Reports
Topic: Howto close browser
Replies: 7
Views: 263

Re: Howto close browser

Depends on your root status, you can change the default keyboard to Automagic keyboard, do the control UI and switch back to default keyboard. it can also be done without root using Set System Setting and adb permission. I also saw another threadeearlier today about the text selection shortcut (shi...
by anuraag
25 May 2019 11:35
Forum: User Help / Bug Reports
Topic: globale Variablen auflisten und anzeigen lassen ?
Replies: 7
Views: 278

Re: globale Variablen auflisten und anzeigen lassen ?

This should work

Code: Select all

variables=newList();
for (i in getVariableNames())
{
	if (startsWith(i, "global_"))
	{
		addElement(variables, substring(i, indexOf(i, "_")+1))
	}
}
You should create a single global variable and create map entry for all address.
by anuraag
23 May 2019 00:08
Forum: User Help / Bug Reports
Topic: Backup to FTP, only syncing new files
Replies: 3
Views: 154

Re: Backup to FTP, only syncing new files

You can use Init Variable File List with option Include changes only enabled. It will give you list of new files since last execution of action. Then set Local files at action FTP Upload Files to {files,listformat,comma} . Alternatively you can run init on both device and FTP folder using Init Varia...
by anuraag
22 May 2019 11:11
Forum: User Help / Bug Reports
Topic: Maps and JSON tofile fromfile
Replies: 3
Views: 156

Re: Maps and JSON tofile fromfile

There are 2 ways 1st method Create a list and store cMap in it. cList=newList(); cMap=newMapFromValues("triggertime",triggertime,"name","Martin","phone","+486145558","info","Info"); addElement(cList, cMap); cMap1=newMapFromValues("triggertime",triggertime,"name","Desmanto","phone","+626163451","info...
by anuraag
22 May 2019 00:47
Forum: Flow Sharing Area
Topic: Brauche ein Zeit Flow
Replies: 5
Views: 248

Re: Brauche ein Zeit Flow

Like this?
http://automagic4android.com/flow.php?i ... 6566a71ad2

If you press
yes or back button or not reacted within timeout >> flow will continue to wait 3min before executing actions.
No >> flow stops
by anuraag
22 May 2019 00:20
Forum: Flow Sharing Area
Topic: Brauche ein Zeit Flow
Replies: 5
Views: 248

Re: Brauche ein Zeit Flow

Google translated text making confusion to me. So you have to wait little for others to answer.