Login About Gallery
Add Transaction
DICTIONARY
SCRIPTING
‎Get ‎Value ‎for ‎url ‎in ‎Dictionary
SCRIPTING
‎If ‎dict_url ‎does not have any value
SCRIPTING
‎Show alert ‎Error
Title
‎Error
Show Cancel Button
SCRIPTING
‎Exit shortcut with ‎Result
SCRIPTING
‎Otherwise
SCRIPTING
‎End If
SCRIPTING
‎Get ‎Value ‎for ‎personal_token ‎in ‎Dictionary
SCRIPTING
‎If ‎dict_token ‎does not have any value
SCRIPTING
‎Show alert ‎Error
Title
‎Error
Show Cancel Button
SCRIPTING
‎Exit shortcut with ‎Result
SCRIPTING
‎Otherwise
SCRIPTING
‎End If
VARIABLES
‎Set variable ‎config ‎to ‎Dictionary
NUMBER
‎0
VARIABLES
‎Set variable ‎budget_id ‎to ‎Number
TEXT
‎(none)
TEXT
‎asset
SCRIPTING
‎Set ‎accounts_type ‎to ‎accounts_type ‎in ‎Dictionary
SHORTCUTS
‎Run ‎List Accounts
Input
‎Dictionary
Show While Running
LIST
SCRIPTING
‎Choose from ‎List
Prompt
‎Transaction Type
Select Multiple
TEXT
‎Change ‎Chosen Item ‎to ‎lowercase
VARIABLES
‎Set variable ‎transaction_type ‎to ‎Updated Text
SCRIPTING
‎If ‎transaction_type ‎is ‎deposit
TEXT
‎revenue
SCRIPTING
‎Set ‎accounts_type ‎to ‎accounts_type ‎in ‎Dictionary
SHORTCUTS
‎Run ‎List Accounts
Input
‎Dictionary
Show While Running
VARIABLES
‎Set variable ‎source_account ‎to ‎Revenue Accounts
VARIABLES
‎Set variable ‎dest_account ‎to ‎Asset Accounts
SCRIPTING
‎Otherwise
VARIABLES
‎Set variable ‎source_account ‎to ‎Asset Accounts
SCRIPTING
‎If ‎transaction_type ‎is ‎withdrawal
TEXT
‎expense
SCRIPTING
‎Set ‎accounts_type ‎to ‎accounts_type ‎in ‎Dictionary
SHORTCUTS
‎Run ‎List Accounts
Input
‎Dictionary
Show While Running
VARIABLES
‎Set variable ‎dest_account ‎to ‎Expense Account
SCRIPTING
‎Otherwise
VARIABLES
‎Set variable ‎dest_account ‎to ‎Asset Accounts
SCRIPTING
‎End If
SCRIPTING
‎End If
SCRIPTING
‎Choose from ‎source_account
Prompt
‎Source Account
Select Multiple
SCRIPTING
‎Choose from ‎dest_account
Prompt
‎Destination Account
Select Multiple
SCRIPTING
‎If ‎transaction_type ‎is ‎withdrawal
SHORTCUTS
‎Run ‎List Budgets
Input
‎config
Show While Running
VARIABLES
‎Set variable ‎budgets ‎to ‎res_budgets
SCRIPTING
‎If ‎budgets ‎has any value
VARIABLES
‎Set variable ‎budgets_list ‎to ‎(none)
VARIABLES
‎Add ‎budgets ‎to ‎budgets_list
SCRIPTING
‎Choose from ‎budgets_list
Prompt
‎Budget
Select Multiple
SCRIPTING
‎If ‎budget ‎is not ‎(none)
SCRIPTING
‎Get ‎Value ‎for ‎budget ‎in ‎budgets
VARIABLES
‎Set variable ‎budget_id ‎to ‎Dictionary Value
SCRIPTING
‎End If
SCRIPTING
‎End If
SCRIPTING
‎End If
SCRIPTING
‎Ask ‎Description
Input Type
‎Text
Default Answer
‎Text
SCRIPTING
‎Ask ‎Amount
Input Type
‎Number
Default Answer
‎0
SHORTCUTS
‎Run ‎List Categories
Input
‎config
Show While Running
VARIABLES
‎Set variable ‎categories ‎to ‎(none)
VARIABLES
‎Add ‎res_categories ‎to ‎categories
SCRIPTING
‎Choose from ‎categories
Prompt
‎Category
Select Multiple
DICTIONARY
VARIABLES
‎Set variable ‎payload ‎to ‎Dictionary
SCRIPTING
‎If ‎budget_id ‎is greater than ‎0
SCRIPTING
‎Set ‎budget_id ‎to ‎budget_id ‎in ‎Dictionary
VARIABLES
‎Set variable ‎payload ‎to ‎Dictionary
SCRIPTING
‎End If
SCRIPTING
‎If ‎category_text ‎is ‎(none)
SCRIPTING
‎Otherwise
VARIABLES
‎Set variable ‎category ‎to ‎category_text
SCRIPTING
‎End If
SCRIPTING
‎If ‎source_acc_text ‎is ‎none
SCRIPTING
‎Otherwise
TEXT
‎Match ‎^(.+)( \() ‎in ‎source_acc_text
Case Sensitive
SCRIPTING
‎If ‎Matches ‎has any value
TEXT
‎Get ‎Group At Index ‎1 ‎in ‎Matches
VARIABLES
‎Set variable ‎source_acc ‎to ‎Text
SCRIPTING
‎Otherwise
VARIABLES
‎Set variable ‎source_acc ‎to ‎source_acc_text
SCRIPTING
‎End If
SCRIPTING
‎End If
SCRIPTING
‎If ‎dest_acc_text ‎is ‎none
SCRIPTING
‎Otherwise
TEXT
‎Match ‎^(.+)( \() ‎in ‎dest_acc_text
Case Sensitive
SCRIPTING
‎If ‎Matches ‎has any value
TEXT
‎Get ‎Group At Index ‎1 ‎in ‎Matches
VARIABLES
‎Set variable ‎dest_acc ‎to ‎Text
SCRIPTING
‎Otherwise
VARIABLES
‎Set variable ‎dest_acc ‎to ‎dest_acc_text
SCRIPTING
‎End If
SCRIPTING
‎End If
SCRIPTING
‎If ‎category ‎has any value
SCRIPTING
‎Set ‎category_name ‎to ‎category ‎in ‎Dictionary
VARIABLES
‎Set variable ‎payload ‎to ‎Dictionary
SCRIPTING
‎Otherwise
SCRIPTING
‎End If
SCRIPTING
‎If ‎source_acc ‎has any value
SCRIPTING
‎Set ‎source_name ‎to ‎source_acc ‎in ‎Dictionary
VARIABLES
‎Set variable ‎payload ‎to ‎Dictionary

Showcuts

Magic Vars

Screenshot

Submitted Anonymously over a year ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0

32 more actions